| 1 |
sysadm |
1.1 |
2003-11-04 Michael Tokarev <mjt@corpit.ru>
|
| 2 |
|
|
|
| 3 |
|
|
* added cdb_get() routine: tinycdb officially uses mmap.
|
| 4 |
|
|
|
| 5 |
|
|
* added cdb_{get,read}{data,key}() macros to read and get
|
| 6 |
|
|
current data and key.
|
| 7 |
|
|
|
| 8 |
|
|
* fixed bug in cdb_seek() - incorrect wrap, sometimes
|
| 9 |
|
|
cdb_seek()+cdb_bread() may return EIO instead of finding
|
| 10 |
|
|
correct record.
|
| 11 |
|
|
|
| 12 |
|
|
* added some tweaks to Makefile to build position-independent
|
| 13 |
|
|
libcdb_pic.a and shared libcdb.so libraries. Note that
|
| 14 |
|
|
using libcdb as shared library is probably not a good idea,
|
| 15 |
|
|
due to tiny size of the library.
|
| 16 |
|
|
|
| 17 |
|
|
* added initial nss_cdb module. Still not well-tested.
|
| 18 |
|
|
Probably will not build on non-GNU system.
|
| 19 |
|
|
|
| 20 |
|
|
* adjusted tests.{ok,sh} for latest cdb utility modifications
|
| 21 |
|
|
(-a mode in query by default)
|
| 22 |
|
|
|
| 23 |
|
|
* Victor Porton (porton at ex-code.com) provided a patch
|
| 24 |
|
|
to allow tinycdb to be built on win32 platform (cdb_init.c).
|
| 25 |
|
|
Completely untested.
|
| 26 |
|
|
|
| 27 |
|
|
2003-08-13 Michael Tokarev <mjt@corpit.ru>
|
| 28 |
|
|
|
| 29 |
|
|
* s/cdbi_t/unsigned/g. No need to keep this type.
|
| 30 |
|
|
|
| 31 |
|
|
* changed usage of cdb_findnext(): one need to pass
|
| 32 |
|
|
pointer to cdb structure to cdb_findnext() now,
|
| 33 |
|
|
and should use cdb_datapos(struct cdb_find *)
|
| 34 |
|
|
instead of cdb_datapos(struct cdb *)
|
| 35 |
|
|
|
| 36 |
|
|
* added cdb_seqinit() and cdb_seqnext() routines for sequential
|
| 37 |
|
|
record enumeration
|
| 38 |
|
|
|
| 39 |
|
|
* addded cdb_dend to the cdb structure: end of data
|
| 40 |
|
|
position. Use that in cdb_seq*().
|
| 41 |
|
|
|
| 42 |
|
|
* more strict checking: ensure data is within data section,
|
| 43 |
|
|
and hash tables are within hash section of a file.
|
| 44 |
|
|
|
| 45 |
|
|
* cdb_make.c (cdb_make_start): zerofill cdb_make structure
|
| 46 |
|
|
to shut valgrind up (writing uninitialized data to file)
|
| 47 |
|
|
|
| 48 |
|
|
* cdb.c (cmode): always open file in RDWR mode to allow
|
| 49 |
|
|
duplicate key detection
|
| 50 |
|
|
|
| 51 |
|
|
2002-12-08 Michael Tokarev <mjt+cdb@corpit.ru>
|
| 52 |
|
|
|
| 53 |
|
|
* version 0.73
|
| 54 |
|
|
* de-Debianization. Oh well... ;)
|
| 55 |
|
|
* no code changes, just like in 0.72
|
| 56 |
|
|
|
| 57 |
|
|
2002-10-13 Michael Tokarev <mjt+cdb@corpit.ru>
|
| 58 |
|
|
|
| 59 |
|
|
* version 0.72
|
| 60 |
|
|
|
| 61 |
|
|
* cleaned up debian packaging and made it actually work
|
| 62 |
|
|
|
| 63 |
|
|
* no code changes
|
| 64 |
|
|
|
| 65 |
|
|
2002-07-22 Michael Tokarev <mjt+cdb@corpit.ru>
|
| 66 |
|
|
|
| 67 |
|
|
* version 0.71
|
| 68 |
|
|
|
| 69 |
|
|
* rearranged object files to not depend on ranlib on
|
| 70 |
|
|
systems that requires it (i.e. OpenBSD)
|
| 71 |
|
|
|
| 72 |
|
|
* use ranlib but mark it's possible error as non-fatal
|
| 73 |
|
|
|
| 74 |
|
|
2001-12-10 Michael Tokarev <mjt+cdb@corpit.ru>
|
| 75 |
|
|
|
| 76 |
|
|
* version 0.7a
|
| 77 |
|
|
|
| 78 |
|
|
* converted to CVS, added two missing #include <stdlib.h> for
|
| 79 |
|
|
malloc declaration and spec target to the Makefile
|
| 80 |
|
|
|
| 81 |
|
|
2001-10-14 Michael Tokarev <mjt+cdb@corpit.ru>
|
| 82 |
|
|
|
| 83 |
|
|
* version 0.7
|
| 84 |
|
|
|
| 85 |
|
|
* added cdb_seek() and cdb_bread() routines as found
|
| 86 |
|
|
in freecdb/cdb-0.64
|
| 87 |
|
|
|
| 88 |
|
|
2001-07-26 Michael Tokarev <mjt+cdb@corpit.ru>
|
| 89 |
|
|
|
| 90 |
|
|
* version 0.6
|
| 91 |
|
|
|
| 92 |
|
|
* added another option, CDB_PUT_WARN, to cdb_make_put's flags
|
| 93 |
|
|
(to allow adding unconditionally but still warn about dups),
|
| 94 |
|
|
now cdb_make_put seems to be logically complete.
|
| 95 |
|
|
|
| 96 |
|
|
* added and documented -r and -u options for cdb(1) command,
|
| 97 |
|
|
and made them consistent with -w and -e also.
|
| 98 |
|
|
|
| 99 |
|
|
* reorganized cdb(1) manpage and added changes made to cdb
|
| 100 |
|
|
command.
|
| 101 |
|
|
|
| 102 |
|
|
* added version references to manpages (and make them autogenerated
|
| 103 |
|
|
to simplify maintenance).
|
| 104 |
|
|
|
| 105 |
|
|
* added cdb(5) manpage describing CDB file format.
|
| 106 |
|
|
|
| 107 |
|
|
2001-07-25 Michael Tokarev <mjt+cdb@corpit.ru>
|
| 108 |
|
|
|
| 109 |
|
|
* version 0.5
|
| 110 |
|
|
|
| 111 |
|
|
* added missing #include <sys/types.h> in cdb_init.c, thanks to
|
| 112 |
|
|
ppetru@ppetru.net (Petru Paler)
|
| 113 |
|
|
|
| 114 |
|
|
* removed usage of pread() in cdb_make_find() and friends,
|
| 115 |
|
|
suggested by Liviu Daia <Liviu.Daia@imar.ro>
|
| 116 |
|
|
|
| 117 |
|
|
* autogenerate tinycdb.spec file from template and debian/changelog
|
| 118 |
|
|
|
| 119 |
|
|
* autogenerate cdb.h from cdb.h.in (substituting version)
|
| 120 |
|
|
|
| 121 |
|
|
2001-06-29 Michael Tokarev <mjt+cdb@corpit.ru>
|
| 122 |
|
|
|
| 123 |
|
|
* version 0.4
|
| 124 |
|
|
|
| 125 |
|
|
* added cdb_make_put() routine to conditionnaly add a record
|
| 126 |
|
|
|
| 127 |
|
|
* split cdb library to more files (finer granularity)
|
| 128 |
|
|
|
| 129 |
|
|
* added cdb_findinit() and cdb_findnext() routines
|
| 130 |
|
|
|
| 131 |
|
|
* renamed cdbtool to cdb
|
| 132 |
|
|
|
| 133 |
|
|
* simplified cdb utility (dropped various format spec, changed
|
| 134 |
|
|
options parsing) and a manpage
|
| 135 |
|
|
|
| 136 |
|
|
* added small note and copyright to every file in package
|
| 137 |
|
|
|
| 138 |
|
|
* added some testsuite (make test)
|
| 139 |
|
|
|
| 140 |
|
|
2001-05-27 Michael Tokarev <mjt+cdb@corpit.ru>
|
| 141 |
|
|
|
| 142 |
|
|
* version 0.3
|
| 143 |
|
|
|
| 144 |
|
|
* Initial Release.
|