The NetBSD Project

CVS log for src/games/phantasia/main.c

[BACK] Up to [cvs.NetBSD.org] / src / games / phantasia

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 31 08:27:16 2009 UTC (4 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Changes since 1.22: +17 -6 lines
Diff to previous 1.22 (colored)

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.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Aug 12 08:21:41 2009 UTC (4 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.21: +18 -9 lines
Diff to previous 1.21 (colored)

sprinkle static

Revision 1.21 / (download) - annotate - [select for diffs], Tue May 26 00:30:16 2009 UTC (4 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Paranoia about lengths of login names. From pjanzen of OpenBSD.

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 26 00:27:23 2009 UTC (4 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.19: +10 -3 lines
Diff to previous 1.19 (colored)

Avoid SIGSEGV on users not in password file. From pjanzen of OpenBSD.

Revision 1.19 / (download) - annotate - [select for diffs], Mon May 25 23:14:33 2009 UTC (4 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.18: +10 -5 lines
Diff to previous 1.18 (colored)

sprintf -> snprintf

Revision 1.18 / (download) - annotate - [select for diffs], Mon May 25 23:08:45 2009 UTC (4 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.17: +11 -15 lines
Diff to previous 1.17 (colored)

ANSIfy function declarations. Object file diffs cross-checked.

Revision 1.16.20.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:58 2008 UTC (5 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Aug 8 16:10:47 2008 UTC (5 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored)

if initscr() fails, exit with a message rather than crash in the
next curses call

Revision 1.16 / (download) - annotate - [select for diffs], Sat May 13 22:29:53 2006 UTC (7 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-revivesa
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

Coverity CID 3508: Fix file leak.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Oct 26 20:47:27 2005 UTC (8 years, 5 months ago) by riz
Branch: netbsd-1-6
Changes since 1.10: +14 -1 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pull up following revision(s) (requested by jmc in ticket #5921):
	games/phantasia/setup.c: revision 1.14 via patch
	games/phantasia/main.c: revision 1.15
Redo how void gets init'd.
setup now just creates an empty file. When main starts and loads it in,
it stats and if zero size init's a new location and saves it back out.
Now games.tgz can be shared among MACHINE_ARCH's

Revision 1.12.4.3 / (download) - annotate - [select for diffs], Fri Apr 8 21:48:36 2005 UTC (9 years ago) by tron
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.12.4.2: +14 -1 lines
Diff to previous 1.12.4.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Pull up revision 1.15 (requested by jmc in ticket #1032):
Redo how void gets init'd.
setup now just creates an empty file. When main starts and loads it in,
it stats and if zero size init's a new location and saves it back out.
Now games.tgz can be shared among MACHINE_ARCH's

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Fri Apr 8 21:46:41 2005 UTC (9 years ago) by tron
Branch: netbsd-2
Changes since 1.12.4.1: +2 -1 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored)

Pull up revision 1.14 (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.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Fri Apr 8 21:43:41 2005 UTC (9 years ago) by tron
Branch: netbsd-2
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Pull up revision 1.13 (requested by jmc in ticket #1032):
Rework to use curses.h only on the target, not on the host.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Dec 9 05:15:59 2004 UTC (9 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.14: +14 -1 lines
Diff to previous 1.14 (colored)

Redo how void gets init'd.
setup now just creates an empty file. When main starts and loads it in,
it stats and if zero size init's a new location and saves it back out.
Now games.tgz can be shared among MACHINE_ARCH's

Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 11 13:35:06 2004 UTC (10 years ago) by he
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

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.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 7 17:46:47 2004 UTC (10 years ago) by ross
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Rework to use curses.h only on the target, not on the host.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 1 16:03:46 2004 UTC (10 years, 3 months ago) by jsm
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0
Branch point for: netbsd-2
Changes since 1.11: +9 -5 lines
Diff to previous 1.11 (colored)

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>.

Revision 1.11 / (download) - annotate - [select for diffs], Thu May 8 13:03:49 2003 UTC (10 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

de-__P().

Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 6 12:15:37 2001 UTC (12 years, 4 months ago) by blymn
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, fvdl_fs64_base
Branch point for: netbsd-1-6
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Change deprecated curses function calls to new equivalents.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 13 17:15:43 1999 UTC (14 years, 7 months ago) by jsm
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, curses-v3-base, curses-v3, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

A couple more checks for file descriptor < 3 missed earlier.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Sep 8 21:57:19 1999 UTC (14 years, 7 months ago) by jsm
Branch: MAIN
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
the games.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Sep 8 21:17:54 1999 UTC (14 years, 7 months ago) by jsm
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Aug 18 01:39:16 1999 UTC (14 years, 8 months ago) by hubertf
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Make phrase to enter password again clearer

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 30 09:19:39 1998 UTC (15 years, 7 months ago) by veego
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

Add braces to make the new egcs happy.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 13 02:18:27 1997 UTC (16 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.3: +753 -1038 lines
Diff to previous 1.3 (colored)

WARNSify, KNFify (inc. removing extremely verbose & useless comments), ...

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 24 12:24:37 1995 UTC (19 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

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.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 24 03:58:54 1995 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)

rcs id conventions

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Oct 21 21:19:40 1994 UTC (19 years, 6 months ago) by jtc
Branch: CSRG
CVS Tags: lite1, lite-2
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

phantasia(6), from 44lite

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 21 21:19:39 1994 UTC (19 years, 6 months ago) by jtc
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>