summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-10-21 07:59:09 +0000
committerJim Meyering <jim@meyering.net>2001-10-21 07:59:09 +0000
commitb96446bf599d8abf33b5daf98b2b0307bc86b8a8 (patch)
tree6d7312170282553d199f5305f49fc129d1ab069a /lib
parent7d6185f0f51bbd09c29e121d25841a573e776e06 (diff)
downloadcoreutils-b96446bf599d8abf33b5daf98b2b0307bc86b8a8.tar.xz
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 7f172ac78..889a2a2ab 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,15 @@
+2001-10-20 Paul Eggert <eggert@twinsun.com>
+
+ * error.c (strerror_r): Do not declare unless !_LIBC.
+ Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P.
+ Use strerror_r that is only a macro, even if it is not a function.
+ (strerror): Check for HAVE_DECL_STRERROR before declaring.
+ (private_strerror): Use prototypes, not old-style function definition.
+ (print_errno_message): New function.
+ Support the POSIX 'int'-flavored strerror_r, as well as the traditional
+ char*-flavored one.
+ (error_tail, error, error_at_line): Use it.
+
2001-10-11 Jim Meyering <meyering@lucent.com>
* argmatch.c (argmatch_invalid): Use quotearg_n_style (0, ...