dhewm3-sdk/idlib
Daniel Gibson d7d46c5ab4 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
2024-03-18 23:01:31 +01:00
..
bv Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
containers List.h needs sys/platform.h for ID_INLINE 2018-08-20 01:46:37 +02:00
geometry Fix GCC -W(maybe-)uninitialized warnings that at least kinda had a point 2024-03-18 23:01:31 +01:00
hashing Don't use "register" keyword, it was deprecated in C++11 2024-03-18 23:01:31 +01:00
math Fix GCC -W(maybe-)uninitialized warnings that at least kinda had a point 2024-03-18 23:01:31 +01:00
Base64.cpp Remove usage of long type from idlib/ 2018-08-20 01:46:33 +02:00
Base64.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
BitMsg.cpp s/ReadDeltaLongCounter/ReadDeltaIntCounter/ 2018-08-20 01:46:33 +02:00
BitMsg.h s/ReadDeltaLong/ReadDeltaInt/ 2018-08-20 01:46:33 +02:00
CmdArgs.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
CmdArgs.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Dict.cpp s/LittleLong/LittleInt/ to match the return type 2018-08-20 01:46:33 +02:00
Dict.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Heap.cpp Use idStr::Copynz() instead of strncpy() 2022-05-17 07:17:46 +02:00
Heap.h Fix alignment issue with idBlockAlloc::Free() 2018-08-20 01:46:29 +02:00
LangDict.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
LangDict.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Lexer.cpp Fixing some spelling errors: s/unkown/unknown, s/seperate/separate. (#107) 2018-08-20 01:46:38 +02:00
Lexer.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Lib.cpp Don't use "register" keyword, it was deprecated in C++11 2024-03-18 23:01:31 +01:00
Lib.h s/BigLong/BigInt/ to match the return type 2018-08-20 01:46:33 +02:00
MapFile.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
MapFile.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Parser.cpp Fix date/time handling in idParser::ExpandBuiltinDefine() 2024-03-18 23:01:31 +01:00
Parser.h Remove usage of long type from idlib/ 2018-08-20 01:46:33 +02:00
Str.cpp Add D3_(v)snprintfC99() for C99-compatible implementations 2022-05-17 07:17:46 +02:00
Str.h Add D3_(v)snprintfC99() for C99-compatible implementations 2022-05-17 07:17:46 +02:00
Timer.cpp Use idSys::GetMilliseconds() for idTimer 2018-08-20 01:46:29 +02:00
Timer.h Use idSys::GetMilliseconds() for idTimer 2018-08-20 01:46:29 +02:00
Token.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Token.h Remove usage of long type from idlib/ 2018-08-20 01:46:33 +02:00