Home | History | Annotate | Download | only in phantasia
History log of /src/games/phantasia/misc.c
RevisionDateAuthorComments
 1.24  24-May-2022  andvar fix various typos in comments, docs and log messages.
 1.23  02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.22  03-Feb-2019  mrg - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
 1.21  01-Sep-2011  plunky branches: 1.21.42;
reinstate NULL cast by request, where the NULL was being passed as a vararg
 1.20  31-Aug-2011  plunky NULL does not need a cast
 1.19  31-Aug-2009  dholland Dumping all system includes anything uses in one big header file is so 1986.

XXX: Removing unused declarations (thus, unused headers can trigger
XXX: it) sometimes causes gcc to generate substantially different
XXX: code. Dunno why but it looks rather like a gcc bug.
 1.18  12-Aug-2009  dholland sprinkle static
 1.17  25-May-2009  dholland sprintf -> snprintf
 1.16  25-May-2009  dholland ANSIfy function declarations. Object file diffs cross-checked.
 1.15  28-Jan-2008  dholland Make this build with WARNS=4 by not reusing names from <math.h>.
 1.14  15-Feb-2005  jsm branches: 1.14.16;
Don't presume phantasia's internal bool (char) is the same as that in
curses.h: define phbool and use it where necessary to avoid declaring
functions with one bool and defining them with the other.

Reviewed by <hubertf>.
 1.13  15-Feb-2005  jsm Cast last argument of execl to (char *).

Reviewed by <hubertf>.
 1.12  11-Apr-2004  he Undef bool before including <curses.h>, since it tries to typedef
bool. Otherwise we get (at least on gcc 2.95.3) an empty declaration
warning from "typedef char char;" due to the #define of bool in
phantstruct.h.
 1.11  07-Apr-2004  ross Rework to use curses.h only on the target, not on the host.
 1.10  01-Jan-2004  jsm branches: 1.10.4;
When cleaning up, only close files that have been opened successfully.
When reporting errors for failing to open files, give error text
rather than errno number. Patch from Joey Hess <joey@kitenet.net> for
Debian bug 187251 from Mikael Hedin <micce@debian.org>.
 1.9  08-May-2003  wiz de-__P().
 1.8  20-Jan-2003  simonb The Double-Semi-Colon Police.
 1.7  27-Apr-2000  jdc Fix arguments to *printw().
 1.6  08-Sep-1999  jsm branches: 1.6.6;
Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
the games.
 1.5  08-Sep-1999  jsm Add use of `const' where appropriate to the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
 1.4  30-Aug-1998  veego Add braces to make the new egcs happy.
 1.3  13-Oct-1997  lukem WARNSify, KNFify (inc. removing extremely verbose & useless comments), ...
 1.2  24-Mar-1995  cgd rcs id conventions
 1.1  21-Oct-1994  jtc branches: 1.1.1;
Initial revision
 1.1.1.1  21-Oct-1994  jtc phantasia(6), from 44lite
 1.6.6.1  21-Jan-2000  jdc Update for SUS v2 curses - printw takes `char *format' not `const char *format'
 1.10.4.2  08-Apr-2005  tron Pull up revision 1.12 (requested by jmc in ticket #1032):
Undef bool before including <curses.h>, since it tries to typedef
bool. Otherwise we get (at least on gcc 2.95.3) an empty declaration
warning from "typedef char char;" due to the #define of bool in
phantstruct.h.
 1.10.4.1  08-Apr-2005  tron Pull up revision 1.11 (requested by jmc in ticket #1032):
Rework to use curses.h only on the target, not on the host.
 1.14.16.1  23-Mar-2008  matt sync with HEAD
 1.21.42.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed