[svn] assuan - r266 - in trunk: . doc src
svn author wk
cvs at cvs.gnupg.org
Tue Sep 25 17:10:03 CEST 2007
Author: wk
Date: 2007-09-25 17:09:54 +0200 (Tue, 25 Sep 2007)
New Revision: 266
Modified:
trunk/NEWS
trunk/configure.ac
trunk/doc/assuan.texi
trunk/src/ChangeLog
trunk/src/assuan-socket.c
trunk/src/assuan.h
Log:
Fixed a name clash in internal symbols used only under W32.
Modified: trunk/NEWS
===================================================================
--- trunk/NEWS 2007-09-24 09:50:01 UTC (rev 265)
+++ trunk/NEWS 2007-09-25 15:09:54 UTC (rev 266)
@@ -1,3 +1,7 @@
+Noteworthy changes in version 1.0.4
+------------------------------------------------
+
+
Noteworthy changes in version 1.0.3 (2007-08-24)
------------------------------------------------
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2007-09-24 09:50:01 UTC (rev 265)
+++ trunk/configure.ac 2007-09-25 15:09:54 UTC (rev 266)
@@ -24,7 +24,7 @@
# Remember to change the version number immediately *after* a release.
# Set my_issvn to "yes" for non-released code. Remember to run an
# "svn up" and "autogen.sh" right before creating a distribution.
-m4_define([my_version], [1.0.3])
+m4_define([my_version], [1.0.4])
m4_define([my_issvn], [yes])
m4_define([svn_revision], m4_esyscmd([echo -n $( (svn info 2>/dev/null \
Modified: trunk/doc/assuan.texi
===================================================================
--- trunk/doc/assuan.texi 2007-09-24 09:50:01 UTC (rev 265)
+++ trunk/doc/assuan.texi 2007-09-25 15:09:54 UTC (rev 266)
@@ -1518,7 +1518,7 @@
@end deftypefun
- at deftypefun int assuan_get_active_fds (@w{assuan_context_t @var{ctx}}, @w{int @var{what}}, @w{int *@var{fdarray}}, @w{int @var{fdarraysize}})
+ at deftypefun int assuan_get_active_fds (@w{assuan_context_t @var{ctx}}, @w{int @var{what}}, @w{assuan_fd_t *@var{fdarray}}, @w{int @var{fdarraysize}})
Return all active file descriptors for the context @var{ctx}. This
function can be used to select on the file descriptors and to call
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2007-09-24 09:50:01 UTC (rev 265)
+++ trunk/src/ChangeLog 2007-09-25 15:09:54 UTC (rev 266)
@@ -1,3 +1,8 @@
+2007-09-25 Werner Koch <wk at g10code.com>
+
+ * assuan.h (_assuan_gpg_strerror_r, _assuan_gpg_strsource): Add
+ wrappers for these new internal functions.
+
2007-09-24 Marcus Brinkmann <marcus at g10code.de>
* assuan-uds.c (uds_reader) [HAVE_W32_SYSTEM]: Do not touch the
@@ -10,6 +15,10 @@
ctx->pid as handle.
(pipe_connect_w32): Save the spawned processes handle.
+2007-09-13 Werner Koch <wk at g10code.com>
+
+ * assuan-socket.c (_assuan_close): Add inactive debug outputs.
+
2007-09-11 Marcus Brinkmann <marcus at g10code.de>
* assuan.h: Use _WIN32 instead of HAVE_W32_SYSTEM.
Modified: trunk/src/assuan-socket.c
===================================================================
--- trunk/src/assuan-socket.c 2007-09-24 09:50:01 UTC (rev 265)
+++ trunk/src/assuan-socket.c 2007-09-25 15:09:54 UTC (rev 266)
@@ -43,13 +43,21 @@
int
_assuan_close (assuan_fd_t fd)
{
-#ifndef HAVE_W32_SYSTEM
- return close (fd);
-#else
+#ifdef HAVE_W32_SYSTEM
int rc = closesocket (HANDLE2SOCKET(fd));
+/* if (rc) */
+/* _assuan_log_printf ("_assuan_close(%p): closesocket failed: %d/%ld\n", */
+/* fd, rc, WSAGetLastError ()); */
if (rc && WSAGetLastError () == WSAENOTSOCK)
- rc = CloseHandle (fd);
+ {
+ rc = CloseHandle (fd);
+/* if (rc) */
+/* _assuan_log_printf ("_assuan_close(%p): CloseHandle failed: %d\n", */
+/* fd, rc ); */
+ }
return rc;
+#else
+ return close (fd);
#endif
}
Modified: trunk/src/assuan.h
===================================================================
--- trunk/src/assuan.h 2007-09-24 09:50:01 UTC (rev 265)
+++ trunk/src/assuan.h 2007-09-25 15:09:54 UTC (rev 266)
@@ -159,6 +159,8 @@
#define _assuan_set_default_log_stream \
_ASSUAN_PREFIX(_assuan_set_default_log_stream)
#define _assuan_w32_strerror _ASSUAN_PREFIX(_assuan_w32_strerror)
+#define _assuan_gpg_strerror_r _ASSUAN_PREFIX(_assuan_gpg_strerror_r)
+#define _assuan_gpg_strsource _ASSUAN_PREFIX(_assuan_gpg_strsource)
#define _assuan_write_line _ASSUAN_PREFIX(_assuan_write_line)
#define _assuan_close _ASSUAN_PREFIX(_assuan_close)
#define _assuan_sock_new _ASSUAN_PREFIX(_assuan_sock_new)
More information about the Gnupg-commits
mailing list