aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-17 17:57:30 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-08-17 17:57:30 +0000
commite22604d840c4db32fed14e59f56c5e4f419692d8 (patch)
treedc3260374404d1ce013bbcd1a29164b3e14aef7e
parent360cc1a82c0bebebd70f4890a8dcaa78891c032a (diff)
downloadgdbm-e22604d840c4db32fed14e59f56c5e4f419692d8.tar.gz
gdbm-e22604d840c4db32fed14e59f56c5e4f419692d8.tar.bz2
Introduce new error code.
* configure.ac, NEWS: Raise patchlevel to 90. * src/gdbm.h.in: Enclose entire file in conditional extern "C". (GDBM_FILE_STAT_ERROR): New error code. (_GDBM_MAX_ERRNO): Update. * src/gdbmerrno.c (gdbm_errlist): Update. * src/gdbmopen.c: Set GDBM_FILE_STAT_ERROR on fstat failure. * src/gdbmreorg.c: Likewise. * src/mmap.c: Likewise. * src/systems.h: Include errno.h * gdbm.texinfo: Document GDBM_FILE_STAT_ERROR.
-rw-r--r--ChangeLog17
-rw-r--r--NEWS7
-rw-r--r--configure.ac2
-rw-r--r--doc/gdbm.texinfo5
-rw-r--r--po/Makefile557
-rw-r--r--src/gdbm.h.in23
-rw-r--r--src/gdbmerrno.c3
-rw-r--r--src/gdbmopen.c13
-rw-r--r--src/gdbmreorg.c10
-rw-r--r--src/mmap.c10
-rw-r--r--src/systems.h1
11 files changed, 65 insertions, 583 deletions
diff --git a/ChangeLog b/ChangeLog
index d332413..460ab4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
12011-08-17 Sergey Poznyakoff <gray@gnu.org.ua>
2
3 Introduce new error code.
4
5 * configure.ac, NEWS: Raise patchlevel to 90.
6 * src/gdbm.h.in: Enclose entire file in conditional
7 extern "C".
8 (GDBM_FILE_STAT_ERROR): New error code.
9 (_GDBM_MAX_ERRNO): Update.
10 * src/gdbmerrno.c (gdbm_errlist): Update.
11 * src/gdbmopen.c: Set GDBM_FILE_STAT_ERROR on fstat
12 failure.
13 * src/gdbmreorg.c: Likewise.
14 * src/mmap.c: Likewise.
15 * src/systems.h: Include errno.h
16 * gdbm.texinfo: Document GDBM_FILE_STAT_ERROR.
17
12011-08-16 Sergey Poznyakoff <gray@gnu.org.ua> 182011-08-16 Sergey Poznyakoff <gray@gnu.org.ua>
2 19
3 Minor housekeeping for Gnits compliance. 20 Minor housekeeping for Gnits compliance.
diff --git a/NEWS b/NEWS
index 3756252..47683a6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,9 +1,14 @@
1GNU dbm NEWS -- history of user-visible changes. 2011-08-13 1GNU dbm NEWS -- history of user-visible changes. 2011-08-17
2Copyright (C) 1990-2011 Free Software Foundation, Inc. 2Copyright (C) 1990-2011 Free Software Foundation, Inc.
3See the end of file for copying conditions. 3See the end of file for copying conditions.
4 4
5Please send gdbm bug reports to <bug-gdbm@gnu.org>. 5Please send gdbm bug reports to <bug-gdbm@gnu.org>.
6 6
7Version 1.9.90 (Git)
8
9* Internationalization
10
11
7Version 1.9.1 12Version 1.9.1
8 13
9* Bugfix 14* Bugfix
diff --git a/configure.ac b/configure.ac
index 23da438..bd6c591 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@
16 16
17m4_define([_GDBM_VERSION_MAJOR], 1) 17m4_define([_GDBM_VERSION_MAJOR], 1)
18m4_define([_GDBM_VERSION_MINOR], 9) 18m4_define([_GDBM_VERSION_MINOR], 9)
19m4_define([_GDBM_VERSION_PATCH], 1) 19m4_define([_GDBM_VERSION_PATCH], 90)
20 20
21AC_INIT([gdbm], 21AC_INIT([gdbm],
22 _GDBM_VERSION_MAJOR._GDBM_VERSION_MINOR[]m4_ifdef([_GDBM_VERSION_PATCH],._GDBM_VERSION_PATCH), 22 _GDBM_VERSION_MAJOR._GDBM_VERSION_MINOR[]m4_ifdef([_GDBM_VERSION_PATCH],._GDBM_VERSION_PATCH),
diff --git a/doc/gdbm.texinfo b/doc/gdbm.texinfo
index 3463b84..98e3bc3 100644
--- a/doc/gdbm.texinfo
+++ b/doc/gdbm.texinfo
@@ -1459,6 +1459,11 @@ the file it tries to open has a wrong magic number.
1459@item GDBM_BAD_OPEN_FLAGS 1459@item GDBM_BAD_OPEN_FLAGS
1460Set by the @code{gdbm_export} function if supplied an invalid 1460Set by the @code{gdbm_export} function if supplied an invalid
1461@var{flags} argument. @xref{Flat files}. 1461@var{flags} argument. @xref{Flat files}.
1462
1463@kwindex GDBM_FILE_STAT_ERROR
1464@item GDBM_FILE_STAT_ERROR
1465Getting information about a disk file failed. The system @code{errno}
1466will give more details about the error.
1462@end table 1467@end table
1463 1468
1464@node Compatibility 1469@node Compatibility
diff --git a/po/Makefile b/po/Makefile
deleted file mode 100644
index 2a987f0..0000000
--- a/po/Makefile
+++ /dev/null
@@ -1,557 +0,0 @@
1# Makefile for PO directory in any package using GNU gettext.
2# Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
3#
4# This file can be copied and used freely without restrictions. It can
5# be used in projects which are not available under the GNU General Public
6# License but which still want to provide support for the GNU gettext
7# functionality.
8# Please note that the actual code of GNU gettext is covered by the GNU
9# General Public License and is *not* in the public domain.
10#
11# Origin: gettext-0.18
12GETTEXT_MACRO_VERSION = 0.18
13
14PACKAGE = gdbm
15VERSION = 1.9.1
16PACKAGE_BUGREPORT = bug-gdbm@gnu.org
17
18SHELL = /bin/sh
19
20
21srcdir = .
22top_srcdir = ..
23
24
25prefix = /home/gray/alpha
26exec_prefix = ${prefix}
27datarootdir = ${prefix}/share
28datadir = ${datarootdir}
29localedir = ${datarootdir}/locale
30gettextsrcdir = $(datadir)/gettext/po
31
32INSTALL = /usr/bin/ginstall -c
33INSTALL_DATA = ${INSTALL} -m 644
34
35# We use $(mkdir_p).
36# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
37# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
38# ${SHELL} /home/gray/gnu/gdbm/build-aux/install-sh does not start with $(SHELL), so we add it.
39# In automake >= 1.10, /usr/bin/mkdir -p is derived from ${MKDIR_P}, which is defined
40# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
41# versions, $(mkinstalldirs) and $(install_sh) are unused.
42mkinstalldirs = $(SHELL) ${SHELL} /home/gray/gnu/gdbm/build-aux/install-sh -d
43install_sh = $(SHELL) ${SHELL} /home/gray/gnu/gdbm/build-aux/install-sh
44MKDIR_P = /usr/bin/mkdir -p
45mkdir_p = /usr/bin/mkdir -p
46
47GMSGFMT_ = /usr/bin/msgfmt
48GMSGFMT_no = /usr/bin/msgfmt
49GMSGFMT_yes = /usr/bin/msgfmt
50GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT))
51MSGFMT_ = /usr/bin/msgfmt
52MSGFMT_no = /usr/bin/msgfmt
53MSGFMT_yes = /usr/bin/msgfmt
54MSGFMT = $(MSGFMT_$(USE_MSGCTXT))
55XGETTEXT_ = /usr/bin/xgettext
56XGETTEXT_no = /usr/bin/xgettext
57XGETTEXT_yes = /usr/bin/xgettext
58XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT))
59MSGMERGE = msgmerge
60MSGMERGE_UPDATE = /usr/bin/msgmerge --update
61MSGINIT = msginit
62MSGCONV = msgconv
63MSGFILTER = msgfilter
64
65POFILES =
66GMOFILES =
67UPDATEPOFILES =
68DUMMYPOFILES =
69DISTFILES.common = Makefile.in.in remove-potcdate.sin \
70$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
71DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
72$(POFILES) $(GMOFILES) \
73$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
74
75POTFILES = \
76 ../src/gdbmerrno.c \
77 ../src/bucket.c \
78 ../src/falloc.c \
79 ../src/findkey.c \
80 ../src/gdbmseq.c \
81 ../src/testgdbm.c \
82 ../src/update.c
83CATALOGS =
84
85# Makevars gets inserted here. (Don't remove this line!)
86# Gettext variables for GDBM
87# Copyright (C) 2011 Free Software Foundation, Inc.
88#
89# GDBM is free software; you can redistribute it and/or modify
90# it under the terms of the GNU General Public License as published by
91# the Free Software Foundation; either version 3, or (at your option)
92# any later version.
93#
94# GDBM is distributed in the hope that it will be useful,
95# but WITHOUT ANY WARRANTY; without even the implied warranty of
96# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
97# GNU General Public License for more details.
98#
99# You should have received a copy of the GNU General Public License
100# along with GDBM. If not, see <http://www.gnu.org/licenses/>.
101
102# Usually the message domain is the same as the package name.
103DOMAIN = $(PACKAGE)
104
105# These two variables depend on the location of this directory.
106subdir = po
107top_builddir = ..
108
109# These options get passed to xgettext.
110XGETTEXT_OPTIONS = \
111 --keyword=_\
112 --keyword=N_\
113 --flag=_:1:pass-c-format\
114 --flag=N_:1:pass-c-format\
115 --flag=error:2:c-format
116
117# This is the copyright holder that gets inserted into the header of the
118# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
119# package. (Note that the msgstr strings, extracted from the package's
120# sources, belong to the copyright holder of the package.) Translators are
121# expected to transfer the copyright for their translations to this person
122# or entity, or to disclaim their copyright. The empty string stands for
123# the public domain; in this case the translators are expected to disclaim
124# their copyright.
125COPYRIGHT_HOLDER = Free Software Foundation, Inc.
126
127# This is the email address or URL to which the translators shall report
128# bugs in the untranslated strings:
129# - Strings which are not entire sentences, see the maintainer guidelines
130# in the GNU gettext documentation, section 'Preparing Strings'.
131# - Strings which use unclear terms or require additional context to be
132# understood.
133# - Strings which make invalid assumptions about notation of date, time or
134# money.
135# - Pluralisation problems.
136# - Incorrect English spelling.
137# - Incorrect formatting.
138# It can be your email address, or a mailing list address where translators
139# can write to without being subscribed, or the URL of a web page through
140# which the translators can contact you.
141MSGID_BUGS_ADDRESS = bug-gdbm@gnu.org
142
143# This is the list of locale categories, beyond LC_MESSAGES, for which the
144# message catalogs shall be used. It is usually empty.
145EXTRA_LOCALE_CATEGORIES =
146
147.SUFFIXES:
148.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
149
150.po.mo:
151 @echo "$(MSGFMT) -c -o $@ $<"; \
152 $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
153
154.po.gmo: