CVSROOT: /var/cvs/freesci
Module name: freesci
Changes by: jameson 2005/09/03 02:50:24 GMT
Modified files:
. : ChangeLog
src : config.c
src/engine : kfile.c
src/gfx : gfx_console.c
src/include : kdebug.h kernel.h resource.h sci_memory.h
src/scicore : console.c sci_memory.c tools.c
Log message:
* Added a number of 'const' annotations (a)
* FOpen() has open types 0 and 1 (OPEN_OR_FAIL, OPEN_OR_CREATE) swapped
* FOpen returns -1 on failure
(a)'s purpose was (1) shut up warnings and (2) to trick the compiler down
the treacherous road of compile-time optimisations (meliorisations)? for C
Note that I did not validate the -1 return, but the OPEN_OR_FAIL swapping
has been both confirmed to work and been confirmed to be a difference to
Sierra SCI (no longer a difference now).
-- Christoph
_______________________________________________
FreeSCI-develop mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freesci-develop