summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.save.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-4/+4
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* This diff is rather large, but it's just simply removing unnecessary headersmestre2016-01-091-3/+4
| | | | | | | | , 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
* creat() -> open equiv; from Frederic Nowakderaadt2015-11-111-3/+3
|
* Match bwrite()'s prototype with write()'s, zapping a lint commentguenther2014-03-111-12/+12
| | | | Delete casts to char* of arguments to bwrite() and free()
* lint is dead (long live the lint!)guenther2014-03-111-9/+1
|
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-5/+1
| | | | | | | 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
* use SEEK_SET; chl@tuxfamily.orgderaadt2006-10-111-3/+3
|
* A few more includes discovered in a -fno-builtin compilepjanzen2003-05-191-2/+3
|
* De-register, ANSIfy, clean up.pjanzen2003-05-191-27/+28
|
* hack is freecamield2003-03-161-3/+60
| | | | | | | | | 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@
* Nothing but comments after #endif and #else; heko@iki.fipjanzen2001-08-061-7/+7
|
* $OpenBSD$niklas2001-01-281-1/+3
|
* use O_* defines for open(2) flags and include fcntl.hmillert1999-08-161-1/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+243