diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-14 03:35:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-14 03:35:35 +0000 |
commit | 69749d06f2c1b552443615dd994ac4ab78455cb4 (patch) | |
tree | a667232142a50ab7720da38fe6c9333612719ce3 /test/misc | |
parent | 900ceefa3ca44e975e7d5aff5813f5ea54766f21 (diff) |
move the 64bit tests into a sep file
Diffstat (limited to 'test/misc')
-rw-r--r-- | test/misc/dirent.c | 8 | ||||
-rw-r--r-- | test/misc/dirent64.c | 1 |
2 files changed, 1 insertions, 8 deletions
diff --git a/test/misc/dirent.c b/test/misc/dirent.c index c8db2c83d..c348c0db3 100644 --- a/test/misc/dirent.c +++ b/test/misc/dirent.c @@ -22,7 +22,6 @@ int main(int argc, char *argv[]) { DIR *dirh; struct dirent *de; - struct dirent64 *de64; const char *mydir = (argc == 1 ? "/" : argv[1]); if ((dirh = opendir(mydir)) == NULL) { @@ -34,14 +33,7 @@ int main(int argc, char *argv[]) while ((de = readdir(dirh)) != NULL) printf("\tdir entry %s: %s\n", types[de->d_type], de->d_name); - rewinddir(dirh); - - printf("readdir64() says:\n"); - while ((de64 = readdir64(dirh)) != NULL) - printf("\tdir entry %s: %s\n", types[de64->d_type], de64->d_name); - closedir(dirh); - return 0; } diff --git a/test/misc/dirent64.c b/test/misc/dirent64.c new file mode 100644 index 000000000..26455ab68 --- /dev/null +++ b/test/misc/dirent64.c @@ -0,0 +1 @@ +#include "dirent.c" |