Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F37955036
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
5 KB
Subscribers
None
View Options
diff --git a/ChangeLog b/ChangeLog
index 269803c..cc67577 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,77 +1,79 @@
2003-06-01 Marcus Brinkmann <marcus@g10code.de>
+ * src/Makefile.am (EXTRA_DIST): Add err-sources.h and err-codes.h.
+
* src/mkerrcodes1.awk: New file.
* src/mkerrcodes2.awk: New file.
* src/mkerrnos.awk: New file.
* src/errnos.in: New file.
* src/code-from-errno.c: New file.
* src/code-to-errno.c: New file.
* src/Makefile.am (libgpg_error_la_SOURCES): Remove err-sources.h
and err-codes.h. Add code-to-errno.c and code-from-errno.c.
(code-to-errno.h): New target.
(code-from-errno.h): Likewise.
(EXTRA_DIST): Add mkerrnos.awk, errnos.in, and mkerrcodes1.awk.
(BUILT_SOURCES): Add code-to-errno.h and code-from-errno.h.
(CLEANFILES): Likewise.
* src/strerror.c (gpg_strerror): Use strerror for system errors.
* src/err-codes.h.in: Add 16382 (Unknown system error).
* src/gpg-error.h (gpg_err_code_t): Add system errors.
(GPG_ERR_CODE_DIM): Change to 32768.
(GPG_ERR_SYSTEM_ERROR): New macro.
(gpg_err_code_from_errno): New prototype.
(gpg_err_code_to_errno): Likewise.
* src/Makefile.am (nobase_include_HEADERS): Rename target to ...
(include_HEADERS): ... this. Change file to gpg-error.h
(libgpg_error_la_SOURCES): Change gpg/error.h to gpg-error.h.
* src/gpg/error.h: Move to ...
* src/gpg-error.h: ... here. New file.
* src/strerror.c: Include <gpg-error.h>, not <gpg/error.h>.
* src/strsource.c: Likewise.
* src/gpg/error.h (gpg_error_t): Change type to unsigned int, not
long.
2003-05-26 Marcus Brinkmann <marcus@g10code.de>
* src/gpg/error.h (gpg_make_error): Only OR in the error source if
there is an error, this allows to test for success with "if (!err)"
and similar tests.
2003-05-15 Marcus Brinkmann <marcus@g10code.de>
* src/mkstrtable.awk: Add exception clause to license about the
output of the script.
* configure.ac: Change license to LGPL 2.1 or later.
* Makefile.am: Likewise.
* src/Makefile.am: Likewise.
* src/err-codes.h.in: Likewise.
* src/err-sources.h.in: Likewise.
* src/strsource.c: Likewise.
* src/strerror.c: Likewise.
* src/gpg/error.h: Likewise.
* tests/Makefile.am: Likewise.
* src/mkstrtable.awk: New variable HEADER. Copy input until first
line with an actual code and description occurs.
* src/err-codes.h.in: Uncomment license, so it is copied into the
output.
* src/err-sources.h.in: Likewise.
2003-05-15 Marcus Brinkmann <marcus@g10code.de>
* COPYING.LIB: New file.
2003-05-15 Marcus Brinkmann <marcus@g10code.de>
* Initial check-in.
Copyright 2003 g10 Code GmbH
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
modifications, as long as this notice is preserved.
This file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/Makefile.am b/src/Makefile.am
index 105e40e..266c217 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,49 +1,53 @@
# Makefile.am for libgpg-error.
# Copyright (C) 2003 g10 Code GmbH
#
# This file is part of libgpg-error.
#
# libgpg-error is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# libgpg-error is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
-
+
+# We distribute the generated sources err-sources.h and err-codes.h,
+# because they are needed to build the po directory, and they don't
+# depend on the configuration anyway.
EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \
- mkerrnos.awk errnos.in mkerrcodes1.awk mkerrcodes2.awk
+ mkerrnos.awk errnos.in mkerrcodes1.awk mkerrcodes2.awk \
+ err-sources.h err-codes.h
BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h
CLEANFILES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h
include_HEADERS = gpg-error.h
lib_LTLIBRARIES = libgpg-error.la
libgpg_error_la_LDFLAGS = -version-info \
@LIBGPG_ERROR_LT_CURRENT@:@LIBGPG_ERROR_LT_REVISION@:@LIBGPG_ERROR_LT_AGE@
libgpg_error_la_SOURCES = gpg-error.h gettext.h \
strsource.c strerror.c code-to-errno.c code-from-errno.c
libgpg_error_la_LIBADD = @LTLIBINTL@
err-sources.h: Makefile mkstrtable.awk err-sources.h.in
$(AWK) -f $(srcdir)/mkstrtable.awk $(srcdir)/err-sources.h.in >$@
err-codes.h: Makefile mkstrtable.awk err-codes.h.in
$(AWK) -f $(srcdir)/mkstrtable.awk $(srcdir)/err-codes.h.in >$@
code-to-errno.h: Makefile mkerrnos.awk errnos.in
$(AWK) -f $(srcdir)/mkerrnos.awk $(srcdir)/errnos.in >$@
code-from-errno.h: Makefile mkerrcodes1.awk errnos.in
$(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in \
| $(CPP) - | grep GPG_ERR_ | sort -n \
| $(AWK) -f $(srcdir)/mkerrcodes2.awk >$@
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Mar 19, 6:07 PM (1 d, 17 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7e/24/a79a640e3facc6e13fe09c84b3a5
Attached To
rE libgpg-error
Event Timeline
Log In to Comment