openwrt/package/busybox/patches/100-syslogd_segfault_fix.patch
Felix Fietkau 1233a57f74 upgrade busybox to 1.4.0
SVN-Revision: 6204
2007-01-25 19:08:01 +00:00

12 lines
349 B
Diff

--- 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