Jeff Teunissen
54e2a4d9d3
Okay, the big whitespace reformat. There is some silliness (case
...
statements, variable declarations), but all in all it's not bad.
2000-12-08 06:51:37 +00:00
Bill Currie
eae11661e4
strncat parameter audit. Unfortunatly, strncat is counter-intutite: the n in
...
strncat is not the maximum length of the destination string, but of the SOURCE
string, thus strncat (dest, src, sizeof (dest)) is incorrect. It should be
strncat (dest, src, sizeof (text) - strlen (dest)). Even then, no terminating
nul will be written if src is too long, but at least it won't crash the stack:)
2000-12-05 16:04:12 +00:00
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
Bill Currie
631d5f470c
fix a nasty dir creation bug. there's probably a few more such spots :/
2000-11-08 03:13:38 +00:00
Bill Currie
86f87122c0
zlib support (gzipped pack contents). if you have a probelm with gzgets, you
...
have 3 choices: remove /usr/X11R6/lib/libz.a, --diable-zlib, or fix configure.
I do intend on fixing it myself.
2000-09-27 19:44:26 +00:00
Bill Currie
b55b0264b5
model loading reorg ala nuq. once again, gl hasn't been tested (will test when
...
I get home tonight). This is in preparation for bmodel fulbrights.
2000-09-20 22:11:17 +00:00
Zephaniah E. Hull
29ef95a9b5
The end of Z_*!!
...
This after the Z_* stuff hit my profiling list as a top user..
2000-06-29 05:46:15 +00:00
Jeff Teunissen
fd11d81788
GL fixes, partial Q{open,close,read,write,getc} -> f*
2000-05-23 17:05:34 +00:00
Joseph Carter
3d59dfed98
Before I can fix the (MANY!) problems with newtree, I have to fix the
...
little problem of mixed QFile and FILE. Since we're not using ZLib in
this tree, QFile makes no real sense. That didn't fix the real problem
I am having though.
2000-05-22 21:16:22 +00:00
Joseph Carter
87f6b96eb6
GPL thingy
2000-05-22 06:58:14 +00:00
Bill Currie
af032b8d55
port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)
...
split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
2000-05-21 08:24:45 +00:00
Danne
52f0fe0bde
Removed unneeded Visual C defs.
2000-05-19 12:58:54 +00:00
Bill Currie
832af13c12
all files now include config.h
2000-05-17 10:03:19 +00:00
Yan Sweitzer
1efb92f899
sprintf -> snprintf
...
vsprintf -> vsnprintf
2000-05-15 08:59:12 +00:00
Dan Olson
497ba1a82f
buh bye gl_model.h
2000-05-13 20:47:01 +00:00
Dan Olson
74c19068e5
gl_* now compiles... need to change around the Makefile before it will link
2000-05-12 19:17:02 +00:00
Joseph Carter
38f9b705b9
Whee! Every source file just got edited. Added the QF-style GPL header
...
to the top. What I didn't add was descriptions. Someone else wanna take
those on?
2000-05-11 16:03:29 +00:00
Dan Olson
b139acafc2
^M cleanup, and qw-server compiles with -Werror
2000-05-10 20:33:16 +00:00
Joseph Carter
d859383680
Initial revision
2000-05-10 11:29:38 +00:00