diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-13 14:58:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-13 14:58:26 +0000 |
commit | a3f4b50b6ae0c5321a50077decc078d31124e2f2 (patch) | |
tree | 7230a7293d3abe217b0270efbfe52f4ec9ce1df1 /string | |
parent | 550be6cdb0585fb7c5ec32d583b40ab6ef5daed1 (diff) | |
download | glibc-a3f4b50b6ae0c5321a50077decc078d31124e2f2.tar glibc-a3f4b50b6ae0c5321a50077decc078d31124e2f2.tar.gz glibc-a3f4b50b6ae0c5321a50077decc078d31124e2f2.tar.bz2 glibc-a3f4b50b6ae0c5321a50077decc078d31124e2f2.zip |
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 'string')
-rw-r--r-- | string/stratcliff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/string/stratcliff.c b/string/stratcliff.c index ae1b7ae0ca..d8b0bd1b04 100644 --- a/string/stratcliff.c +++ b/string/stratcliff.c @@ -43,9 +43,9 @@ main (int argc, char *argv[]) int result = 0; adr = (char *) mmap (NULL, 3 * size, PROT_READ|PROT_WRITE, - MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); + MAP_PRIVATE|MAP_ANON, -1, 0); dest = (char *) mmap (NULL, 3*size, PROT_READ|PROT_WRITE, - MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); + MAP_PRIVATE|MAP_ANON, -1, 0); if (adr == MAP_FAILED || dest == MAP_FAILED) { if (errno == ENOSYS) |