Commit Graph

74 Commits

Author SHA1 Message Date
Joshua Kwan ab14b92451 Ok, readd strlcat.c, use strlcat instead of strncat
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@74 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 07:35:14 +00:00
Joshua Kwan d8777057d6 knock one off
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@73 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 06:00:16 +00:00
Jilles Tjoelker 7ad4523dae Provide some feedback to the user that he has a stale game.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@72 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:56:09 +00:00
Joshua Kwan c76193877d fix some typos, add the crew to the copyright blurb
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@71 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:54:01 +00:00
Joshua Kwan b0ba0861ea ok, now it works
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@70 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:35:40 +00:00
Jilles Tjoelker acfec7933e Terminate if user chooses not to kill a hung game, and don't delete lockfile
in that case.
Move purge_stale_locks() call to before final endwin() in main().


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@69 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:31:00 +00:00
Joshua Kwan f20200f40c check for . and ..
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@68 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:28:57 +00:00
Joshua Kwan e9a719ea90 oops, big bug
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@67 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:20:54 +00:00
Joshua Kwan 71f367b1b4 Reindent, and add some error handling for kill
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@66 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:19:12 +00:00
Joshua Kwan 0daf7cdb3b Move gen_inprogress_lock() call to ttyrec.c, with the pid of nethack, and
purge_stale_locks() to remove all stale lockfiles.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@65 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:03:26 +00:00
Brett Carrington 1105eddc64 Added cscope.out and error.log
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@64 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 01:54:45 +00:00
Brett Carrington 45afd54ca0 graceful_exit, does nothing but please deprecate exit().
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@63 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 01:45:21 +00:00
Joshua Kwan 873b412c8f update Changelog, screw libiberty
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@62 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 01:14:36 +00:00
Joshua Kwan ab8fc6018c use strlcpy
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@61 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 01:05:22 +00:00
Joshua Kwan 4a5f12d4fe always pass F_SETLK to fcntl even when unlocking
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@60 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 01:00:18 +00:00
Joshua Kwan 2a2f13d3b5 Add strlcpy.c back and fix some locking issues (replace all with fcntl)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@59 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 00:59:48 +00:00
Joshua Kwan 22afce0c28 Revamp the simplemail support
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@58 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 00:21:39 +00:00
Joshua Kwan b7f4a22f6c Oops, I had an old version in the repository.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@57 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 22:35:09 +00:00
Brett Carrington ede1d2cd91 See comments in file (use diff if you can't find them)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@56 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 21:57:22 +00:00
Brett Carrington 9cc1e781ee modifications by jilles@stack.nl (in #nethack.) Commiting by proxy.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@55 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 21:50:40 +00:00
Joshua Kwan 0edb13302e Got the array sizes backwards.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@54 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 20:38:05 +00:00
Joshua Kwan 947c8749ee Add this
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@53 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 20:19:38 +00:00
Joshua Kwan d6c195c11e > and < not d and u
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@52 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 04:01:42 +00:00
Joshua Kwan f0770947e7 typo
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@51 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 03:54:16 +00:00
Joshua Kwan d9c2a09b9f fix some errors pointed out by jilles and paxed
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@50 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 03:51:29 +00:00
Joshua Kwan f49aa0e0ef use an ARRAY_SIZE macro if available, if not, #define it
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@49 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 02:10:35 +00:00
Joshua Kwan 1653b2ef8e add a sample 'classic' inetd line
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@48 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 02:10:23 +00:00
Joshua Kwan ede90e71bd usage() is useless
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@47 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 00:31:47 +00:00
Joshua Kwan e5454e9f8a remove -Wno-unused-parameter and -W, former is not supported by older gccs
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@46 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 00:30:47 +00:00
Joshua Kwan 3205bd6230 Update COPYING to show all licenses represented in source, amend ChangeLog
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@45 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-03 00:26:48 +00:00
Joshua Kwan f35d803c74 fix linux now :)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@44 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 21:00:54 +00:00
Joshua Kwan 3a2b0a7b0d works
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@43 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 20:47:53 +00:00
Joshua Kwan ad799b2374 use setgroups()
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@42 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 20:39:02 +00:00
Joshua Kwan c9ed0149c6 erp
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@41 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 20:37:53 +00:00
Joshua Kwan b72cade075 reindent
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@40 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 20:36:49 +00:00
Joshua Kwan 23540a34cd more BSD fixes
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@39 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 20:36:55 +00:00
Joshua Kwan 6f76353da3 First round of BSD fixes. Not done yet.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@38 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 20:31:30 +00:00
Joshua Kwan 34bd9f144a Update all of the administrivia to reflect current state
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@37 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 11:59:50 +00:00
Joshua Kwan d829ac26e2 caught_sighup has no real purpose, get rid of it
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@36 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 06:15:30 +00:00
Joshua Kwan 11282a35d6 add function prototypes, fix up arguments of catch_sighup
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@35 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 06:14:34 +00:00
Joshua Kwan 5af442ca9d offload to populate_games function some junk in inprogressmenu. allow infinite
ongoing games.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@34 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 04:35:46 +00:00
Brett Carrington d3f796d055 More todo.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@33 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-01 20:57:36 +00:00
Brett Carrington c8566ddff6 More stuff to do.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@32 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-01 20:47:47 +00:00
Brett Carrington 6f0199fd15 New bug, possibly.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@31 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-01 20:18:32 +00:00
Brett Carrington bbfc3bc507 Added `tags' to makefile exclusions. Also, everything is indented now
per `make dist'.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@30 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-01 19:57:58 +00:00
Joshua Kwan 46295b2023 add Makefile deps
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@29 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-01 19:32:48 +00:00
Brett Carrington 755ee5fe4a Updated documentation in README to save us time in the future.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@28 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-01 19:02:17 +00:00
Joshua Kwan f39e3e4e38 use strchr instead of strstr where appropriate. oops.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@27 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-01 02:06:19 +00:00
Joshua Kwan a426f247c3 tweak some rm's
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@26 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-01 02:06:07 +00:00
Brett Carrington 3e9ec53de4 I renamed it to 'bannerfile', 'banfile' is ambigous (perhaps for a future
banner users file?) Also made LOC_BANNER in the header and updated the
chroot script to include the banner and default-rc files.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@25 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2003-12-31 20:21:00 +00:00