about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-11 09:01:02 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-11 09:01:02 +0530
commitf70bfe80e25122d88acf42c88ffe4133a8b93081 (patch)
tree4b22172c4062cdb1952a62a254b9866fe70ff457
parent188f0adf708c67e5fb9796f2fcd0d818eefac882 (diff)
downloadglibc-f70bfe80e25122d88acf42c88ffe4133a8b93081.tar.gz
glibc-f70bfe80e25122d88acf42c88ffe4133a8b93081.tar.xz
glibc-f70bfe80e25122d88acf42c88ffe4133a8b93081.zip
Mention if terminating null is included in NAME_MAX/PATH_MAX
Fixes BZ #14872.
-rw-r--r--ChangeLog6
-rw-r--r--NEWS4
-rw-r--r--manual/conf.texi6
3 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index dc7d0456e5..9710e09b9e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	[BZ #14872]
+	* manual/conf.texi (Limits on File System Capacity): Mention if
+	terminating null is included in the max size.
+
 2012-12-10  Andreas Jaeger  <aj@suse.de>
 
 	* po/cs.po: Update from translation team.
diff --git a/NEWS b/NEWS
index bbd7985fd9..9b2e65170c 100644
--- a/NEWS
+++ b/NEWS
@@ -22,8 +22,8 @@ Version 2.17
   14660, 14661, 14669, 14672, 14683, 14694, 14716, 14719, 14743, 14767,
   14783, 14784, 14785, 14793, 14796, 14797, 14801, 14803, 14805, 14807,
   14811, 14815, 14821, 14822, 14824, 14828, 14831, 14833, 14835, 14838,
-  14856, 14863, 14865, 14866, 14868, 14869, 14871, 14879, 14889, 14893,
-  14898, 14914.
+  14856, 14863, 14865, 14866, 14868, 14869, 14871, 14872, 14879, 14889,
+  14893, 14898, 14914.
 
 * CVE-2011-4609 svc_run() produces high cpu usage when accept fails with
   EMFILE has been fixed (Bugzilla #14889).
diff --git a/manual/conf.texi b/manual/conf.texi
index 61dc260317..55ca4d10cd 100644
--- a/manual/conf.texi
+++ b/manual/conf.texi
@@ -1147,14 +1147,16 @@ typed ahead as input.  @xref{I/O Queues}.
 @comment limits.h
 @comment POSIX.1
 @deftypevr Macro int NAME_MAX
-The uniform system limit (if any) for the length of a file name component.
+The uniform system limit (if any) for the length of a file name component, not
+including the terminating null character.
 @end deftypevr
 
 @comment limits.h
 @comment POSIX.1
 @deftypevr Macro int PATH_MAX
 The uniform system limit (if any) for the length of an entire file name (that
-is, the argument given to system calls such as @code{open}).
+is, the argument given to system calls such as @code{open}), including the
+terminating null character.
 @end deftypevr
 
 @cindex limits, pipe buffer size