aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-10 14:24:30 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-10 14:24:30 +0530
commit888c679ba406e89d86bdfbde033e307f5af5198f (patch)
treea2228e4bcff4c1a84ca3822f1d7edfc62c6b11a8 /ChangeLog
parent180e0e4b29e4950cd411144c7b9dab1f850853d9 (diff)
downloadglibc-888c679ba406e89d86bdfbde033e307f5af5198f.tar
glibc-888c679ba406e89d86bdfbde033e307f5af5198f.tar.gz
glibc-888c679ba406e89d86bdfbde033e307f5af5198f.tar.bz2
glibc-888c679ba406e89d86bdfbde033e307f5af5198f.zip
Sync up error.c with gnulib
Summary of changes: - Use of !_LIBC instead of HAVE_CONFIG_H - Code changes in [!_LIBC] that don't affect us - Minor formatting changes - Use __builtin_expect in shared code - Define some macros in [_LIBC] that are used in gnulib but never defined in glibc - Flip macro check for STRERROR_R_CHAR_P so that it does not throw a warning
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7db7bdff0b..a1232aa215 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
+ Sync up with gnulib.
+ * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
+ [!_LIBC && ENABLE_NLS]: Include gettext.h.
+ [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
+ and _GL_ARG_NONNULL.
+ [USE_UNLOCKED_IO]: Include unlocked-io.h.
+ [!_LIBC]: Include code for Windows and Cygwin.
+ [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
+ Include prototype for int strerror_r.
+ [!_LIBC] (is_open): New function.
+ (flush_stdout): New function.
+ (print_errno_message): Use it.
+ (error): Likewise.
+ (error_at_line): Likewise.
+ (error_tail) Add function attribute macros. Use
+ __builtin_expect.
+
* time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
* time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.