0b6b95f0c9
There were 3 major revisions inbetween, so I honestly can't tell what changed. (would be good to libtoolize this one day, but for now I've done only minimal changes to the freebsd5 configuration)
47 lines
1.7 KiB
Text
47 lines
1.7 KiB
Text
$NetBSD: patch-ah,v 1.2 2006/05/27 12:38:27 drochner Exp $
|
|
|
|
--- rootd/src/rootd.cxx.orig 2006-05-26 19:22:55.000000000 +0200
|
|
+++ rootd/src/rootd.cxx
|
|
@@ -242,7 +242,7 @@ extern "C" int fstatfs(int file_descript
|
|
extern "C" int fstatfs(int file_descriptor, struct statfs *buffer);
|
|
#elif defined(linux) || defined(__hpux) || defined(cygwingcc)
|
|
#include <sys/vfs.h>
|
|
-#elif defined(__FreeBSD__) || defined(__OpenBSD__)
|
|
+#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
|
|
#include <sys/param.h>
|
|
#include <sys/mount.h>
|
|
#else
|
|
@@ -251,7 +251,7 @@ extern "C" int fstatfs(int file_descript
|
|
|
|
#if defined(linux) || defined(__hpux) || defined(_AIX) || defined(__alpha) || \
|
|
defined(__sun) || defined(__sgi) || defined(__FreeBSD__) || \
|
|
- defined(__APPLE__) || defined(cygwingcc) || defined(__OpenBSD__)
|
|
+ defined(__APPLE__) || defined(cygwingcc) || defined(__OpenBSD__) || defined(__NetBSD__)
|
|
#define HAVE_MMAP
|
|
#endif
|
|
|
|
@@ -293,7 +293,7 @@ static int fcntl_lockf(int fd, int op, o
|
|
|
|
#if defined(linux) || defined(__sun) || defined(__sgi) || \
|
|
defined(_AIX) || defined(__FreeBSD__) || defined(__APPLE__) || \
|
|
- defined(__MACH__) || defined(cygwingcc) || defined(__OpenBSD__)
|
|
+ defined(__MACH__) || defined(cygwingcc) || defined(__OpenBSD__) || defined(__NetBSD__)
|
|
#include <grp.h>
|
|
#include <sys/types.h>
|
|
#include <signal.h>
|
|
@@ -1369,6 +1369,7 @@ void RootdPutFile(const char *msg)
|
|
}
|
|
}
|
|
|
|
+#if 0
|
|
// check file system space
|
|
if (strcmp(gFile, "/dev/null")) {
|
|
struct statfs statfsbuf;
|
|
@@ -1386,6 +1387,7 @@ void RootdPutFile(const char *msg)
|
|
}
|
|
}
|
|
}
|
|
+#endif
|
|
|
|
// seek to restartat position
|
|
if (restartat) {
|