summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2009-11-19 17:08:00 +0000
committerforsyth <forsyth@vitanuova.com>2009-11-19 17:08:00 +0000
commit1d6f6b43a0f31b37b3302fc0d627c904c381f3d1 (patch)
tree29d6bf70f822302f0e46a1551f5d19990e1d6f61
parent10ed093c8a57ceaea6dd85a85cec029a04ce0e30 (diff)
CHANGES
-rw-r--r--emu/port/devfs-posix.c5
-rw-r--r--include/version.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/emu/port/devfs-posix.c b/emu/port/devfs-posix.c
index c80406cb..1ce6af40 100644
--- a/emu/port/devfs-posix.c
+++ b/emu/port/devfs-posix.c
@@ -775,7 +775,12 @@ fsdirread(Chan *c, uchar *va, int count, vlong offset)
continue;
}
qlock(&idl);
+ if(waserror()){
+ qunlock(&idl);
+ nexterror();
+ }
r = fsdirconv(c, de->d_name, &stbuf, slop, sizeof(slop), 1);
+ poperror();
qunlock(&idl);
if(r <= 0) {
FS(c)->offset = n;
diff --git a/include/version.h b/include/version.h
index 33426052..ffe114f4 100644
--- a/include/version.h
+++ b/include/version.h
@@ -1 +1 @@
-#define VERSION "Fourth Edition (20091004)"
+#define VERSION "Fourth Edition (20091119)"