aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/100-syslogd_segfault_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/patches/100-syslogd_segfault_fix.patch')
-rw-r--r--package/busybox/patches/100-syslogd_segfault_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/patches/100-syslogd_segfault_fix.patch b/package/busybox/patches/100-syslogd_segfault_fix.patch
new file mode 100644
index 0000000000..80425e32de
--- /dev/null
+++ b/package/busybox/patches/100-syslogd_segfault_fix.patch
@@ -0,0 +1,11 @@
+--- busybox-1.4.0/libbb/xreadlink.c Fri Jan 19 22:23:06 2007
++++ busybox-1.4.0-syslogd-n/libbb/xreadlink.c Tue Jan 23 22:35:45 2007
+@@ -36,7 +36,7 @@
+
+ char *xmalloc_realpath(const char *path)
+ {
+-#ifdef __GLIBC__
++#if defined(__GLIBC__) && !defined(__UCLIBC__)
+ /* glibc provides a non-standard extension */
+ return realpath(path, NULL);
+ #else