projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74502ce
)
Apply a fix from Eric Blake that already went into autoconf.
author
Bruno Haible
<bruno@clisp.org>
Mon, 24 Apr 2006 11:30:53 +0000
(11:30 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Mon, 24 Apr 2006 11:30:53 +0000
(11:30 +0000)
m4/ChangeLog
patch
|
blob
|
history
m4/strerror_r.m4
patch
|
blob
|
history
diff --git
a/m4/ChangeLog
b/m4/ChangeLog
index
b2dc0ae
..
8dd49e1
100644
(file)
--- a/
m4/ChangeLog
+++ b/
m4/ChangeLog
@@
-1,3
+1,7
@@
+2006-03-04 Eric Blake <ebb9@byu.net>
+
+ * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
+
2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
* fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
diff --git
a/m4/strerror_r.m4
b/m4/strerror_r.m4
index
28924b1
..
e3b5d0c
100644
(file)
--- a/
m4/strerror_r.m4
+++ b/
m4/strerror_r.m4
@@
-25,6
+25,7
@@
AC_CACHE_CHECK([whether strerror_r returns char *],
char buf[100];
char x = *strerror_r (0, buf, sizeof buf);
char *p = strerror_r (0, buf, sizeof buf);
+ return !p || x;
]])],
ac_cv_func_strerror_r_char_p=yes)
else