summaryrefslogtreecommitdiff
path: root/tree234.c (unfollow)
Commit message (Collapse)Author
2007-01-11Duplicate fix of Kevin Lyles's bug from r7092.Simon Tatham
[originally from svn r7093] [r7092 == c06e371f55b97576421588d21d809c02c637584b in puzzles repository]
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]
2001-12-04Replace Buttress's old tree23 routines with my shiny new countedSimon Tatham
tree234 routines; they will be useful in the WinHelp stuff at least. [originally from svn r1444]