80425e32de50987e4628a2e070b171f2cbeacdcc
[openwrt.git] / package / busybox / patches / 100-syslogd_segfault_fix.patch
1 --- busybox-1.4.0/libbb/xreadlink.c     Fri Jan 19 22:23:06 2007
2 +++ busybox-1.4.0-syslogd-n/libbb/xreadlink.c   Tue Jan 23 22:35:45 2007
3 @@ -36,7 +36,7 @@
4  
5  char *xmalloc_realpath(const char *path)
6  {
7 -#ifdef __GLIBC__
8 +#if defined(__GLIBC__) && !defined(__UCLIBC__)
9         /* glibc provides a non-standard extension */
10         return realpath(path, NULL);
11  #else