|
|
|
|
|
by asb
6241 days ago
|
|
It would be nice if DJB would release CDB under the public domain like he has now done with most of his other software. However, there's a great public domain implementation by Michael Tokarev I'd recommend:
http://www.corpit.ru/mjt/tinycdb.html |
|
Don't forget (In Windows) to specify O_BINARY eg:
Also the case in Berkeley DB 1.86.Otherwise it opens a file in ASCII mode, when Windows writes \r\n when it reads in \n... , and dies after just a few records.