diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-12-25 14:34:45 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-12-25 14:34:45 +0000 |
commit | 82fe16f532fdd46744c51ba931ecd3fee2b10365 (patch) | |
tree | 7bacc97fe951e246eb9842361d4824c3242cf2ae | |
parent | 46e182da4c8a338db22199e003fc2149ee3b1b81 (diff) | |
download | gdbm-82fe16f532fdd46744c51ba931ecd3fee2b10365.tar.gz gdbm-82fe16f532fdd46744c51ba931ecd3fee2b10365.tar.bz2 |
Version 1.11
41 files changed, 58 insertions, 45 deletions
@@ -1,5 +1,9 @@ 2013-12-25 Sergey Poznyakoff <gray@gnu.org.ua> + Version 1.11 + +2013-12-25 Sergey Poznyakoff <gray@gnu.org.ua> + Minor changes. * src/gdbm_load.c: New options: --mmap, --cache-size and diff --git a/Makefile.am b/Makefile.am index 8768298..846a8f5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ # This file is part of GDBM. -*- Makefile -*- -# Copyright (C) 2007, 2011 Free Software Foundation, Inc. +# Copyright (C) 2007, 2011, 2013 Free Software Foundation, Inc. # # GDBM is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ if ENABLE_EXPORT endif SUBDIRS = po src doc $(MAYBE_COMPAT) $(MAYBE_EXPORT) tests -DISTCHECK_CONFIGURE_FLAGS = --enable-libgdbm-compat +AM_DISTCHECK_CONFIGURE_FLAGS = --enable-libgdbm-compat dist-hook: rm -f $(distdir)/src/version.c; \ @@ -1,13 +1,21 @@ -GNU dbm NEWS -- history of user-visible changes. 2013-05-21 +GNU dbm NEWS -- history of user-visible changes. 2013-12-25 Copyright (C) 1990-2013 Free Software Foundation, Inc. See the end of file for copying conditions. Please send gdbm bug reports to <bug-gdbm@gnu.org>. -Version 1.10.90 (Git) +Version 1.11, 2013-12-25 * Improved dump format. +A new dump format is implemented, which encodes all data in base64 and +stores not only key/data pairs, but also the original database file +metadata, such as file name, mode and ownership. Files in this format +can be sent without additional encapsulation over transmission +channels that normally allow only ASCII data. Dumps in this format +allow for restoring an exact copy of the database, including file +ownership and privileges. + * New function: gdbm_count int gdbm_count (GDBM_FILE *file, gdbm_count *count); @@ -21,7 +29,7 @@ Gdbm_dump create a plain-text dump of the GDBM database. This dump can be used to create an exact copy of the database afterward. The gdbm_load performs the reverse: given the dump file, it creates a -GDBM database. Apart from the GDBM dump format, it also understands +GDBM database. Apart from native GDBM dump formats, it also understands the format generated by Berkeley DB db_dump utility. Thus, an easy way to convert a Berkeley DB database to GDBM is: diff --git a/configure.ac b/configure.ac index b534654..4747a7f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ # This file is part of GDBM. -*- autoconf -*- -# Copyright (C) 2007, 2009, 2011 Free Software Foundation, Inc. +# Copyright (C) 2007, 2009, 2011, 2013 Free Software Foundation, Inc. # # GDBM is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -15,8 +15,8 @@ # along with GDBM. If not, see <http://www.gnu.org/licenses/>. */ m4_define([_GDBM_VERSION_MAJOR], 1) -m4_define([_GDBM_VERSION_MINOR], 10) -m4_define([_GDBM_VERSION_PATCH], 90) +m4_define([_GDBM_VERSION_MINOR], 11) +dnl m4_define([_GDBM_VERSION_PATCH], 0) AC_INIT([gdbm], _GDBM_VERSION_MAJOR._GDBM_VERSION_MINOR[]m4_ifdef([_GDBM_VERSION_PATCH],._GDBM_VERSION_PATCH), diff --git a/src/base64.c b/src/base64.c index bf2bf6a..a4edf49 100644 --- a/src/base64.c +++ b/src/base64.c @@ -1,5 +1,5 @@ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/bucket.c b/src/bucket.c index 0934d16..8bc33f1 100644 --- a/src/bucket.c +++ b/src/bucket.c @@ -1,7 +1,7 @@ /* bucket.c - The routines for playing with hash buckets. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify @@ -1,5 +1,5 @@ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/falloc.c b/src/falloc.c index 560ccf8..32aad51 100644 --- a/src/falloc.c +++ b/src/falloc.c @@ -1,7 +1,7 @@ /* falloc.c - The file space management routines for dbm. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 1994, 2007, 2011 Free Software + Copyright (C) 1990, 1991, 1993, 1994, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/findkey.c b/src/findkey.c index d6a6781..c2a0653 100644 --- a/src/findkey.c +++ b/src/findkey.c @@ -1,7 +1,7 @@ /* findkey.c - The routine that finds a key entry in the file. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/fullio.c b/src/fullio.c index 9e401da..adfff2c 100644 --- a/src/fullio.c +++ b/src/fullio.c @@ -1,5 +1,5 @@ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbm_dump.c b/src/gdbm_dump.c index d6318b1..ad251d5 100644 --- a/src/gdbm_dump.c +++ b/src/gdbm_dump.c @@ -1,5 +1,5 @@ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbm_load.c b/src/gdbm_load.c index 20942dc..260a601 100644 --- a/src/gdbm_load.c +++ b/src/gdbm_load.c @@ -1,5 +1,5 @@ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbmapp.h b/src/gdbmapp.h index 8cec6fb..715f948 100644 --- a/src/gdbmapp.h +++ b/src/gdbmapp.h @@ -1,5 +1,5 @@ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbmclose.c b/src/gdbmclose.c index 7c32b56..f711a8f 100644 --- a/src/gdbmclose.c +++ b/src/gdbmclose.c @@ -1,7 +1,7 @@ /* gdbmclose.c - Close a previously opened dbm file. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/gdbmconst.h b/src/gdbmconst.h index 0fb623e..0002213 100644 --- a/src/gdbmconst.h +++ b/src/gdbmconst.h @@ -1,7 +1,7 @@ /* gdbmconst.h - The constants defined for use in gdbm. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/gdbmcount.c b/src/gdbmcount.c index aa09f61..8e22213 100644 --- a/src/gdbmcount.c +++ b/src/gdbmcount.c @@ -1,7 +1,7 @@ /* gdbmcount.c - get number of items in a gdbm file. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1993, 1994, 2007, 2011 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbmdelete.c b/src/gdbmdelete.c index 3f888be..1970422 100644 --- a/src/gdbmdelete.c +++ b/src/gdbmdelete.c @@ -1,7 +1,7 @@ /* gdbmdelete.c - Remove the key and its associated data from the database. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/gdbmerrno.c b/src/gdbmerrno.c index 6829a3a..b84503b 100644 --- a/src/gdbmerrno.c +++ b/src/gdbmerrno.c @@ -1,7 +1,7 @@ /* gdbmerrno.c - convert gdbm errors into english. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1993, 2007, 2011 Free Software Foundation, Inc. + Copyright (C) 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbmexists.c b/src/gdbmexists.c index 631d1cf..c162037 100644 --- a/src/gdbmexists.c +++ b/src/gdbmexists.c @@ -1,7 +1,7 @@ /* gdbmexists.c - Check to see if a key exists */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1993, 2007, 2011 Free Software Foundation, Inc. + Copyright (C) 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbmexp.c b/src/gdbmexp.c index fdafcd7..e3babc0 100644 --- a/src/gdbmexp.c +++ b/src/gdbmexp.c @@ -1,7 +1,7 @@ /* gdbmexp.c - Export a GDBM database. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2007, 2011 Free Software Foundation, Inc. + Copyright (C) 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbmfdesc.c b/src/gdbmfdesc.c index 2342a9d..c6db1ef 100644 --- a/src/gdbmfdesc.c +++ b/src/gdbmfdesc.c @@ -1,7 +1,7 @@ /* gdbfdesc.c - return the file descriptor associated with the database. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1999, 2007, 2011 Free Software Foundation, Inc. + Copyright (C) 1999, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbmfetch.c b/src/gdbmfetch.c index 9095d6d..83d4204 100644 --- a/src/gdbmfetch.c +++ b/src/gdbmfetch.c @@ -1,7 +1,7 @@ /* gdbmfetch.c - Find a key and return the associated data. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/gdbmimp.c b/src/gdbmimp.c index 3b4fdcc..9f2c9a6 100644 --- a/src/gdbmimp.c +++ b/src/gdbmimp.c @@ -1,7 +1,7 @@ /* gdbmimp.c - Import a GDBM database. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2007, 2011 Free Software Foundation, Inc. + Copyright (C) 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbmload.c b/src/gdbmload.c index 7c5fb01..19ee0fb 100644 --- a/src/gdbmload.c +++ b/src/gdbmload.c @@ -1,5 +1,5 @@ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbmopen.c b/src/gdbmopen.c index 111e76f..14c687d 100644 --- a/src/gdbmopen.c +++ b/src/gdbmopen.c @@ -1,7 +1,7 @@ /* gdbmopen.c - Open the dbm file and initialize data structures for use. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/gdbmreorg.c b/src/gdbmreorg.c index c96323e..7e554cb 100644 --- a/src/gdbmreorg.c +++ b/src/gdbmreorg.c @@ -1,7 +1,7 @@ /* gdbmreorg.c - Reorganize the database file. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/gdbmseq.c b/src/gdbmseq.c index bae60a3..4167697 100644 --- a/src/gdbmseq.c +++ b/src/gdbmseq.c @@ -1,7 +1,7 @@ /* gdbmseq.c - Routines to visit all keys. Not in sorted order. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/gdbmsetopt.c b/src/gdbmsetopt.c index c31cdd5..23cdd9a 100644 --- a/src/gdbmsetopt.c +++ b/src/gdbmsetopt.c @@ -1,7 +1,7 @@ /* gdbmsetopt.c - set options pertaining to a GDBM descriptor. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1993, 1994, 2007, 2011 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/gdbmstore.c b/src/gdbmstore.c index 15a2255..8c6064d 100644 --- a/src/gdbmstore.c +++ b/src/gdbmstore.c @@ -1,7 +1,7 @@ /* gdbmstore.c - Add a new key/data pair to the database. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/gdbmsync.c b/src/gdbmsync.c index 83b8e85..7635a75 100644 --- a/src/gdbmsync.c +++ b/src/gdbmsync.c @@ -1,7 +1,7 @@ /* gdbmsync.c - Sync the disk with the in memory state. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/gettext.h b/src/gettext.h index e76b592..35a269d 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -1,5 +1,6 @@ /* Convenience header for conditional use of GNU <libintl.h>. - Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009 Free Software Foundation, Inc. + Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009, + 2013 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -1,7 +1,7 @@ /* hash.c - The gdbm hash function. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify @@ -1,7 +1,7 @@ /* lock.c - Implement basic file locking for GDBM. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2008, 2011 Free Software Foundation, Inc. + Copyright (C) 2008, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1,5 +1,5 @@ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1,5 +1,5 @@ /* This file is part of GDBM. - Copyright (C) 2007, 2011 Free Software Foundation, Inc. + Copyright (C) 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/parseopt.c b/src/parseopt.c index 7536a79..cd175c5 100644 --- a/src/parseopt.c +++ b/src/parseopt.c @@ -1,5 +1,5 @@ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/progname.c b/src/progname.c index 4bcba4c..f008615 100644 --- a/src/progname.c +++ b/src/progname.c @@ -1,5 +1,5 @@ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/proto.h b/src/proto.h index 83ec671..1b7a40a 100644 --- a/src/proto.h +++ b/src/proto.h @@ -1,7 +1,7 @@ /* proto.h - The prototypes for the dbm routines. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/systems.h b/src/systems.h index 7bf072a..3ebfe21 100644 --- a/src/systems.h +++ b/src/systems.h @@ -1,7 +1,7 @@ /* systems.h - Most of the system dependant code and defines are here. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/update.c b/src/update.c index faefe4f..60e46a9 100644 --- a/src/update.c +++ b/src/update.c @@ -1,7 +1,7 @@ /* update.c - The routines for updating the file to a consistent state. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify diff --git a/src/version.c b/src/version.c index b4b213c..8a0a879 100644 --- a/src/version.c +++ b/src/version.c @@ -1,7 +1,7 @@ /* version.c - This is file contains the version number for gdbm source. */ /* This file is part of GDBM, the GNU data base manager. - Copyright (C) 1990, 1991, 1993, 2007, 2011 Free Software Foundation, + Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify |