fix syslogd output to /dev/console (patch from #1170)
[openwrt.git] / package / busybox / patches / 210-sizeof_long_check.patch
1 diff -ur busybox.old/e2fsprogs/ext2fs/unix_io.c busybox.dev/e2fsprogs/ext2fs/unix_io.c
2 --- busybox.old/e2fsprogs/ext2fs/unix_io.c 2006-12-27 05:55:58.000000000 +0100
3 +++ busybox.dev/e2fsprogs/ext2fs/unix_io.c 2007-01-07 16:16:52.000000000 +0100
4 @@ -419,7 +419,7 @@
5
6 #ifdef __linux__
7 #undef RLIM_INFINITY
8 -#if (defined(__alpha__) || ((defined(__sparc__) || defined(__mips__)) && (SIZEOF_LONG == 4)))
9 +#if (defined(__alpha__) || defined(__sparc__) || defined(__mips__))
10 #define RLIM_INFINITY ((unsigned long)(~0UL>>1))
11 #else
12 #define RLIM_INFINITY (~0UL)
This page took 0.049259 seconds and 5 git commands to generate.