[Pkg-gnupg-commit] [libgpg-error] 01/02: bump symbols version for gpgrt_yield to 1.25
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Jan 18 16:40:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository libgpg-error.
commit 8d6ed033cd07c050f9ccc65eb8691208ff53addb
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Wed Jan 18 11:24:21 2017 -0500
bump symbols version for gpgrt_yield to 1.25
commit 3d356d165aed7d76a3ea811b1d24ed0a05ac90d4 in GnuPG's upstream
git repo contains this mention:
+ {
+#if GPGRT_VERSION_NUMBER < 0x011900 /* 1.25 */
+ /* In older gpg-error versions gpgrt_yield is buggy for use with
+ * nPth and thus we need to resort to a sleep call. */
+ npth_usleep (1000); /* 1ms */
+#else
+ gpgrt_yield ();
+#endif
+ }
This is a build-time decision, and we want it to map to a runtime
decision, so that when it's built against a newer version of
libgpg-error, it can't accidentally be installed against an older
version.
This change should help that happen within debian.
---
debian/libgpg-error0.symbols | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/libgpg-error0.symbols b/debian/libgpg-error0.symbols
index 1102409..9adeb29 100644
--- a/debian/libgpg-error0.symbols
+++ b/debian/libgpg-error0.symbols
@@ -97,4 +97,4 @@ libgpg-error.so.0 libgpg-error0 #MINVER#
gpgrt_write at GPG_ERROR_1.0 1.14
gpgrt_write_hexstring at GPG_ERROR_1.0 1.14
gpgrt_write_sanitized at GPG_ERROR_1.0 1.14
- gpgrt_yield at GPG_ERROR_1.0 1.14
+ gpgrt_yield at GPG_ERROR_1.0 1.25
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libgpg-error.git
More information about the Pkg-gnupg-commit
mailing list