]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Document that mmap() returns MAP_FAILED on error, as per the POSIX standard.
authorFabrice Bauzac <fbauzac@amadeus.com>
Fri, 25 Oct 2013 08:21:58 +0000 (13:51 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 25 Oct 2013 08:21:58 +0000 (13:51 +0530)
ChangeLog
NEWS
manual/llio.texi

index 05a8f05db005db75ab95744aac21d6f5672f41c5..f37d84ea88333844d1712c132fcabfdc3b742749 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
+
+       [BZ #16074]
+       * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
+       MAP_FAILED on error.
+
 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        [BZ #16072]
diff --git a/NEWS b/NEWS
index 9199b90d13fafaa6735dce7b6309866c8566b0ae..f228878903638ee2d0cac8c80c92bdb98cbc32f9 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -15,7 +15,8 @@ Version 2.19
   15734, 15735, 15736, 15748, 15749, 15754, 15760, 15764, 15797, 15825,
   15844, 15847, 15849, 15855, 15856, 15857, 15859, 15867, 15886, 15887,
   15890, 15892, 15893, 15895, 15897, 15905, 15909, 15919, 15921, 15923,
-  15939, 15948, 15963, 15966, 15988, 16032, 16034, 16036, 16041, 16072.
+  15939, 15948, 15963, 15966, 15988, 16032, 16034, 16036, 16041, 16072,
+  16074.
 
 * CVE-2012-4412 The strcoll implementation caches indices and rules for
   large collation sequences to optimize multiple passes.  This cache
index b129cf40bd7c4593a5b83a98681d4c09bb7e1a6b..dd0eaa3cb99b00fcb2c2851640b90c9de47fc6af 100644 (file)
@@ -1226,8 +1226,8 @@ as the included @code{malloc} automatically uses @code{mmap} where appropriate.
 
 @end vtable
 
-@code{mmap} returns the address of the new mapping, or @math{-1} for an
-error.
+@code{mmap} returns the address of the new mapping, or
+@code{MAP_FAILED} for an error.
 
 Possible errors include: