Age | Commit message (Collapse) | Author |
|
The Windows API has an _snprintf function that is not the same as
Unix's snprintf(): if the string is truncated then no trailing NUL
character is appended. This makes the function unsafe. Define a
replacement/wrapper called M_snprintf that works the same but always
appends a trailing NUL, for safety on Windows and other OSes that
behave like this.
Do the same thing for vsnprintf(), and update HACKING to list
snprintf/vsnprintf as forbidden functions. This fixes #375;
thanks to Quasar for pointing out the different behavior of these
functions.
|
|
What support exists is for obsolete devices I no longer possess; I've
never been contacted about the port and it's been several years since
I even bothered to build a new version. All the extra overrides are
clutter that can just be removed.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2615
|
|
when an error occurs (or -timedemo finishes).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2451
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2365
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2364
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2349
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2347
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2339
|
|
Windows.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2317
|
|
with CLNJ-506.LMP (thanks entryway).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2298
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2258
|
|
also checks that extra options were provided on the command line (thanks
Sander van Dijk).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2223
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2214
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2211
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2210
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1626
|
|
memory, so that at least two megabytes are always left available to the
OS.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1619
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1610
|
|
allocate the default 16 MiB.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1603
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1586
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1579
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1564
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1563
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1417
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1416
|
|
code. Split out I_Endoom to separate i_endoom.c file.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1384
|
|
in Heretic.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1295
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1284
|
|
to be bound in a distributed fashion around the program. Remove
dependency of m_config.c on doom/.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1222
|
|
API for scheduling functions to call on quit.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1216
|
|
common code and remove dependencies on deh_main.h.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1210
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1205
|
|
level.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1204
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1165
|
|
screenshot code into v_video.c Add M_FileLength common function for
finding the length of an open file.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1102
|
|
should work properly on big endian machines as well as little endian
machines.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1074
|
|
display the surrounding box.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1069
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1066
|
|
exit() rather than abort(). Display a message box with the error on
Windows.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1065
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 887
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 884
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 877
|
|
backtrace in the debugger.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 836
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 806
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 805
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 750
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 704
|
|
into the game with no melt effect and display a box showing mouse speed
to allow the threshold to be set easily. When escape is pressed, quit
straight away.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 662
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 653
|
|
close it automatically.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 610
|