Commit graph

13 commits

Author SHA1 Message Date
ef0ddff4c2 (safe_getcwd): New. When getcwd() is known to be able to allocate its
buffer, just call that.  Else wrap suitable allocation around it.
(main): Use it.
2004-03-01 07:07:27 +00:00
4a3f0b8146 Add some missing declarations to headers. Remove some redundant
declarations elsewhere.  Change linkage of some functions to static.
2004-02-20 10:51:03 +00:00
aa9fed70c1 [_WIN32]: Include required headers. 2004-02-18 07:26:09 +00:00
237baffca9 Supply prototypes where possible. This uncovered type errors with
thread entrypoints:
(lwpSelect, shutdown_sequence): Parameters didn't match thread entry
point prototype.
(lwpEntryPoint): Arguments didn't match thread entry point prototype.

Change linkage of functions without prototype declaration to static
where possible.

Remove some superflous declarations, replace others by suitable
includes.
2004-02-17 17:59:30 +00:00
1669add706 Creating make include files with make doesn't work with many makes out
there.  Back out for 4.2.13.  You have to create the make include
files by hand if they don't exist.  That's the case for freshly
checked out trees.
2004-02-07 00:54:35 +00:00
be40df6d7b (wripglob): Don't emit unnecessary includes. 2004-02-03 17:16:06 +00:00
cfc7e113ef (wrgamesdef): Generate EMPDIR instead of EMPPATH(). Change callers of
EMPPATH() to use EMPDIR.  This avoids triggering MSVC bugs, and drops
support for traditional, pre-ISO cpp.  Closes #753935.
(gamedir, lostfil, playerbin, updatebin): Unused, remove.
2004-01-31 19:33:00 +00:00
64afd7747b (index, rindex): Obsolete BSDisms; remove. Use standard strchr() and
strrchr() instead.
(setbuffer): Obsolete BSDism, unused; remove.
2004-01-08 18:15:13 +00:00
08480d5625 (wrauth): Emit example `nowhereman@nowhere.land.edu' commented out.
nowhere.land.edu doesn't exist right now, but it might pop up any
time.
2004-01-06 20:18:46 +00:00
1feab53eca List generated files and directories that CVS doesn't ignore by
default.
2003-10-04 14:54:09 +00:00
89c4f834ff Makefiles worked only if certain directories and generated files were
already present.  Source distributions had them, but we didn't commit
them to CVS.  Fix Makefiles.
2003-10-04 14:22:52 +00:00
9b7adfbecc Indented with src/scripts/indent-emp. 2003-09-02 20:48:48 +00:00
d8b7fdfae1 Import of Empire 4.2.12 2003-08-23 12:23:04 +00:00