package: tinycdb

A new upstream version 0.75 is available.

User-visible changes include:

- make cdb_make_put(CDB_PUT_REPLACE) to actually *remove*
  all (was only first previously) matching records, by
  rewriting the file.

- new mode CDB_PUT_REPLACE0, which zeroes out old duplicate
  records

- fixed fputs() == NULL condition in cdb.c, finally
  (should be < 0, not == NULL)


Detailed changes include:

2005-04-18  Michael Tokarev  <[EMAIL PROTECTED]>

   * move cdb_make_find.c content into cdb_make_put.c

   * introduce CDB_PUT_REPLACE0 - zerofill old duplicates

   * allow usage of cdb.h in C++

2005-04-11  Michael Tokarev  <[EMAIL PROTECTED]>

   * do not autogenerate files (cdb.h.in, cdb.3.in etc), but
     use real files instead (only substituted VERSION and NAME)

   * finally fixed the `!fputs()' condition to be `fputs() < 0'
     as it should be in cdb.c (misbehaves on *bsd)

   * kill cdbi_t usage in cdb_int.h

   * export _cdb_make_fullwrite() (was ewrite()) and _cdb_make_flush()
     and use them in cdb_make.c as appropriate

   * almost completely rewrite _cdb_make_find() and friends:
     - _cdb_make_find() now accepts new parameter, remove (bool), which,
       if true, indicates all found records should be deleted from the
       database.
     - Call _cdb_make_find() with remove=0 from cdb_make_exists()
     - Call _cdb_make_find() with appropriate arguments from
       cdb_make_put(), and simplify the latter greatly (was too clumsy
       anyway)

   * rename `flags' parameter in cdb_make_put() to be `mode' which is
     more appropriate

   * change #if conditional in nss_cdb.c
     from __GLIBC__ to __GNU_LIBRARY__



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to