Displaying 1 result from an estimated 1 matches for "dd_de".
Did you mean:
adde
2009 Mar 06
0
[PATCH 2/3] COM32 API: restructure DIR
...ious 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/readdir.c
index 353b61b..c6d991c 100644
--- a/com32/lib/readdir.c
+++ b/com32/lib/readdir.c
@@ -33,21 +33,16 @@ struct dirent *readdir(DIR *dir)
/* Don't do this as we won't be able to rewind....