diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-22 20:33:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-22 20:33:36 +0000 |
commit | 80ad642542d125ce91dafccebb246c4bce3f821f (patch) | |
tree | 49ff0ef13c3d25f7f4e692167f23ca23c374f6c7 /toolchain | |
parent | 9de73088f930d8961c6cf09052a6f10bd1fa7662 (diff) | |
download | master-187ad058-80ad642542d125ce91dafccebb246c4bce3f821f.tar.gz master-187ad058-80ad642542d125ce91dafccebb246c4bce3f821f.tar.bz2 master-187ad058-80ad642542d125ce91dafccebb246c4bce3f821f.zip |
use getdents64 in the uClibc glob function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5256 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/uClibc/patches/160-glob_use_getdents64.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 0000000000..f6e3e65920 --- /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)) |