use getdents64 in the uClibc glob function
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 22 Oct 2006 20:33:36 +0000 (20:33 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 22 Oct 2006 20:33:36 +0000 (20:33 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5256 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/uClibc/patches/160-glob_use_getdents64.patch [new file with mode: 0644]

diff --git a/toolchain/uClibc/patches/160-glob_use_getdents64.patch b/toolchain/uClibc/patches/160-glob_use_getdents64.patch
new file mode 100644 (file)
index 0000000..f6e3e65
--- /dev/null
@@ -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))
This page took 0.021534 seconds and 4 git commands to generate.