summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4973708)
raw | patch | inline | side by side (parent: 4973708)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 24 Mar 2003 22:05:26 +0000 (22:05 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 24 Mar 2003 22:05:26 +0000 (22:05 +0000) |
src/rrd_not_thread_safe.c | patch | blob | history |
index 17ab404d5de2038ef123979e6a6cbac406b0264e..13160e69cea2fc835ec6faffcd8f38c068bcd673 100644 (file)
return &global_ctx;
}
+/* how ugly that is!!! - make sure strerror is what it should be. It
+ might be redefined to help in keeping other modules thread safe by
+ silently turning misplaced strerror into rrd_strerror, but here
+ this turns recursive! */
+#undef strerror
const char *rrd_strerror(int err) {
return strerror(err);
}