summaryrefslogtreecommitdiffstats
path: root/srUtils.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-30 13:54:20 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-30 13:54:20 +0000
commit4becae174a3301eac5955f7900d3eef66728e440 (patch)
tree556f52823f113050a8952717fb32e79a2022e589 /srUtils.h
parent57cf2138522f3dacf26ea30c6f32a800def70209 (diff)
downloadrsyslog-4becae174a3301eac5955f7900d3eef66728e440.tar.gz
rsyslog-4becae174a3301eac5955f7900d3eef66728e440.tar.xz
rsyslog-4becae174a3301eac5955f7900d3eef66728e440.zip
- fixed a bug that could cause invalid string handling via strerror_r
varmojfekoj provided the patch - many thanks! - adopted varmojfekoj's patch to v3, some more sterror_r's ;)
Diffstat (limited to 'srUtils.h')
-rwxr-xr-xsrUtils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/srUtils.h b/srUtils.h
index 8436cf0b..6b4bb1bb 100755
--- a/srUtils.h
+++ b/srUtils.h
@@ -70,6 +70,7 @@ rsRetVal timeoutComp(struct timespec *pt, long iTimeout);
long timeoutVal(struct timespec *pt);
void mutexCancelCleanup(void *arg);
void srSleep(int iSeconds, int iuSeconds);
+char *rs_strerror_r(int errnum, char *buf, size_t buflen);
/* mutex operations */
/* some macros to cancel-safe lock a mutex (it will automatically be released