BIND8: need an NT tester to tell me if this patch is good

Paul A Vixie vixie at mibh.net
Tue May 9 07:45:19 UTC 2000


Index: CHANGES
===================================================================
RCS file: /proj/cvs/isc/bind/src/CHANGES,v
retrieving revision 8.618
diff -u -r8.618 CHANGES
--- CHANGES     2000/05/09 07:38:37     8.618
+++ CHANGES     2000/05/09 07:44:18
@@ -1,3 +1,5 @@
+1006.  [port]          Windows/NT does not have fchown().
+
 1005.  [bug]           RD was sometimes left set, inappropriately.
 
 1004.  [bug]           cached NXT's were corrupted.
Index: port/winnt/include/unistd.h
===================================================================
RCS file: /proj/cvs/isc/bind/src/port/winnt/include/unistd.h,v
retrieving revision 1.1
diff -u -r1.1 unistd.h
--- port/winnt/include/unistd.h 1999/08/09 01:24:04     1.1
+++ port/winnt/include/unistd.h 2000/05/09 07:43:52
@@ -18,6 +18,7 @@
 
 /* Map UNIX functions onto MSVC ANSI functions */
 /* definitions are in libport.lib */
+int fchown(int, uid_t, gid_t);
 int chown(const char *, uid_t, gid_t);
 int pipe(int[2]);
 int fsync(int);
@@ -40,4 +41,4 @@
 
 void unistdInit();
 void unistdCleanup();
-#endif
\ No newline at end of file
+#endif
Index: port/winnt/libbind/unistd.c
===================================================================
RCS file: /proj/cvs/isc/bind/src/port/winnt/libbind/unistd.c,v
retrieving revision 1.2
diff -u -r1.2 unistd.c
--- port/winnt/libbind/unistd.c 1999/12/21 22:11:11     1.2
+++ port/winnt/libbind/unistd.c 2000/05/09 07:42:56
@@ -352,6 +352,11 @@
        }
 }
 
+int fchown(int fd, uid_t owner, gid_t group)
+{
+       /* Do nothing, return all OK. */
+       return 0;
+}
 
 int chown(const char *path, uid_t owner, gid_t group)
 {



More information about the bind-workers mailing list