sgt/library
11 years agoRemove an unused variable spotted by Ubuntu 12.04's gcc. master
simon [Thu, 3 May 2012 18:12:32 +0000 (18:12 +0000)]
Remove an unused variable spotted by Ubuntu 12.04's gcc.

git-svn-id: svn://svn.tartarus.org/sgt/library@9488 cda61777-01e9-0310-a592-d414129be87e

17 years agoDuplicate fix of Kevin Lyles's bug from r7092.
simon [Thu, 11 Jan 2007 09:42:59 +0000 (09:42 +0000)]
Duplicate fix of Kevin Lyles's bug from r7092.

git-svn-id: svn://svn.tartarus.org/sgt/library@7094 cda61777-01e9-0310-a592-d414129be87e

18 years agoFix a memory allocation error: allocate (n+1)*size, not n*(size+1).
simon [Thu, 8 Sep 2005 15:07:33 +0000 (15:07 +0000)]
Fix a memory allocation error: allocate (n+1)*size, not n*(size+1).

(Richard B mailed me this fix in June and I never got round to
committing it. Oops.)

git-svn-id: svn://svn.tartarus.org/sgt/library@6280 cda61777-01e9-0310-a592-d414129be87e

18 years agoAdd a licence.
simon [Wed, 8 Jun 2005 11:17:53 +0000 (11:17 +0000)]
Add a licence.

git-svn-id: svn://svn.tartarus.org/sgt/library@5928 cda61777-01e9-0310-a592-d414129be87e

19 years agoThere's a possibility I may need a binary heap in the near future,
simon [Wed, 5 Jan 2005 18:08:07 +0000 (18:08 +0000)]
There's a possibility I may need a binary heap in the near future,
and they're always handy things to have around. So here's a brand
new, but decently tested and apparently robust, generic binary heap
implementation just in case it comes in handy.

git-svn-id: svn://svn.tartarus.org/sgt/library@5065 cda61777-01e9-0310-a592-d414129be87e

19 years agoIf I'm going to publish Tweak, it seems unfriendly to require people
simon [Fri, 19 Nov 2004 13:00:45 +0000 (13:00 +0000)]
If I'm going to publish Tweak, it seems unfriendly to require people
to check out my `misc' directory full of random oddities to get the
btree code. Hence, here's a new top-level directory called `library',
which contains anything I'm actually likely to have other modules
depend on.

git-svn-id: svn://svn.tartarus.org/sgt/library@4826 cda61777-01e9-0310-a592-d414129be87e