diff options
| author | Charles.Forsyth <devnull@localhost> | 2007-03-12 12:06:37 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2007-03-12 12:06:37 +0000 |
| commit | 8675b89abf2848e59d63e796022e331287f77f85 (patch) | |
| tree | 49eb493eb5ca715bd9976a99cf6f0868cbc40d8c | |
| parent | 3555c65fdd2b7ff06f1847e174486888d459748c (diff) | |
"20070312b enable windows 64-bit seek"
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | emu/Nt/devfs.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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{ |
