1 --- busybox-1.4.0/libbb/vdprintf.c Fri Jan 19 22:23:06 2007
2 +++ busybox-1.4.0-syslogd-n/libbb/vdprintf.c Tue Jan 23 21:50:54 2007
4 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
13 #if defined(__GLIBC__) && __GLIBC__ < 2
14 int vdprintf(int d, const char *format, va_list ap)
15 --- busybox-1.4.0/libbb/xfuncs.c Fri Jan 19 22:23:06 2007
16 +++ busybox-1.4.0-syslogd-n/libbb/xfuncs.c Tue Jan 23 21:47:27 2007
30 - return memcpy(t,s,n);
31 + return memcpy(t, s, n);
34 // Die if we can't open a file and return a FILE * to it.
35 --- busybox-1.4.0/libbb/xreadlink.c Fri Jan 19 22:23:06 2007
36 +++ busybox-1.4.0-syslogd-n/libbb/xreadlink.c Tue Jan 23 22:35:45 2007
39 char *xmalloc_realpath(const char *path)
42 +#if defined(__GLIBC__) && !defined(__UCLIBC__)
43 /* glibc provides a non-standard extension */
44 return realpath(path, NULL);
46 --- busybox-1.4.0/sysklogd/syslogd.c Fri Jan 19 22:23:02 2007
47 +++ busybox-1.4.0-syslogd-n/sysklogd/syslogd.c Wed Jan 24 21:52:07 2007
49 //if (option_mask32 & OPT_locallog) // -L
51 #if ENABLE_FEATURE_IPC_SYSLOG
52 - if ((option_mask32 & OPT_circularlog) && opt_C) // -C
54 shm_size = xatoul_range(opt_C, 4, INT_MAX/1024) * 1024;
59 vfork_daemon_rexec(0, 1, argc, argv, "-n");