dhewm3/neo/idlib
Daniel Gibson 477252308d Fix date/time handling in idParser::ExpandBuiltinDefine()
this was so broken, I think if anyone ever tried to use __DATE__ or
__TIME__ it must've crashed, either from free(curtime) (which was the
return value of ctime()) or from things like token[7] = NULL when token
was a pointer (to a single element!).

I think it could work now.

Also fixed potential memory leaks in cases that don't "return" anything
2023-01-05 09:07:04 +01:00
..
bv Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
containers List.h needs sys/platform.h for ID_INLINE 2012-11-13 23:28:21 +01:00
geometry Fix GCC -W(maybe-)uninitialized warnings that at least kinda had a point 2023-01-05 07:51:59 +01:00
hashing Don't use "register" keyword, it was deprecated in C++11 2023-01-05 05:07:53 +01:00
math Fix GCC -W(maybe-)uninitialized warnings that at least kinda had a point 2023-01-05 07:51:59 +01:00
Base64.cpp Remove usage of long type from idlib/ 2012-06-28 13:02:45 +02:00
Base64.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
BitMsg.cpp s/ReadDeltaLongCounter/ReadDeltaIntCounter/ 2012-06-28 13:52:24 +02:00
BitMsg.h Remove idBitMsg::Read/WriteInt64() again 2021-06-19 21:30:26 +02:00
CmdArgs.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
CmdArgs.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
Dict.cpp s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
Dict.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Heap.cpp Use idStr::Copynz() instead of strncpy() 2022-01-08 16:58:48 +01:00
Heap.h Fix alignment issue with idBlockAlloc::Free() 2011-12-22 18:51:17 +01:00
LangDict.cpp idLangDict: Workaround for Doom3: Lost Mission stringtables #265 2020-01-05 02:34:53 +01:00
LangDict.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Lexer.cpp Fixing some spelling errors: s/unkown/unknown, s/seperate/separate. (#107) 2015-02-25 22:01:00 +01:00
Lexer.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Lib.cpp Don't use "register" keyword, it was deprecated in C++11 2023-01-05 05:07:53 +01:00
Lib.h s/BigLong/BigInt/ to match the return type 2012-06-28 13:52:22 +02:00
MapFile.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
MapFile.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Parser.cpp Fix date/time handling in idParser::ExpandBuiltinDefine() 2023-01-05 09:07:04 +01:00
Parser.h Remove usage of long type from idlib/ 2012-06-28 13:02:45 +02:00
Str.cpp Add D3_(v)snprintfC99() for C99-compatible implementations 2022-01-10 04:06:54 +01:00
Str.h Add D3_(v)snprintfC99() for C99-compatible implementations 2022-01-10 04:06:54 +01:00
Timer.cpp Use idSys::GetMilliseconds() for idTimer 2011-12-22 10:38:39 +01:00
Timer.h Use idSys::GetMilliseconds() for idTimer 2011-12-22 10:38:39 +01:00
Token.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Token.h Remove usage of long type from idlib/ 2012-06-28 13:02:45 +02:00