This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.16-ports-merge-717-g877f2d8
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 19 Nov 2012 23:36:43 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.16-ports-merge-717-g877f2d8
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 877f2d8e8def5a278e4b9f4e4dc378f7f8a653b8 (commit)
from 6eb43a28afc338baf1aceef7bf8d3174daf9d084 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=877f2d8e8def5a278e4b9f4e4dc378f7f8a653b8
commit 877f2d8e8def5a278e4b9f4e4dc378f7f8a653b8
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon Nov 19 23:36:20 2012 +0000
Fix _POSIX_TZNAME_MAX for older POSIX (bug 14856).
diff --git a/ChangeLog b/ChangeLog
index 5ab7adb..f2e166b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2012-11-19 Joseph Myers <joseph@codesourcery.com>
+ [BZ #14856]
+ * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
+ Define to 3.
+
* conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
[POSIX] (EADDRNOTAVAIL): Likewise.
[POSIX] (EAFNOSUPPORT): Likewise.
diff --git a/NEWS b/NEWS
index 23f1d83..f78758a 100644
--- a/NEWS
+++ b/NEWS
@@ -21,7 +21,7 @@ Version 2.17
14638, 14645, 14648, 14652, 14660, 14661, 14669, 14672, 14683, 14694,
14716, 14719, 14743, 14767, 14783, 14784, 14785, 14793, 14796, 14797,
14801, 14805, 14807, 14809, 14811, 14815, 14821, 14824, 14828, 14831,
- 14835, 14838.
+ 14835, 14838, 14856.
* Port to ARM AArch64 contributed by Linaro.
diff --git a/posix/bits/posix1_lim.h b/posix/bits/posix1_lim.h
index 5800ef5..e7587ed 100644
--- a/posix/bits/posix1_lim.h
+++ b/posix/bits/posix1_lim.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1993,96,98,2000-2003,2004 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -134,7 +134,11 @@
#define _POSIX_TTY_NAME_MAX 9
/* Maximum length of a timezone name (element of `tzname'). */
-#define _POSIX_TZNAME_MAX 6
+#ifdef __USE_XOPEN2K
+# define _POSIX_TZNAME_MAX 6
+#else
+# define _POSIX_TZNAME_MAX 3
+#endif
#if !defined __USE_XOPEN2K || defined __USE_GNU
/* Maximum number of connections that can be queued on a socket. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
NEWS | 2 +-
posix/bits/posix1_lim.h | 8 ++++++--
3 files changed, 11 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources