mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
0785610296
segfault if your first call was with "". Probably could cause crashes too - add a string.c file to libQFutil, with a Q_strcasestr function, which strcasestr is defined to if it's not already defined. (we'd get that with glibc if we defined __USE_GNU, but we don't) - make client_t and SV_ExtractFromUserinfo both use NAME_MAX for their name arrays, instead of 32 for one and 80 for the other - rewrite almost all of SV_ExtractFromUserinfo's name handling. - \r, \n, and \t are all converted to spaces - leading/trailing spaces are stripped - consecutive spaces are reduced to a single space - empty names are considered bad - user-* nicks are considered bad (unless forced to them) - a name containing console or admin is considered bad - a name that already exists is considered bad - if they have a bad name it gets forced to user-%d, where %d is their userid - netname in the progs is now updated properly - name changes are always reported unless it's the initial setting, rather than only if they're full connected and not a spectator - finally, if the name change fails (info string exceeded), give them the boot. (before this was only done for duplicate names) That's about it :)
11 lines
574 B
Makefile
11 lines
574 B
Makefile
AUTOMAKE_OPTIONS = foreign
|
|
SUBDIRS = GL plugin
|
|
includedir = $(prefix)/include/QF
|
|
include_HEADERS = bspfile.h cdaudio.h checksum.h clip_hull.h cmd.h \
|
|
console.h crc.h cvar.h draw.h gcc_attr.h gib.h hash.h hl.h \
|
|
in_event.h info.h input.h joystick.h keys.h link.h locs.h \
|
|
mathlib.h mdfour.h model.h modelgen.h msg.h pcx.h plugin.h \
|
|
pr_comp.h pr_debug.h progs.h qargs.h qdefs.h qendian.h qfplist.h \
|
|
qtypes.h render.h screen.h sizebuf.h skin.h sound.h spritegn.h \
|
|
string.h sys.h teamplay.h texture.h tga.h uint32.h va.h \
|
|
ver_check.h vfile.h vfs.h vid.h wad.h zone.h
|