summaryrefslogtreecommitdiff
path: root/malloc.c (unfollow)
Commit message (Collapse)Author
2012-08-29Revamp of the Halibut error handling mechanism.Simon Tatham
I'm not quite sure why I ever thought it was a good idea to have a central variadic error() function taking an integer error code followed by some list of arguments that depend on that code. It now seems obvious to me that it's a much more sensible idea to have a separate function per error, so that we can check at compile time that the arguments to each error call are of the right number and type! So I've done that instead. A side effect is that the errors are no longer formatted into a fixed-size buffer before going to stderr, so I can remove all the %.200s precautions in the format strings. [originally from svn r9639]
2007-02-04Add a "const" to the argument of dupstr() so that GCC doesn't complain whenBen Harris
we pass it a constant string. [originally from svn r7218]
2004-08-06dup_word_list() does the right thing if passed NULL (on general principles)Jacob Nevins
[originally from svn r4410]
2004-06-12Switch the memory allocation macros from the Halibut onesSimon Tatham
(mknew/mknewa/resize) to the PuTTY ones (snew/snewn/sresize). snewn and mknewa have their arguments opposite ways round; this may make the change initially painful but in the long term will free me of a nasty context switch every time I move between codebases. Also sresize takes an explicit type operand which is used to cast the return value from realloc, thus enforcing that it must be correct, and arranging that if anyone tries to compile Halibut with a C++ compiler there should be a lot less pain. [originally from svn r4276]
2002-08-05Rename Buttress to Halibut. I _think_ I've caught everything in this pass.Simon Tatham
[originally from svn r1800]
2001-12-04This update should bring the Windows Help back end up toSimon Tatham
near-complete functionality. All that's missing now is indexing and horizontal rules. [originally from svn r1449]
1999-10-18Further development; mid-end index handling pretty much there!Simon Tatham
[originally from svn r238]
1999-09-02Redo memory allocation to use mknew macroSimon Tatham
[originally from svn r214]
1999-08-09More development; not nearly finished yetSimon Tatham
[originally from svn r193]
1999-07-31Further development work. Parser nearly finishedSimon Tatham
[originally from svn r187]