summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bed830e)
raw | patch | inline | side by side (parent: bed830e)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 9 Jul 2009 20:14:29 +0000 (20:14 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 9 Jul 2009 20:14:29 +0000 (20:14 +0000) |
doc/Makefile.am | patch | blob | history | |
src/rrd_thread_safe.c | patch | blob | history |
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 617beb3625f3a71b7bf4b4761005a4668099ea1a..4af8d7b02a15a67181e9dba64eaf9cc2490bba9f 100644 (file)
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
## Process this file with automake to produce Makefile.in
-SUFFIXES = .pod .1 .man .html .txt .pm .pdf .inc
+SUFFIXES = .pod .pl .1 .man .html .txt .pm .pdf .inc
-#AUTOMAKE_OPTIONS = foreign
+AUTOMAKE_OPTIONS = foreign
#ACLOCAL_M4 = $(top_srcdir)/config/aclocal.m4
diff --git a/src/rrd_thread_safe.c b/src/rrd_thread_safe.c
index 6e30115bf7ea61a30a66435015f33adacf7269b3..e1e3cbeaa1b660b3b698de0f504738c4ec961683 100644 (file)
--- a/src/rrd_thread_safe.c
+++ b/src/rrd_thread_safe.c
/* Even though POSIX/XSI requires "strerror_r" to return an "int", some
* systems (e.g. the GNU libc) return a "char *" _and_ ignore the second
* argument ... -tokkee */
-#if STRERROR_R_CHAR_P
+#ifdef STRERROR_R_CHAR_P
ret = strerror_r(err, ctx->lib_errstr, sizeof(ctx->lib_errstr));
if ((! ret) || (*ret == '\0')) {
if (*ctx->lib_errstr != '\0')