Hello community,
here is the log from the commit of package libgpg-error for openSUSE:Factory checked in at 2016-07-27 16:07:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgpg-error (Old)
and /work/SRC/openSUSE:Factory/.libgpg-error.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgpg-error"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libgpg-error/libgpg-error.changes 2016-07-12 23:45:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libgpg-error.new/libgpg-error.changes 2016-07-27 16:07:13.000000000 +0200
@@ -1,0 +2,9 @@
+Mon Jul 18 22:21:21 UTC 2016 - astieger@suse.com
+
+- update to 1.24:
+ * Fixes a bug in es_fclose_snatch when used used after es_fseek.
+ * Fixes building without thread support.
+ * New configure option --disable-tests.
+
+
+-------------------------------------------------------------------
Old:
----
libgpg-error-1.23.tar.bz2
libgpg-error-1.23.tar.bz2.sig
New:
----
libgpg-error-1.24.tar.bz2
libgpg-error-1.24.tar.bz2.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libgpg-error.spec ++++++
--- /var/tmp/diff_new_pack.E4wywN/_old 2016-07-27 16:07:14.000000000 +0200
+++ /var/tmp/diff_new_pack.E4wywN/_new 2016-07-27 16:07:14.000000000 +0200
@@ -17,7 +17,7 @@
Name: libgpg-error
-Version: 1.23
+Version: 1.24
Release: 0
Summary: Library That Defines Common Error Values for All GnuPG Components
License: GPL-2.0+ and LGPL-2.1+
++++++ libgpg-error-1.23.tar.bz2 -> libgpg-error-1.24.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/ChangeLog new/libgpg-error-1.24/ChangeLog
--- old/libgpg-error-1.23/ChangeLog 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/ChangeLog 2016-07-14 09:50:29.000000000 +0200
@@ -1,3 +1,55 @@
+2016-07-14 Werner Koch
+
+ Release 1.24.
+
+2016-07-13 Werner Koch
+
+ build: Update config.{guess,sub} to {2016-05-15,2016-06-20}.
+ * build-aux/config.guess: Update.
+ * build-aux/config.sub: Update.
+
+2016-07-12 Yann E. MORIN
+
+ Add an option to disable tests.
+ * configure.ac: add an option to enable/disable building tests
+ * Makefile.am: conditionally build tests
+
+ Fix build without threads.
+ * src/gen-posix-lock-obj.c: properly guard inclusioin of pthread.h
+ * tests/t-lock.c: likewise
+ * tests/t-poll.c: likewise
+
+2016-07-05 Andre Heinecke
+
+ Define EWOULDBLOCK in case it is not defined.
+ * src/estream.c (EWOULDBLOCK): Define fallback.
+
+2016-07-02 Werner Koch
+
+ yat2m: Fix table formatting.
+ * doc/yat2m.c (proc_texi_cmd): Use .TQ for @itemx. Print a .P at the
+ end of a level 0 table.
+
+2016-06-27 Werner Koch
+
+ estream: Fix bug es_fclose_snatch if a seek has been used.
+ * src/estream.c (func_mem_ioctl): Set LEN from DATA_LEN.
+
+2016-06-25 Werner Koch
+
+ w32: Silence compiler warnings about redefined macros.
+ * src/estream.c (S_IRGRP) [W32]: Protect against redefinition.
+
+ doc: Update yat2m.c.
+ * doc/yat2m.c: Update from gnupg.
+
+2016-06-24 Werner Koch
+
+ estream: Remove two compiler warning.
+ * src/estream.c (func_file_create): Remove dead assignment.
+ (doreadline): Do not decrement SPACE_LEFT before breaking the loop.
+ Add an extra block to limit the scope of that variable.
+
2016-06-15 Werner Koch
Release 1.23.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/Makefile.am new/libgpg-error-1.24/Makefile.am
--- old/libgpg-error-1.23/Makefile.am 2016-02-08 19:40:14.000000000 +0100
+++ new/libgpg-error-1.24/Makefile.am 2016-07-12 10:42:56.000000000 +0200
@@ -39,7 +39,13 @@
doc =
endif
-SUBDIRS = m4 src $(doc) tests po $(lang_subdirs)
+if BUILD_TESTS
+tests = tests
+else
+tests =
+endif
+
+SUBDIRS = m4 src $(doc) $(tests) po $(lang_subdirs)
dist-hook: gen-ChangeLog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/Makefile.in new/libgpg-error-1.24/Makefile.in
--- old/libgpg-error-1.23/Makefile.in 2016-06-15 16:10:02.000000000 +0200
+++ new/libgpg-error-1.24/Makefile.in 2016-07-14 09:49:41.000000000 +0200
@@ -397,7 +397,9 @@
@LANGUAGES_SOME_TRUE@lang_subdirs = lang
@BUILD_DOC_FALSE@doc =
@BUILD_DOC_TRUE@doc = doc
-SUBDIRS = m4 src $(doc) tests po $(lang_subdirs)
+@BUILD_TESTS_FALSE@tests =
+@BUILD_TESTS_TRUE@tests = tests
+SUBDIRS = m4 src $(doc) $(tests) po $(lang_subdirs)
gen_start_date = 2011-12-01T00:00:00
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/NEWS new/libgpg-error-1.24/NEWS
--- old/libgpg-error-1.23/NEWS 2016-06-15 16:06:38.000000000 +0200
+++ new/libgpg-error-1.24/NEWS 2016-07-14 09:46:33.000000000 +0200
@@ -1,3 +1,13 @@
+Noteworthy changes in version 1.24 (2016-07-14) [C19/A19/R1)
+-----------------------------------------------
+
+ * Fixes a bug in es_fclose_snatch when used used after es_fseek.
+
+ * Fixes building without thread support.
+
+ * New configure option --disable-tests.
+
+
Noteworthy changes in version 1.23 (2016-06-15) [C19/A19/R0)
-----------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/VERSION new/libgpg-error-1.24/VERSION
--- old/libgpg-error-1.23/VERSION 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/VERSION 2016-07-14 09:50:29.000000000 +0200
@@ -1 +1 @@
-1.23
+1.24
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/build-aux/config.guess new/libgpg-error-1.24/build-aux/config.guess
--- old/libgpg-error-1.23/build-aux/config.guess 2016-04-25 10:25:08.000000000 +0200
+++ new/libgpg-error-1.24/build-aux/config.guess 2016-07-13 18:59:14.000000000 +0200
@@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2016 Free Software Foundation, Inc.
-timestamp='2016-04-02'
+timestamp='2016-05-15'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -186,9 +186,12 @@
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
esac
# The Operating System including object format, if it has switched
- # to ELF recently, or will in the future.
+ # to ELF recently (or will in the future) and ABI.
case "${UNAME_MACHINE_ARCH}" in
- arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax)
+ earm*)
+ os=netbsdelf
+ ;;
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ELF__
@@ -1408,18 +1411,17 @@
cat >&2 <http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
-If the version you run ($0) is already up to date, please
-send the following data and any information you think might be
-pertinent to in order to provide the needed
-information to handle your system.
+If $0 has already been updated, send the following data and any
+information you think might be pertinent to config-patches@gnu.org to
+provide the necessary information to handle your system.
config.guess timestamp = $timestamp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/build-aux/config.sub new/libgpg-error-1.24/build-aux/config.sub
--- old/libgpg-error-1.23/build-aux/config.sub 2016-04-25 10:25:08.000000000 +0200
+++ new/libgpg-error-1.24/build-aux/config.sub 2016-07-13 18:59:14.000000000 +0200
@@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2016 Free Software Foundation, Inc.
-timestamp='2016-03-30'
+timestamp='2016-06-20'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -643,6 +643,14 @@
basic_machine=m68k-bull
os=-sysv3
;;
+ e500v[12])
+ basic_machine=powerpc-unknown
+ os=$os"spe"
+ ;;
+ e500v[12]-*)
+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=$os"spe"
+ ;;
ebmon29k)
basic_machine=a29k-amd
os=-ebmon
@@ -1389,7 +1397,7 @@
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -chorusos* | -chorusrdb* | -cegcc* \
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
@@ -1399,7 +1407,7 @@
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
- | -onefs* | -tirtos*)
+ | -onefs* | -tirtos* | -phoenix*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/configure new/libgpg-error-1.24/configure
--- old/libgpg-error-1.23/configure 2016-06-15 16:10:04.000000000 +0200
+++ new/libgpg-error-1.24/configure 2016-07-14 09:49:42.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libgpg-error 1.23.
+# Generated by GNU Autoconf 2.69 for libgpg-error 1.24.
#
# Report bugs to https://bugs.gnupg.org.
#
@@ -590,8 +590,8 @@
# Identity of this package.
PACKAGE_NAME='libgpg-error'
PACKAGE_TARNAME='libgpg-error'
-PACKAGE_VERSION='1.23'
-PACKAGE_STRING='libgpg-error 1.23'
+PACKAGE_VERSION='1.24'
+PACKAGE_STRING='libgpg-error 1.24'
PACKAGE_BUGREPORT='https://bugs.gnupg.org'
PACKAGE_URL=''
@@ -638,6 +638,8 @@
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
+BUILD_TESTS_FALSE
+BUILD_TESTS_TRUE
BUILD_DOC_FALSE
BUILD_DOC_TRUE
LANGUAGES_SOME_FALSE
@@ -831,6 +833,7 @@
enable_build_timestamp
enable_languages
enable_doc
+enable_tests
'
ac_precious_vars='build_alias
host_alias
@@ -1382,7 +1385,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libgpg-error 1.23 to adapt to many kinds of systems.
+\`configure' configures libgpg-error 1.24 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1452,7 +1455,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libgpg-error 1.23:";;
+ short | recursive ) echo "Configuration of libgpg-error 1.24:";;
esac
cat <<\_ACEOF
@@ -1488,6 +1491,7 @@
(default is the current time in ISO-8601 format)
--disable-languages do not build support for other languages than C
--disable-doc do not build the documentation
+ --disable-tests do not build the tests
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -1581,7 +1585,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libgpg-error configure 1.23
+libgpg-error configure 1.24
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2233,7 +2237,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libgpg-error $as_me 1.23, which was
+It was created by libgpg-error $as_me 1.24, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2590,14 +2594,14 @@
# Note that added error codes don't constitute an interface change.
LIBGPG_ERROR_LT_CURRENT=19
LIBGPG_ERROR_LT_AGE=19
-LIBGPG_ERROR_LT_REVISION=0
+LIBGPG_ERROR_LT_REVISION=1
################################################
-VERSION_NUMBER=0x011700
+VERSION_NUMBER=0x011800
ac_aux_dir=
@@ -3115,7 +3119,7 @@
# Define the identity of the package.
PACKAGE='libgpg-error'
- VERSION='1.23'
+ VERSION='1.24'
cat >>confdefs.h <<_ACEOF
@@ -16747,7 +16751,7 @@
#
# Provide information about the build.
#
-BUILD_REVISION="e444cac"
+BUILD_REVISION="bb1269c"
cat >>confdefs.h <<_ACEOF
@@ -16756,7 +16760,7 @@
BUILD_VERSION=`echo "$PACKAGE_VERSION"|sed 's/\([0-9.]*\).*/\1./'`
-BUILD_VERSION="${BUILD_VERSION}0.58436"
+BUILD_VERSION="${BUILD_VERSION}0.47890"
BUILD_FILEVERSION=`echo "${BUILD_VERSION}" | tr . ,`
@@ -16812,6 +16816,22 @@
fi
+build_tests=yes
+# Check whether --enable-tests was given.
+if test "${enable_tests+set}" = set; then :
+ enableval=$enable_tests; build_tests=$enableval
+else
+ build_tests=yes
+fi
+
+ if test "x$build_tests" != xno; then
+ BUILD_TESTS_TRUE=
+ BUILD_TESTS_FALSE='#'
+else
+ BUILD_TESTS_TRUE='#'
+ BUILD_TESTS_FALSE=
+fi
+
#
# Substitution
@@ -16998,6 +17018,10 @@
as_fn_error $? "conditional \"BUILD_DOC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
+ as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0
@@ -17395,7 +17419,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libgpg-error $as_me 1.23, which was
+This file was extended by libgpg-error $as_me 1.24, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -17461,7 +17485,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-libgpg-error config.status 1.23
+libgpg-error config.status 1.24
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
@@ -19589,7 +19613,7 @@
echo "
$PACKAGE_NAME-$PACKAGE_VERSION prepared for make
- Revision: e444cac (58436)
+ Revision: bb1269c (47890)
Platform: $host$tmp
"
if test "$gcry_cv_gcc_attribute_aligned" != "yes" ; then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/configure.ac new/libgpg-error-1.24/configure.ac
--- old/libgpg-error-1.23/configure.ac 2016-06-15 16:06:30.000000000 +0200
+++ new/libgpg-error-1.24/configure.ac 2016-07-14 09:46:23.000000000 +0200
@@ -27,7 +27,7 @@
# another commit, and a push so that the git magic is able to work.
# See below for the LT versions.
m4_define([mym4_version_major], [1])
-m4_define([mym4_version_minor], [23])
+m4_define([mym4_version_minor], [24])
# Below is m4 magic to extract and compute the revision number, the
# decimalized short revision number, a beta version string, and a flag
@@ -53,7 +53,7 @@
# Note that added error codes don't constitute an interface change.
LIBGPG_ERROR_LT_CURRENT=19
LIBGPG_ERROR_LT_AGE=19
-LIBGPG_ERROR_LT_REVISION=0
+LIBGPG_ERROR_LT_REVISION=1
################################################
AC_SUBST(LIBGPG_ERROR_LT_CURRENT)
@@ -533,6 +533,11 @@
build_doc=$enableval, build_doc=yes)
AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno])
+build_tests=yes
+AC_ARG_ENABLE([tests], AC_HELP_STRING([--disable-tests],
+ [do not build the tests]),
+ build_tests=$enableval, build_tests=yes)
+AM_CONDITIONAL([BUILD_TESTS], [test "x$build_tests" != xno])
#
# Substitution
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/doc/Makefile.am new/libgpg-error-1.24/doc/Makefile.am
--- old/libgpg-error-1.23/doc/Makefile.am 2016-02-08 19:33:18.000000000 +0100
+++ new/libgpg-error-1.24/doc/Makefile.am 2016-06-25 10:52:19.000000000 +0200
@@ -65,4 +65,4 @@
# been modified. This is required so that the version.texi magic
# updates the release date.
gpgrt.texi : $(gpgrt_TEXINFOS)
- touch $(srcdir)/gcrypt.texi
+ touch $(srcdir)/gpgrt.texi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/doc/Makefile.in new/libgpg-error-1.24/doc/Makefile.in
--- old/libgpg-error-1.23/doc/Makefile.in 2016-06-15 16:10:02.000000000 +0200
+++ new/libgpg-error-1.24/doc/Makefile.in 2016-07-14 09:49:41.000000000 +0200
@@ -910,7 +910,7 @@
# been modified. This is required so that the version.texi magic
# updates the release date.
gpgrt.texi : $(gpgrt_TEXINFOS)
- touch $(srcdir)/gcrypt.texi
+ touch $(srcdir)/gpgrt.texi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/doc/errorref.txt new/libgpg-error-1.24/doc/errorref.txt
--- old/libgpg-error-1.23/doc/errorref.txt 2016-06-15 16:01:55.000000000 +0200
+++ new/libgpg-error-1.24/doc/errorref.txt 2016-07-12 10:43:01.000000000 +0200
@@ -687,6 +687,7 @@
GPG_ERR_UNEXPECTED_MSG Unexpected message
+ GNUPG: - An unexpected WKS message was received.
NTBTLS: - Unexpected message received.
GPG_ERR_COMPR_FAILED Compression or decompression failed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/doc/gpgrt.info new/libgpg-error-1.24/doc/gpgrt.info
--- old/libgpg-error-1.23/doc/gpgrt.info 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/doc/gpgrt.info 2016-07-14 09:50:28.000000000 +0200
@@ -1,6 +1,6 @@
This is gpgrt.info, produced by makeinfo version 5.2 from gpgrt.texi.
-This manual is for Libgpg-error (version 1.23, 15 October 2014), which
+This manual is for Libgpg-error (version 1.24, 15 October 2014), which
is a library for code used by all GnuPG related packages.
Copyright (C) 2014 g10 Code GmbH
@@ -22,7 +22,7 @@
The Libgpg-error Library
************************
-This manual is for Libgpg-error (version 1.23, 15 October 2014), which
+This manual is for Libgpg-error (version 1.24, 15 October 2014), which
is a library for code used by all GnuPG related packages.
Copyright (C) 2014 g10 Code GmbH
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/doc/stamp-vti new/libgpg-error-1.24/doc/stamp-vti
--- old/libgpg-error-1.23/doc/stamp-vti 2016-06-15 16:10:37.000000000 +0200
+++ new/libgpg-error-1.24/doc/stamp-vti 2016-07-14 09:50:27.000000000 +0200
@@ -1,4 +1,4 @@
@set UPDATED 15 October 2014
@set UPDATED-MONTH October 2014
-@set EDITION 1.23
-@set VERSION 1.23
+@set EDITION 1.24
+@set VERSION 1.24
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/doc/version.texi new/libgpg-error-1.24/doc/version.texi
--- old/libgpg-error-1.23/doc/version.texi 2016-06-15 16:10:37.000000000 +0200
+++ new/libgpg-error-1.24/doc/version.texi 2016-07-14 09:50:27.000000000 +0200
@@ -1,4 +1,4 @@
@set UPDATED 15 October 2014
@set UPDATED-MONTH October 2014
-@set EDITION 1.23
-@set VERSION 1.23
+@set EDITION 1.24
+@set VERSION 1.24
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/doc/yat2m.c new/libgpg-error-1.24/doc/yat2m.c
--- old/libgpg-error-1.23/doc/yat2m.c 2016-02-08 19:33:18.000000000 +0100
+++ new/libgpg-error-1.24/doc/yat2m.c 2016-07-02 16:32:25.000000000 +0200
@@ -1,5 +1,5 @@
/* yat2m.c - Yet Another Texi 2 Man converter
- * Copyright (C) 2005, 2013 g10 Code GmbH
+ * Copyright (C) 2005, 2013, 2015, 2016 g10 Code GmbH
* Copyright (C) 2006, 2008, 2011 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
@@ -104,6 +104,29 @@
#include
+#if __GNUC__
+# define MY_GCC_VERSION (__GNUC__ * 10000 \
+ + __GNUC_MINOR__ * 100 \
+ + __GNUC_PATCHLEVEL__)
+#else
+# define MY_GCC_VERSION 0
+#endif
+
+#if MY_GCC_VERSION >= 20500
+# define ATTR_PRINTF(f, a) __attribute__ ((format(printf,f,a)))
+# define ATTR_NR_PRINTF(f, a) __attribute__ ((noreturn, format(printf,f,a)))
+#else
+# define ATTR_PRINTF(f, a)
+# define ATTR_NR_PRINTF(f, a)
+#endif
+#if MY_GCC_VERSION >= 30200
+# define ATTR_MALLOC __attribute__ ((__malloc__))
+#else
+# define ATTR_MALLOC
+#endif
+
+
+
#define PGM "yat2m"
#define VERSION "1.0"
@@ -120,6 +143,7 @@
static int debug;
static const char *opt_source;
static const char *opt_release;
+static const char *opt_date;
static const char *opt_select;
static const char *opt_include;
static int opt_store;
@@ -213,8 +237,16 @@
static void proc_texi_buffer (FILE *fp, const char *line, size_t len,
int *table_level, int *eol_action);
+static void die (const char *format, ...) ATTR_NR_PRINTF(1,2);
+static void err (const char *format, ...) ATTR_PRINTF(1,2);
+static void inf (const char *format, ...) ATTR_PRINTF(1,2);
+static void *xmalloc (size_t n) ATTR_MALLOC;
+static void *xcalloc (size_t n, size_t m) ATTR_MALLOC;
+
+/*-- Functions --*/
+
/* Print diagnostic message and exit with failure. */
static void
die (const char *format, ...)
@@ -323,8 +355,12 @@
{
static char buffer[11+5];
struct tm *tp;
- time_t atime = time (NULL);
+ time_t atime;
+ if (opt_date && *opt_date)
+ atime = strtoul (opt_date, NULL, 10);
+ else
+ atime = time (NULL);
if (atime < 0)
strcpy (buffer, "????" "-??" "-??");
else
@@ -553,7 +589,7 @@
for (i=0; i < thepage.n_sections; i++)
if (!thepage.sections[i].name)
break;
- if (i < thepage.n_sections)
+ if (thepage.n_sections && i < thepage.n_sections)
sect = thepage.sections + i;
else
{
@@ -656,6 +692,7 @@
*p++ = 0;
fprintf (fp, ".TH %s %s %s \"%s\" \"%s\"\n",
name, p, isodatestring (), opt_release, opt_source);
+ free (name);
return 0;
}
@@ -678,6 +715,7 @@
} cmdtbl[] = {
{ "command", 0, "\\fB", "\\fR" },
{ "code", 0, "\\fB", "\\fR" },
+ { "url", 0, "\\fB", "\\fR" },
{ "sc", 0, "\\fB", "\\fR" },
{ "var", 0, "\\fI", "\\fR" },
{ "samp", 0, "\\(aq", "\\(aq" },
@@ -698,6 +736,7 @@
{ "emph", 0, "\\fI", "\\fR" },
{ "w", 1 },
{ "c", 5 },
+ { "efindex", 1 },
{ "opindex", 1 },
{ "cpindex", 1 },
{ "cindex", 1 },
@@ -707,7 +746,7 @@
{ "subsection", 6, "\n.SS " },
{ "chapheading", 0},
{ "item", 2, ".TP\n.B " },
- { "itemx", 2, ".TP\n.B " },
+ { "itemx", 2, ".TQ\n.B " },
{ "table", 3 },
{ "itemize", 3 },
{ "bullet", 0, "* " },
@@ -754,6 +793,8 @@
{
if ((*table_level)-- > 1)
fputs (".RE\n", fp);
+ else
+ fputs (".P\n", fp);
}
else if (n >= 7 && !memcmp (s, "example", 7)
&& (!n || s[7] == ' ' || s[7] == '\t' || s[7] == '\n'))
@@ -845,7 +886,7 @@
}
else
inf ("texinfo command '%s' not supported (%.*s)", command,
- ((s = memchr (rest, '\n', len)), (s? (s-rest) : len)), rest);
+ (int)((s = memchr (rest, '\n', len)), (s? (s-rest) : len)), rest);
}
if (*rest == '{')
@@ -957,7 +998,7 @@
assert (n <= len);
s += n; len -= n;
s--; len++;
- in_cmd = 0;
+ /* in_cmd = 0; -- doc only */
}
}
@@ -1366,7 +1407,7 @@
}
if (!incfp)
- err ("can't open include file '%s':%s",
+ err ("can't open include file '%s': %s",
incname, strerror (errno));
else
{
@@ -1465,13 +1506,14 @@
"Extract man pages from a Texinfo source.\n\n"
" --source NAME use NAME as source field\n"
" --release STRING use STRING as the release field\n"
+ " --date EPOCH use EPOCH as publication date\n"
" --store write output using @manpage name\n"
" --select NAME only output pages with @manpage NAME\n"
" --verbose enable extra informational output\n"
" --debug enable additional debug output\n"
" --help display this help and exit\n"
" -I DIR also search in include DIR\n"
- " -D gpgone the only useable define\n\n"
+ " -D gpgone the only usable define\n\n"
"With no FILE, or when FILE is -, read standard input.\n\n"
"Report bugs to .");
exit (0);
@@ -1518,6 +1560,15 @@
argc--; argv++;
}
}
+ else if (!strcmp (*argv, "--date"))
+ {
+ argc--; argv++;
+ if (argc)
+ {
+ opt_date = *argv;
+ argc--; argv++;
+ }
+ }
else if (!strcmp (*argv, "--store"))
{
opt_store = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/lang/cl/gpg-error.asd new/libgpg-error-1.24/lang/cl/gpg-error.asd
--- old/libgpg-error-1.23/lang/cl/gpg-error.asd 2016-06-15 16:10:17.000000000 +0200
+++ new/libgpg-error-1.24/lang/cl/gpg-error.asd 2016-07-14 09:50:17.000000000 +0200
@@ -27,7 +27,7 @@
(defsystem gpg-error
:description "Common error values for all GnuPG components."
:author "g10 Code GmbH"
- :version "1.23"
+ :version "1.24"
:licence "LGPL"
:depends-on ("cffi")
:components ((:file "gpg-error-package")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/libgpg-error.spec new/libgpg-error-1.24/libgpg-error.spec
--- old/libgpg-error-1.23/libgpg-error.spec 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/libgpg-error.spec 2016-07-14 09:50:29.000000000 +0200
@@ -1,7 +1,7 @@
# This is a template. The dist target uses it to create the real file.
Summary: libgpg-error
Name: libgpg-error
-Version: 1.23
+Version: 1.24
Release: 1
URL: ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/
Source: ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/%{name}-%{version}.tar.gz
Files old/libgpg-error-1.23/po/cs.gmo and new/libgpg-error-1.24/po/cs.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/cs.po new/libgpg-error-1.24/po/cs.po
--- old/libgpg-error-1.23/po/cs.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/cs.po 2016-07-14 09:50:28.000000000 +0200
@@ -14,7 +14,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.18\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2014-11-27 19:31+0100\n"
"Last-Translator: Petr Pisar \n"
"Language-Team: Czech \n"
Files old/libgpg-error-1.23/po/da.gmo and new/libgpg-error-1.24/po/da.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/da.po new/libgpg-error-1.24/po/da.po
--- old/libgpg-error-1.23/po/da.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/da.po 2016-07-14 09:50:28.000000000 +0200
@@ -10,7 +10,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.10\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2014-11-17 20:08+0100\n"
"Last-Translator: Joe Hansen \n"
"Language-Team: Danish \n"
Files old/libgpg-error-1.23/po/de.gmo and new/libgpg-error-1.24/po/de.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/de.po new/libgpg-error-1.24/po/de.po
--- old/libgpg-error-1.23/po/de.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/de.po 2016-07-14 09:50:28.000000000 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error-1.19\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2016-04-25 10:33+0200\n"
"Last-Translator: Werner Koch \n"
"Language-Team: none\n"
Files old/libgpg-error-1.23/po/eo.gmo and new/libgpg-error-1.24/po/eo.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/eo.po new/libgpg-error-1.24/po/eo.po
--- old/libgpg-error-1.23/po/eo.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/eo.po 2016-07-14 09:50:29.000000000 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.7\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2013-02-23 20:22+0100\n"
"Last-Translator: Felipe Castro \n"
"Language-Team: Esperanto \n"
Files old/libgpg-error-1.23/po/fr.gmo and new/libgpg-error-1.24/po/fr.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/fr.po new/libgpg-error-1.24/po/fr.po
--- old/libgpg-error-1.23/po/fr.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/fr.po 2016-07-14 09:50:29.000000000 +0200
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: libgpg-error-1.17\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2014-11-01 22:07-0400\n"
"Last-Translator: David Prévot \n"
"Language-Team: French \n"
Files old/libgpg-error-1.23/po/hu.gmo and new/libgpg-error-1.24/po/hu.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/hu.po new/libgpg-error-1.24/po/hu.po
--- old/libgpg-error-1.23/po/hu.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/hu.po 2016-07-14 09:50:29.000000000 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error-1.7\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2015-01-09 10:00+0100\n"
"Last-Translator: Balázs Úr \n"
"Language-Team: Hungarian \n"
Files old/libgpg-error-1.23/po/it.gmo and new/libgpg-error-1.24/po/it.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/it.po new/libgpg-error-1.24/po/it.po
--- old/libgpg-error-1.23/po/it.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/it.po 2016-07-14 09:50:29.000000000 +0200
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: libgpg-error\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2014-11-17 09:06+0100\n"
"Last-Translator: Milo Casagrande \n"
"Language-Team: Italian \n"
Files old/libgpg-error-1.23/po/ja.gmo and new/libgpg-error-1.24/po/ja.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/ja.po new/libgpg-error-1.24/po/ja.po
--- old/libgpg-error-1.23/po/ja.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/ja.po 2016-07-14 09:50:29.000000000 +0200
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.19\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2016-02-26 09:42+0900\n"
"Last-Translator: NIIBE Yutaka \n"
"Language-Team: none\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/libgpg-error.pot new/libgpg-error-1.24/po/libgpg-error.pot
--- old/libgpg-error-1.23/po/libgpg-error.pot 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/libgpg-error.pot 2016-07-14 09:50:28.000000000 +0200
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: libgpg-error 1.23\n"
+"Project-Id-Version: libgpg-error 1.24\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
Files old/libgpg-error-1.23/po/nl.gmo and new/libgpg-error-1.24/po/nl.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/nl.po new/libgpg-error-1.24/po/nl.po
--- old/libgpg-error-1.23/po/nl.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/nl.po 2016-07-14 09:50:29.000000000 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.10\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2014-11-17 00:16+0100\n"
"Last-Translator: Freek de Kruijf \n"
"Language-Team: Dutch \n"
Files old/libgpg-error-1.23/po/pl.gmo and new/libgpg-error-1.24/po/pl.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/pl.po new/libgpg-error-1.24/po/pl.po
--- old/libgpg-error-1.23/po/pl.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/pl.po 2016-07-14 09:50:29.000000000 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.22\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2016-05-11 18:02+0200\n"
"Last-Translator: Jakub Bogusz \n"
"Language-Team: Polish \n"
Files old/libgpg-error-1.23/po/pt.gmo and new/libgpg-error-1.24/po/pt.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/pt.po new/libgpg-error-1.24/po/pt.po
--- old/libgpg-error-1.23/po/pt.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/pt.po 2016-07-14 09:50:29.000000000 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.17\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2014-11-24 02:32+0000\n"
"Last-Translator: Paulo Tomé \n"
"Language-Team: Portuguese \n"
Files old/libgpg-error-1.23/po/ro.gmo and new/libgpg-error-1.24/po/ro.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/ro.po new/libgpg-error-1.24/po/ro.po
--- old/libgpg-error-1.23/po/ro.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/ro.po 2016-07-14 09:50:29.000000000 +0200
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.1\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2013-02-23 20:10+0100\n"
"Last-Translator: Laurentiu Buzdugan \n"
"Language-Team: Romanian \n"
Files old/libgpg-error-1.23/po/ru.gmo and new/libgpg-error-1.24/po/ru.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/ru.po new/libgpg-error-1.24/po/ru.po
--- old/libgpg-error-1.23/po/ru.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/ru.po 2016-07-14 09:50:29.000000000 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2015-09-27 12:04+0000\n"
"Last-Translator: Ineiev \n"
"Language-Team: Russian \n"
Files old/libgpg-error-1.23/po/sr.gmo and new/libgpg-error-1.24/po/sr.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/sr.po new/libgpg-error-1.24/po/sr.po
--- old/libgpg-error-1.23/po/sr.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/sr.po 2016-07-14 09:50:29.000000000 +0200
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libgpg-error-1.7\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2014-11-03 11:42+0200\n"
"Last-Translator: Мирослав Николић \n"
"Language-Team: Serbian <(nothing)>\n"
Files old/libgpg-error-1.23/po/sv.gmo and new/libgpg-error-1.24/po/sv.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/sv.po new/libgpg-error-1.24/po/sv.po
--- old/libgpg-error-1.23/po/sv.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/sv.po 2016-07-14 09:50:29.000000000 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.7\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2013-02-23 20:10+0100\n"
"Last-Translator: Daniel Nylander \n"
"Language-Team: Swedish \n"
Files old/libgpg-error-1.23/po/uk.gmo and new/libgpg-error-1.24/po/uk.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/uk.po new/libgpg-error-1.24/po/uk.po
--- old/libgpg-error-1.23/po/uk.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/uk.po 2016-07-14 09:50:29.000000000 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.7\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2015-07-12 16:21+0300\n"
"Last-Translator: Yuri Chornoivan \n"
"Language-Team: Ukrainian \n"
Files old/libgpg-error-1.23/po/vi.gmo and new/libgpg-error-1.24/po/vi.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/vi.po new/libgpg-error-1.24/po/vi.po
--- old/libgpg-error-1.23/po/vi.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/vi.po 2016-07-14 09:50:29.000000000 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.7\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2013-02-23 20:10+0100\n"
"Last-Translator: Clytie Siddall \n"
"Language-Team: Vietnamese \n"
Files old/libgpg-error-1.23/po/zh_CN.gmo and new/libgpg-error-1.24/po/zh_CN.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/po/zh_CN.po new/libgpg-error-1.24/po/zh_CN.po
--- old/libgpg-error-1.23/po/zh_CN.po 2016-06-15 16:10:38.000000000 +0200
+++ new/libgpg-error-1.24/po/zh_CN.po 2016-07-14 09:50:29.000000000 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.7\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"POT-Creation-Date: 2016-06-15 16:10+0200\n"
+"POT-Creation-Date: 2016-07-14 09:50+0200\n"
"PO-Revision-Date: 2013-02-23 20:11+0100\n"
"Last-Translator: Aron Xu \n"
"Language-Team: Chinese (simplified) \n"
"Language-Team: Chinese (traditional) \n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/src/estream.c new/libgpg-error-1.24/src/estream.c
--- old/libgpg-error-1.23/src/estream.c 2016-06-15 11:35:17.000000000 +0200
+++ new/libgpg-error-1.24/src/estream.c 2016-07-12 10:42:56.000000000 +0200
@@ -108,15 +108,33 @@
#ifdef HAVE_W32_SYSTEM
-# define S_IRGRP S_IRUSR
-# define S_IROTH S_IRUSR
-# define S_IWGRP S_IWUSR
-# define S_IWOTH S_IWUSR
-# define S_IXGRP S_IXUSR
-# define S_IXOTH S_IXUSR
+# ifndef S_IRGRP
+# define S_IRGRP S_IRUSR
+# endif
+# ifndef S_IROTH
+# define S_IROTH S_IRUSR
+# endif
+# ifndef S_IWGRP
+# define S_IWGRP S_IWUSR
+# endif
+# ifndef S_IWOTH
+# define S_IWOTH S_IWUSR
+# endif
+# ifndef S_IXGRP
+# define S_IXGRP S_IXUSR
+# endif
+# ifndef S_IXOTH
+# define S_IXOTH S_IXUSR
+# endif
+# undef O_NONBLOCK
# define O_NONBLOCK 0 /* FIXME: Not yet supported. */
#endif
+#if !defined (EWOULDBLOCK) && defined (HAVE_W32_SYSTEM)
+/* Compatibility with errno.h from mingw-2.0 */
+# define EWOULDBLOCK 140
+#endif
+
#ifndef EAGAIN
# define EAGAIN EWOULDBLOCK
#endif
@@ -877,7 +895,7 @@
/* Return the internal buffer of the stream to the caller and
invalidate it for the stream. */
*(void**)ptr = mem_cookie->memory;
- *len = mem_cookie->offset;
+ *len = mem_cookie->data_len;
mem_cookie->memory = NULL;
mem_cookie->memory_size = 0;
mem_cookie->offset = 0;
@@ -1611,7 +1629,6 @@
int fd;
err = 0;
- fd = -1;
file_cookie = mem_alloc (sizeof (*file_cookie));
if (! file_cookie)
@@ -2769,7 +2786,6 @@
char *_GPGRT__RESTRICT *_GPGRT__RESTRICT line,
size_t *_GPGRT__RESTRICT line_length)
{
- size_t space_left;
size_t line_size;
estream_t line_stream;
char *line_new;
@@ -2798,46 +2814,49 @@
if (err)
goto out;
- space_left = max_length;
- line_size = 0;
- while (1)
- {
- if (max_length && (space_left == 1))
- break;
+ {
+ size_t space_left = max_length;
- err = es_peek (stream, &data, &data_len);
- if (err || (! data_len))
- break;
+ line_size = 0;
+ for (;;)
+ {
+ if (max_length && (space_left == 1))
+ break;
- if (data_len > (space_left - 1))
- data_len = space_left - 1;
+ err = es_peek (stream, &data, &data_len);
+ if (err || (! data_len))
+ break;
- newline = memchr (data, '\n', data_len);
- if (newline)
- {
- data_len = (newline - (char *) data) + 1;
- err = _gpgrt_write (line_stream, data, data_len, NULL);
- if (! err)
- {
- space_left -= data_len;
- line_size += data_len;
- es_skip (stream, data_len);
- break;
- }
- }
- else
- {
- err = _gpgrt_write (line_stream, data, data_len, NULL);
- if (! err)
- {
- space_left -= data_len;
- line_size += data_len;
- es_skip (stream, data_len);
- }
- }
- if (err)
- break;
- }
+ if (data_len > (space_left - 1))
+ data_len = space_left - 1;
+
+ newline = memchr (data, '\n', data_len);
+ if (newline)
+ {
+ data_len = (newline - (char *) data) + 1;
+ err = _gpgrt_write (line_stream, data, data_len, NULL);
+ if (! err)
+ {
+ /* Not needed: space_left -= data_len */
+ line_size += data_len;
+ es_skip (stream, data_len);
+ break; /* endless loop */
+ }
+ }
+ else
+ {
+ err = _gpgrt_write (line_stream, data, data_len, NULL);
+ if (! err)
+ {
+ space_left -= data_len;
+ line_size += data_len;
+ es_skip (stream, data_len);
+ }
+ }
+ if (err)
+ break;
+ }
+ }
if (err)
goto out;
@@ -4240,7 +4259,7 @@
Returns the length of the line. EOF is indicated by a line of
length zero. A truncated line is indicated my setting the value at
MAX_LENGTH to 0. If the returned value is less then 0 not enough
- memory was enable or another error occurred; ERRNO is then set
+ memory was available or another error occurred; ERRNO is then set
accordingly.
If a line has been truncated, the file pointer is moved forward to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/src/gen-posix-lock-obj.c new/libgpg-error-1.24/src/gen-posix-lock-obj.c
--- old/libgpg-error-1.23/src/gen-posix-lock-obj.c 2016-04-25 10:25:07.000000000 +0200
+++ new/libgpg-error-1.24/src/gen-posix-lock-obj.c 2016-07-12 10:42:56.000000000 +0200
@@ -29,7 +29,9 @@
#include
#include
#include
-#include
+#ifdef USE_POSIX_THREADS
+# include
+#endif
#include "posix-lock-obj.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/tests/t-lock.c new/libgpg-error-1.24/tests/t-lock.c
--- old/libgpg-error-1.23/tests/t-lock.c 2016-02-08 19:33:18.000000000 +0100
+++ new/libgpg-error-1.24/tests/t-lock.c 2016-07-12 10:42:56.000000000 +0200
@@ -31,7 +31,9 @@
# include
# include
#else
-# include
+# ifdef USE_POSIX_THREADS
+# include
+# endif
#endif
#define PGM "t-lock"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgpg-error-1.23/tests/t-poll.c new/libgpg-error-1.24/tests/t-poll.c
--- old/libgpg-error-1.23/tests/t-poll.c 2016-06-15 14:56:46.000000000 +0200
+++ new/libgpg-error-1.24/tests/t-poll.c 2016-07-12 10:42:56.000000000 +0200
@@ -34,7 +34,9 @@
# include
# include
#else
-# include
+# ifdef USE_POSIX_THREADS
+# include
+# endif
#endif
#define PGM "t-lock"