Displaying 1 result from an estimated 1 matches for "a544050".
Did you mean:
544050
2009 Mar 06
0
[PATCH 2/3] COM32 API: restructure DIR
...com>
COM32 API: restructure DIR to include a dirent to eliminate the need
for alloc()/free() of dirents
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
Counted incorrectly. Depends on previous patches.
diff --git a/com32/include/dirent.h b/com32/include/dirent.h
index 5161828..a544050 100644
--- a/com32/include/dirent.h
+++ b/com32/include/dirent.h
@@ -29,6 +29,7 @@ typedef struct {
uint16_t dd_fd;
size_t dd_sect;
char dd_name[NAME_MAX + 1]; /* directory */
+ struct dirent dd_de;
} DIR;
__extern DIR *opendir(const char *);
diff --git a/com32/lib/readdir.c b/com32/lib/...