1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:37:10 +02:00

use getdents64 in the uClibc glob function

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5256 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-10-22 20:33:36 +00:00
parent 198d19ade5
commit ee50693ca9

View File

@ -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))