From: Ben Gras Date: Fri, 20 Jan 2006 12:44:16 +0000 (+0000) Subject: Re-enable fchdir() X-Git-Tag: v3.1.2a~422 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/addsub.png?a=commitdiff_plain;h=36f91229ea93c4b8fc24ba288b2259665421a72e;p=minix.git Re-enable fchdir() --- diff --git a/lib/posix/_chdir.c b/lib/posix/_chdir.c index 9bcbeed70..1ead50669 100755 --- a/lib/posix/_chdir.c +++ b/lib/posix/_chdir.c @@ -1,5 +1,6 @@ #include #define chdir _chdir +#define fchdir _fchdir #include PUBLIC int chdir(name) @@ -11,7 +12,6 @@ _CONST char *name; return(_syscall(FS, CHDIR, &m)); } -#if 0 PUBLIC int fchdir(fd) int fd; { @@ -20,5 +20,3 @@ int fd; m.m1_i1 = fd; return(_syscall(FS, FCHDIR, &m)); } -#endif -