[Glibc-bsd-commits] r2024 - trunk/glibc-ports/kfreebsd
ps-guest at alioth.debian.org
ps-guest at alioth.debian.org
Thu Nov 15 14:10:13 UTC 2007
Author: ps-guest
Date: 2007-11-15 14:10:13 +0000 (Thu, 15 Nov 2007)
New Revision: 2024
Modified:
trunk/glibc-ports/kfreebsd/getcwd.c
Log:
* bug finally fixed in upstream glibc (already in 2.7),
no need to workaround it in our sysdeps
Modified: trunk/glibc-ports/kfreebsd/getcwd.c
===================================================================
--- trunk/glibc-ports/kfreebsd/getcwd.c 2007-11-12 22:13:05 UTC (rev 2023)
+++ trunk/glibc-ports/kfreebsd/getcwd.c 2007-11-15 14:10:13 UTC (rev 2024)
@@ -78,18 +78,12 @@
memcpy (buf, tmpbuf, len);
return buf;
}
-#if IS_IN_rtld
- return NULL;
-#else
return generic_getcwd (buf, size);
-#endif
}
weak_alias (__getcwd, getcwd)
-#if !IS_IN_rtld
/* Get the code for the generic version. */
#define GETCWD_RETURN_TYPE static char * internal_function
#define __getcwd generic_getcwd
#include <sysdeps/posix/getcwd.c>
-#endif
More information about the Glibc-bsd-commits
mailing list