simon-svn: puzzles: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Thu Jan 11 09:26:09 GMT 2007


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       7092
Date:           2007-01-11 09:26:09 +0000 (Thu, 11 Jan 2007)

Log message (5 lines):
Rather to my surprise given the amount of testing this code has had,
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.

Modified files:
U   puzzles/tree234.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=7092&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/tree234.c?rev=7092&r1=7091&r2=7092



More information about the tartarus-commits mailing list