1
0
forked from 0ad/0ad
0ad/source/lib/sysdep
Ykkrosh a265a441fd # Fixed string handling for Windows/Linux compatibility.
* vsnprintf2: Made compatible between GCC and MSVC - it now always
null-terminates the buffer, and returns -1 on overflow. Fixes #158.
Added tests.
 * MeshManager: Use shared_ptr.expired() instead of checking for
bad_weak_ptr exception.
 * Xeromyces: Added tests for GetXMBPath, because it does unusual things
in sscanf which MSVC's /analyze complains about.
 * ConfigDB, ScriptGlue: Replaced some asserts with return-on-failure,
to avoid invalid array accesses when continuing after the assert (as
complained about by /analyze).
 * CStr: Removed "using namespace std". Added tests for handling of
invalid UTF-8.

This was SVN commit r4625.
2006-11-07 21:03:13 +00:00
..
tests # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
unix # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
win # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
cpu.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
cpu.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
dir_watch.h Avoid some warnings on GCC 2006-11-07 13:28:03 +00:00
gfx.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
gfx.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
ia32_asm.asm # MacOS X compat (part 1) 2006-07-26 14:04:52 +00:00
ia32_memcpy.asm # improvements to build system for asm files 2006-06-25 20:58:03 +00:00
ia32.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
ia32.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
ia32.inc # improvements to build system for asm files 2006-06-25 20:58:03 +00:00
snd.cpp Avoid some warnings on GCC 2006-11-07 13:28:03 +00:00
snd.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
sysdep.cpp #fix to isnan() bug 2006-07-09 00:24:21 +00:00
sysdep.h # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00