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@4826 cda61777-01e9-0310-a592-d414129be87e
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@5065 cda61777-01e9-0310-a592-d414129be87e
Add a licence.


git-svn-id: svn://svn.tartarus.org/sgt@5928 cda61777-01e9-0310-a592-d414129be87e
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@6280 cda61777-01e9-0310-a592-d414129be87e
Duplicate fix of Kevin Lyles's bug from r7092.


git-svn-id: svn://svn.tartarus.org/sgt@7094 cda61777-01e9-0310-a592-d414129be87e
Remove an unused variable spotted by Ubuntu 12.04's gcc.


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