Zephaniah E. Hull
66e0e31b57
strcat -> strncat
...
sprintf -> snprintf
AKA, really big buffer overflow security fixes.
More to come, geez we have holes everywhere.
2000-12-05 11:08:30 +00:00
Zephaniah E. Hull
1b4ed8cc3f
When loading a .loc file check each line to see if it has '#' as the
...
first char, if so the line is a comment.
2000-11-08 22:55:39 +00:00
Zephaniah E. Hull
b9c0c95729
Misc cleanups.
2000-10-24 17:03:09 +00:00
Bill Currie
f837616025
locs.c:
...
handle dos line endings. COM_FOpenFile /always/ opens files in binary
mode in Windows (and *nix is effectively binary only anyway) and the
\r characters being left in the location description strings was
causing %l to print a blank line. Makes for unhappy users :/
teamplay.c:
handle %%. this seams to have been missed.
2000-10-18 17:06:44 +00:00
Dabb
8b573f8d7e
Added HAVE_CONFIG_H and pals. Compiles under win32 now.
2000-10-07 10:24:46 +00:00
Bill Currie
ccd1f6f025
fix the misterious crass caused by loading a .loc file a second time. This one
...
was very sneeky :)
2000-10-07 07:53:21 +00:00
Zephaniah E. Hull
dbda53e93b
More tweaking of stuff, fixed a minor bug in the loc stuff, may still
...
have the crash causer though.
2000-10-07 04:06:08 +00:00
Zephaniah E. Hull
70657119f3
Would help if I added locs.h and locs.c.
2000-10-06 16:31:53 +00:00