Module darkplaces: Change committed

molivier at icculus.org molivier at icculus.org
Wed Jan 19 04:09:30 EST 2005


Commiter   : molivier
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2005-01-19 09:09:30 UTC

Log message:

- Got rid of all the FILE* stuff in the FS code, relying on low-level 
functions exclusively. It now manages its own per-file 2KB read buffers. 
Writes are no longer buffered.
- Removed function "FS_Flush" and cvar "log_sync", since they're no 
longer relevant
- Package's file descriptors are now duplicated when opening a new file 
inside a package, to make package substitution at run time impossible on 
non-Win32 systems. Added a couple of "lseek" when necessary (before 
"read" calls in "FS_Read").
- Removed unused functions "FS_Eof", "Log_Print" and "S_ClearBuffer"
- Several other minor changes and fixes in the FS code
- Changed log open mode to "a" from "at" since 't' seems a Win32-only 
extension

Modified files:
     cl_demo.c console.c console.h fs.c fs.h host_cmd.c snd_null.c
     sound.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20050119.090930.molivier.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20050119/a5046202/attachment.diff>


More information about the twilight-commits mailing list