Sync up error.c with gnulib
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 10 Jul 2014 08:54:30 +0000 (14:24 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 10 Jul 2014 08:54:30 +0000 (14:24 +0530)
commit888c679ba406e89d86bdfbde033e307f5af5198f
treea2228e4bcff4c1a84ca3822f1d7edfc62c6b11a8
parent180e0e4b29e4950cd411144c7b9dab1f850853d9
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
ChangeLog
misc/error.c