Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/games/trek
Module Name: src
Committed By: dholland
Date: Sun May 24 23:20:22 UTC 2009
Modified Files:
src/games/trek: Makefile computer.c getpar.c torped.c trek.h
Removed Files:
src/games/trek: cgetc.c
Log Message:
Abolish cgetc(). It contained one line of code, which was wrong.
Call getchar() directly, and handle EOF properly instead of looping
(in some cases) or pretending that EOF is 0 (which it isn't).
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/games/trek/Makefile
cvs rdiff -u -r1.8 -r0 src/games/trek/cgetc.c
cvs rdiff -u -r1.14 -r1.15 src/games/trek/computer.c src/games/trek/getpar.c
cvs rdiff -u -r1.13 -r1.14 src/games/trek/torped.c
cvs rdiff -u -r1.15 -r1.16 src/games/trek/trek.h
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