f6e3e659207cff1418beb42d30c475e1a679d170
[openwrt/svn-archive/archive.git] / toolchain / uClibc / patches / 160-glob_use_getdents64.patch
1 diff -ur uClibc.old/libc/misc/glob/glob.c uClibc.dev/libc/misc/glob/glob.c
2 --- uClibc.old/libc/misc/glob/glob.c 2005-01-12 08:59:21.000000000 +0100
3 +++ uClibc.dev/libc/misc/glob/glob.c 2006-10-22 22:30:29.000000000 +0200
4 @@ -420,7 +420,7 @@
5 }
6 else
7 {
8 - struct dirent *d = readdir ((DIR *) stream);
9 + struct dirent64 *d = readdir64 ((DIR *) stream);
10 if (d == NULL)
11 break;
12 if (! (d->d_ino != 0))