[git] Assuan - branch, master, updated. libassuan-2.0.1-34-gb20e8f0

by Werner Koch cvs at cvs.gnupg.org
Wed Mar 30 11:23:55 CEST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPC library used by GnuPG".

The branch, master has been updated
       via  b20e8f085cec6465b64a0d17772e663418791d5f (commit)
      from  b74a70f89d2a17b2960105d1aab8e09011dc65b2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b20e8f085cec6465b64a0d17772e663418791d5f
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Mar 30 10:56:29 2011 +0200

    Add a version string to the binary.

diff --git a/src/ChangeLog b/src/ChangeLog
index a27401d..a552201 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-30  Werner Koch  <wk at g10code.com>
+
+	* sysutils.c (_assuan_sysutils_blurb): Add version string.
+
 2011-03-09  Werner Koch  <wk at g10code.com>
 
 	* assuan-handler.c (assuan_register_command): Use my_strcasecmp.
diff --git a/src/sysutils.c b/src/sysutils.c
index 5a1d9de..3a23378 100644
--- a/src/sysutils.c
+++ b/src/sysutils.c
@@ -27,7 +27,7 @@
 #ifdef HAVE_W32_SYSTEM
 # ifdef HAVE_WINSOCK2_H
 #  include <winsock2.h>
-# endif 
+# endif
 # include <windows.h>
 # ifdef HAVE_W32CE_SYSTEM
 # include <winioctl.h>
@@ -42,11 +42,11 @@
 const char *
 _assuan_sysutils_blurb (void)
 {
-  static const char blurb[] = 
+  static const char blurb[] =
     "\n\n"
-    "This is Libassuan - The GnuPG IPC Library\n"
+    "This is Libassuan " PACKAGE_VERSION " - The GnuPG IPC Library\n"
     "Copyright 2000, 2002, 2003, 2004, 2007, 2008, 2009,\n"
-    "          2010 Free Software Foundation, Inc.\n"
+    "          2010, 2011 Free Software Foundation, Inc.\n"
     "\n\n";
   return blurb;
 }
@@ -64,7 +64,7 @@ w32_read_registry (const wchar_t *dir, const wchar_t *name)
   DWORD n, nbytes;
   wchar_t *buffer = NULL;
   char *result = NULL;
-  
+
   if (RegOpenKeyEx (HKEY_LOCAL_MACHINE, dir, 0, KEY_READ, &handle))
     return NULL; /* No need for a RegClose, so return immediately. */
 
@@ -80,7 +80,7 @@ w32_read_registry (const wchar_t *dir, const wchar_t *name)
       buffer = NULL;
       goto out;
     }
-  
+
   n = WideCharToMultiByte (CP_UTF8, 0, buffer, nbytes, NULL, 0, NULL, NULL);
   if (n < 0 || (n+1) <= 0)
     goto out;
@@ -134,4 +134,3 @@ _assuan_getenv (const char *name)
     return NULL;
 }
 #endif /*HAVE_W32CE_SYSTEM*/
-

-----------------------------------------------------------------------

Summary of changes:
 src/ChangeLog  |    4 ++++
 src/sysutils.c |   13 ++++++-------
 2 files changed, 10 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
IPC library used by GnuPG
http://git.gnupg.org




More information about the Gnupg-commits mailing list