83 Commits

Author SHA1 Message Date
Joshua Kwan
4f6bec9c0a It kind of works now. However, we must beware the static buffers that we made
before. They might no longer be enough.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@83 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 01:55:08 +00:00
Joshua Kwan
6901a281a0 First try at the config file system. Still need to change usage of all
the macros, currently, this has no effect on dgamelaunch's functionality.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@82 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 01:25:38 +00:00
Brett Carrington
00cfa2545f Added copyright lines to COPYING, completely rewrote README. Feedback appreciated.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@81 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 23:33:10 +00:00
Joshua Kwan
4aed9485f4 reindentation
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@80 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 22:49:29 +00:00
Brett Carrington
1adf4dbb69 Stupid pointless TODO: in comment
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@79 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 20:16:59 +00:00
Jilles Tjoelker
118c4a51a6 Make dgl-create-chroot.conf file clearer in the comments.
Add example dgl-create-chroot.conf file.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@78 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 16:42:08 +00:00
Joshua Kwan
5a623c9d44 Fix problem with people entering initial blank password.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@77 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 12:16:05 +00:00
Joshua Kwan
58d70cd5e3 replace two big conditionals with isalnum(3) calls
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@76 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 12:07:38 +00:00
Joshua Kwan
e55e715ee2 update Changelog
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@75 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 12:07:26 +00:00
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