Up to [local] / src / games / hack
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.23 / (download) - annotate - [select for diffs], Wed Sep 6 11:53:56 2023 UTC (8 months, 3 weeks ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
HEAD
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored)
remove uneeded function decls ok tb@
Revision 1.22 / (download) - annotate - [select for diffs], Sat Jun 3 15:19:38 2023 UTC (11 months, 4 weeks ago) by op
Branch: MAIN
Changes since 1.21: +2 -47 lines
Diff to previous 1.21 (colored)
drop `uptodate()' check from hack(6) hack(6) scrapes $PATH to find its executable and compare the mtime to the save file and bone file. If the game is newer than those, they're not loaded. Drop this feature. /usr/games is not in the default $PATH anymore, and the format for those file didn't change since the import. Diff from Anton Konyahin (me [at] konyahin [dot] xyz)
Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 15 16:29:29 2021 UTC (2 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)
The PATH_MAX+1 bites. The PATH_MAX+1 bites. You die... ok millert mlarkin
Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 11 14:21:17 2016 UTC (7 years, 8 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)
Callers of time(3) should #include <time.h>. ok deraadt
Revision 1.19 / (download) - annotate - [select for diffs], Tue Mar 15 19:56:20 2016 UTC (8 years, 2 months ago) by mestre
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)
execl(3) calls must have the last argument casted to (char *)NULL At the time when this was commited me and tb@ discussed that it shouldn't be changed, but still snucked in within a larger diff that we didn't notice. OK tb@
Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 9 21:54:11 2016 UTC (8 years, 4 months ago) by mestre
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)
Remove several casts to (char *) 0 and replace them by NULL Prompted and OK by tb@
Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 9 18:33:15 2016 UTC (8 years, 4 months ago) by mestre
Branch: MAIN
Changes since 1.16: +29 -27 lines
Diff to previous 1.16 (colored)
This diff is rather large, but it's just simply removing unnecessary headers , remove some lint-style comments, add missing void to functions without args, also some function prototypes (extern) were missing their args, so I added them as they were defined in hack.h OK tb@ on separate diffs
Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 11 01:12:10 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)
creat() -> open equiv; from Frederic Nowak
Revision 1.15 / (download) - annotate - [select for diffs], Sun Nov 16 04:49:48 2014 UTC (9 years, 6 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)
Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>, and <sys/ttydefaults.h> Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX Pull in <limits.h> where needed Prefer sizeof(var) over MAXFOO or FOO_MAX ok deraadt@
Revision 1.14 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:25 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.13: +1 -5 lines
Diff to previous 1.13 (colored)
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
Revision 1.13 / (download) - annotate - [select for diffs], Mon May 19 06:30:56 2003 UTC (21 years ago) by pjanzen
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.12: +70 -68 lines
Diff to previous 1.12 (colored)
De-register, ANSIfy, clean up.
Revision 1.12 / (download) - annotate - [select for diffs], Wed May 7 09:48:57 2003 UTC (21 years, 1 month ago) by tdeval
Branch: MAIN
Changes since 1.11: +21 -18 lines
Diff to previous 1.11 (colored)
Major strings rework. Ok pjanzen@
Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 6 18:50:37 2003 UTC (21 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)
2451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzen already, but he may have later changes to make still.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 16 21:22:36 2003 UTC (21 years, 2 months ago) by camield
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3
Changes since 1.9: +60 -3 lines
Diff to previous 1.9 (colored)
hack is free Thanks to Andries Brouwer, Jay Fenlason and the folks at CWI for their efforts. http://www.cwi.nl/~aeb/games/hack/hack.html ok deraadt@
Revision 1.9 / (download) - annotate - [select for diffs], Fri Dec 6 21:48:51 2002 UTC (21 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)
Replace things like srandom(time(NULL)) with srandomdev(3). random(3) good enough for games but we should at least use a decent seed. pjanzen@ OK
Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 6 22:59:13 2001 UTC (22 years, 10 months ago) by pjanzen
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE,
OPENBSD_3_2,
OPENBSD_3_1_BASE,
OPENBSD_3_1,
OPENBSD_3_0_BASE,
OPENBSD_3_0
Changes since 1.7: +9 -9 lines
Diff to previous 1.7 (colored)
Nothing but comments after #endif and #else; heko@iki.fi
Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 28 23:41:46 2001 UTC (23 years, 4 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE,
OPENBSD_2_9
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)
$OpenBSD$
Revision 1.6 / (download) - annotate - [select for diffs], Mon Aug 16 17:00:17 1999 UTC (24 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)
use O_* defines for open(2) flags and include fcntl.h
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jul 26 16:06:52 1998 UTC (25 years, 10 months ago) by imp
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE,
OPENBSD_2_5,
OPENBSD_2_4_BASE,
OPENBSD_2_4
Changes since 1.4: +2 -4 lines
Diff to previous 1.4 (colored)
o Fix Y2K buffer overflow. o Fix zero filling bug in all years % 100 < 10.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 17 07:11:38 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE,
OPENBSD_2_3,
OPENBSD_2_2_BASE,
OPENBSD_2_2,
OPENBSD_2_1_BASE,
OPENBSD_2_1
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored)
r?index -> strr?chr
Revision 1.3 / (download) - annotate - [select for diffs], Sun May 26 07:23:08 1996 UTC (28 years ago) by fn
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.2: +8 -8 lines
Diff to previous 1.2 (colored)
fixed the "/* in comments" problem.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 17 23:54:44 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.1: +2 -3 lines
Diff to previous 1.1 (colored)
From netbsd: Removed "extern int errno"; Added #include <errno.h> if not already present.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:49:02 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)
initial import of NetBSD tree
Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:49:02 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Initial revision