luislavena/knapsack-recipes — pull request #1 by shirosaki (2012-07-04 06:55:03+00:00)
Title: Add gdbm

I've created gdbm 1.10 patch. gdbm 1.10 has own testsuite. `make check` passed as below.
And ruby test-all gdbm and dbm also passed. So far it seems to work fine.

```
## --------------------- ##
## gdbm 1.10 test suite. ##
## --------------------- ##
1: gdbm version ok

GDBM interface

2: create database ok
3: fetch a record ok
4: fetch: nonexisting record ok
5: delete a record ok
6: delete: non existing record ok
7: delete: all records ok

Compatibility library (dbm/ndbm)

8: create database ok
9: converting a 1.8-style database ok
10: fetch a record ok
11: fetch: nonexisting record ok
12: fetch from a read-only database ok
13: fetch from a read-only 1.8-style database ok
14: delete a record ok
15: delete: non existing record ok
16: delete: all records ok

DB options

17: setopt ok
18: setopt: mmap options skipped (setopt01.at:20)

Cloexec

19: cloexec: gdbm_open skipped (cloexec00.at:20)
20: cloexec: gdbm_reorganize skipped (cloexec01.at:20)
21: cloexec: dbm_open skipped (cloexec02.at:20)
22: cloexec: dbm_open -creat skipped (cloexec03.at:20)

## ------------- ##
## Test results. ##
## ------------- ##

17 tests were successful.
5 tests were skipped.
```