aboutsummaryrefslogtreecommitdiff
path: root/tree234.c (follow)
Commit message (Collapse)AuthorAge
* Patch from Ben Hutchings: explicitly initialise something which someSimon Tatham2010-04-18
| | | | | | gccs complained about. [originally from svn r8923]
* Add a precautionary pair of initialisations to placate optimisers,Simon Tatham2009-11-10
| | | | | | | and asserts to check that the preinitialised values are never actually used. [originally from svn r8745]
* Rather to my surprise given the amount of testing this code has had,Simon Tatham2007-01-11
| | | | | | | | | Kevin Lyles spotted a tree234 bug! copytree234() segfaulted when asked to copy a tree containing no elements, due to failing to allow for the case that t->root might be NULL. Fixed, and added a regression test. [originally from svn r7092]
* Yikes! I've only just noticed that this copy of tree234.c was stillSimon Tatham2005-10-12
| | | | | | | | | using unwrappered malloc/free, leaving plenty of openings for out- of-memory segfaults. Switch to using Puzzles's memory management, which I should have done right at the start but can only assume I forgot about. [originally from svn r6388]
* Initial checkin of a portable framework for writing small GUI puzzleSimon Tatham2004-04-25
games. [originally from svn r4138]