X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=toolchain%2FuClibc%2Fpatches%2F160-glob_use_getdents64.patch;fp=toolchain%2FuClibc%2Fpatches%2F160-glob_use_getdents64.patch;h=f6e3e659207cff1418beb42d30c475e1a679d170;hb=ee50693ca9f3b5352007574570969b93f8cafede;hp=0000000000000000000000000000000000000000;hpb=198d19ade5a5af69af84840488413be51213b394;p=openwrt-10.03%2F.git diff --git a/toolchain/uClibc/patches/160-glob_use_getdents64.patch b/toolchain/uClibc/patches/160-glob_use_getdents64.patch new file mode 100644 index 000000000..f6e3e6592 --- /dev/null +++ b/toolchain/uClibc/patches/160-glob_use_getdents64.patch @@ -0,0 +1,12 @@ +diff -ur uClibc.old/libc/misc/glob/glob.c uClibc.dev/libc/misc/glob/glob.c +--- uClibc.old/libc/misc/glob/glob.c 2005-01-12 08:59:21.000000000 +0100 ++++ uClibc.dev/libc/misc/glob/glob.c 2006-10-22 22:30:29.000000000 +0200 +@@ -420,7 +420,7 @@ + } + else + { +- struct dirent *d = readdir ((DIR *) stream); ++ struct dirent64 *d = readdir64 ((DIR *) stream); + if (d == NULL) + break; + if (! (d->d_ino != 0))