Home | History | Annotate | Download | only in trek
History log of /src/games/trek/getpar.c
RevisionDateAuthorComments
 1.18  12-Aug-2009  dholland sprinkle static
 1.17  25-May-2009  dholland sprintf -> snprintf.
 1.16  25-May-2009  dholland "abbreviation" has two Bs.
 1.15  24-May-2009  dholland 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).
 1.14  24-May-2009  dholland KNF: brace and comment placement. Object files identical.
 1.13  24-May-2009  dholland ANSIfy function declarations. No object file diffs except for two functions
whose K&R declaration didn't fully match the prototype (char vs. int) and
the diff of the disassembly of those looks plausible.
 1.12  27-Jan-2004  jsm Remove uses of __P.
 1.11  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.10  18-Oct-2002  itojun avoid buffer overrun. fix from openbsd.
reported by Niels Heinen <niels.heinen@ubizen.com>
 1.9  26-Feb-2002  wiz branches: 1.9.2;
Correct spelling of "delimiter", and remove from ignored-errors lists.
 1.8  03-Jul-2000  matt More include additions for exit, abs, strcmp, etc.
 1.7  21-Jul-1999  hubertf branches: 1.7.8;
const poisoning

Patch submitted in PR 8039 by Joseph Myers <jsm28@cam.ac.uk>
 1.6  13-Oct-1997  cjs Since we've got an int to store the value, why store it in a function
pointer and cast it?
 1.5  12-Oct-1997  christos Warnsify and remove local implementations of libc functions.
 1.4  24-Apr-1995  cgd Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
 1.3  22-Apr-1995  cgd clean up import, NetBSD RCS IDs, etc.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  22-Apr-1995  cgd src/games/trek from Lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.8.1  18-Oct-2002  itojun games/trek/getpar.c 1.10

Avoid buffer overrun.

(itojun)
 1.9.2.1  21-Oct-2002  lukem Pull up revision 1.10 (requested by itojun in ticket #927):
avoid buffer overrun. fix from openbsd.
reported by Niels Heinen <niels.heinen@ubizen.com>

RSS XML Feed