summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)"