projects
/
pspp
/ 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 b2dc0aec7a1dd2818c4d095998fa0f1eb4f40918..8dd49e141ad2b5afdf831c50c42aea61f2286111 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 28924b1752b9e96b729643f61127b4efb88d21d6..e3b5d0cfda00aa0b3b9472b7fced915b68cb4d33 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