From 36f91229ea93c4b8fc24ba288b2259665421a72e Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 20 Jan 2006 12:44:16 +0000 Subject: [PATCH] Re-enable fchdir() --- lib/posix/_chdir.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 - -- 2.44.0