aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-13 14:58:26 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-13 14:58:26 +0000
commita3f4b50b6ae0c5321a50077decc078d31124e2f2 (patch)
tree7230a7293d3abe217b0270efbfe52f4ec9ce1df1 /stdlib
parent550be6cdb0585fb7c5ec32d583b40ab6ef5daed1 (diff)
downloadglibc-a3f4b50b6ae0c5321a50077decc078d31124e2f2.zip
glibc-a3f4b50b6ae0c5321a50077decc078d31124e2f2.tar.gz
glibc-a3f4b50b6ae0c5321a50077decc078d31124e2f2.tar.bz2
Update.
* stdlib/test-canon.c: Define PATH_MAX if the system does not. * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS. Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/test-canon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/test-canon.c b/stdlib/test-canon.c
index d06ec4d..c8be8d2 100644
--- a/stdlib/test-canon.c
+++ b/stdlib/test-canon.c
@@ -28,6 +28,9 @@
#include <unistd.h>
#include <sys/param.h>
+#ifndef PATH_MAX
+# define PATH_MAX 4096
+#endif
static char cwd[PATH_MAX];
static size_t cwd_len;