projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Apply a fix from Eric Blake that already went into autoconf.
[gnulib.git]
/
m4
/
strerror_r.m4
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