History

"20070312b enable windows 64-bit seek"

Charles.Forsyth committed 19 years ago

Commit 50734c81 parent 539c0322 files · +2 −1Browse files

Unified · Split

2 files
  1. CHANGES +1 −0
  2. emu/Nt/devfs.c +1 −1
CHANGES+1−0
@@ -1,5 +1,6 @@
11 20070312
22 rename -D and -k options to plumb (old ones still accepted); add -i option to take data from standard input; update man page
3+ enable 64-bit seeks in /emu/Nt/devfs.c
34 20070302
45 change /mkfile to build yacc earlier, mainly to make bootstrap of a new host easier (makemk.sh and mk install)
56 change /utils/mkfile not to build k[acl] and q[acl] on Plan 9, since the system ones are the same
emu/Nt/devfs.c+1−1
@@ -729,7 +729,7 @@ fslseek(HANDLE h, vlong offset) · 728 unmodified lines
729729 {
730730 LONG hi;
731731
732− if(1 || offset <= 0x7ffffff){ /* TO DO: remove 1 || */
732+ if(offset <= 0x7fffffff){
733733 if(SetFilePointer(h, (LONG)offset, NULL, FILE_BEGIN) == INVALID_SET_FILE_POINTER)
734734 oserror();
735735 }else{