* Applied dirent_test build fix in trunk as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32889 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6761e2d915
commit
73e3cd6904
@ -1,13 +1,12 @@
|
||||
/*
|
||||
* Copyright 2008, Axel Dörfler, axeld@pinc-software.de.
|
||||
* Copyright 2008-2009, Axel Dörfler, axeld@pinc-software.de.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
|
||||
#include <dirent.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <dirent_private.h>
|
||||
|
||||
|
||||
int
|
||||
main(int argc, char** argv)
|
||||
@ -21,7 +20,7 @@ main(int argc, char** argv)
|
||||
|
||||
printf("Entry: dev %ld, ino %Ld, name \"%s\"\n", dirent->d_dev,
|
||||
dirent->d_ino, dirent->d_name);
|
||||
printf(" left: %u, next: %d\n", dir->entries_left, dir->next_entry);
|
||||
//printf(" left: %u, next: %d\n", dir->entries_left, dir->next_entry);
|
||||
}
|
||||
|
||||
closedir(dir);
|
||||
|
Loading…
Reference in New Issue
Block a user