summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rw-r--r--emu/Nt/devfs.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 193ec5b7..899f899e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,6 @@
20070312
rename -D and -k options to plumb (old ones still accepted); add -i option to take data from standard input; update man page
+ enable 64-bit seeks in /emu/Nt/devfs.c
20070302
change /mkfile to build yacc earlier, mainly to make bootstrap of a new host easier (makemk.sh and mk install)
change /utils/mkfile not to build k[acl] and q[acl] on Plan 9, since the system ones are the same
diff --git a/emu/Nt/devfs.c b/emu/Nt/devfs.c
index c15b4549..43517829 100644
--- a/emu/Nt/devfs.c
+++ b/emu/Nt/devfs.c
@@ -729,7 +729,7 @@ fslseek(HANDLE h, vlong offset)
{
LONG hi;
- if(1 || offset <= 0x7ffffff){ /* TO DO: remove 1 || */
+ if(offset <= 0x7fffffff){
if(SetFilePointer(h, (LONG)offset, NULL, FILE_BEGIN) == INVALID_SET_FILE_POINTER)
oserror();
}else{