freesci-develop
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freesci-develop] cvs: jameson


From: FreeSCI CVS repository
Subject: [freesci-develop] cvs: jameson
Date: Sat, 03 Sep 2005 04:50:24 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]