search for: e097ade

Displaying 1 result from an estimated 1 matches for "e097ade".

2010 Jun 24
0
[PATCH] COM32: Fix read() with directories
...d with fdopendir() and readdir() to read anything beyond what stat()/fstat() returns. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> Depends on previous patch from last night for the change to the struct com32_filedata. --- diff --git a/com32/lib/sys/read.c b/com32/lib/sys/read.c index e097ade..5e45697 100644 --- a/com32/lib/sys/read.c +++ b/com32/lib/sys/read.c @@ -36,6 +36,7 @@ #include <com32.h> #include <minmax.h> #include <klibc/compiler.h> +#include <dirent.h> #include "file.h" ssize_t read(int fd, void *buf, size_t count) @@ -46,6 +47,10 @@...