Source-Changes archive

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

CVS commit: src/games



Module Name:    src
Committed By:   mrg
Date:           Sun Feb  4 08:48:05 UTC 2018

Modified Files:
        src/games/battlestar: command3.c command7.c
        src/games/tetris: scores.c

Log Message:
fix issues found by GCC 6.4:

battlestar was missing some {} in its insane printf()+puts() usage.
this is a literal code sequence i found:

        printf("The blast catches ");
        printf("the goddess in the ");
        printf("stomach, knocking ");
        puts("her to the ground.");
        printf("She writhes in the ");
        printf("dirt as the agony of ");
        puts("death taunts her.");
        puts("She has stopped moving.");

no lines inserted or removed.

tetris' checkscores() had wrong and missing {} usage.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/games/battlestar/command3.c \
    src/games/battlestar/command7.c
cvs rdiff -u -r1.22 -r1.23 src/games/tetris/scores.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index