[svn] GnuPG - r5349 - trunk/common
svn author wk
cvs at cvs.gnupg.org
Tue Jun 8 18:59:20 CEST 2010
Author: wk
Date: 2010-06-08 18:59:19 +0200 (Tue, 08 Jun 2010)
New Revision: 5349
Modified:
trunk/common/ChangeLog
trunk/common/gettime.c
trunk/common/iobuf.c
trunk/common/sexputil.c
Log:
W32CE fix.
Typo fixes
Modified: trunk/common/ChangeLog
===================================================================
--- trunk/common/ChangeLog 2010-06-07 17:04:50 UTC (rev 5348)
+++ trunk/common/ChangeLog 2010-06-08 16:59:19 UTC (rev 5349)
@@ -1,3 +1,7 @@
+2010-06-08 Werner Koch <wk at g10code.com>
+
+ * iobuf.c (translate_file_handle) [W32CE]: Handle rendezvous ids.
+
2010-06-07 Werner Koch <wk at g10code.com>
* sysutils.c [W32CE]: Finish pipe creation.
Modified: trunk/common/gettime.c
===================================================================
--- trunk/common/gettime.c 2010-06-07 17:04:50 UTC (rev 5348)
+++ trunk/common/gettime.c 2010-06-08 16:59:19 UTC (rev 5349)
@@ -497,6 +497,7 @@
}
+/* Dump the ISO time T to the log stream without a LF. */
void
dump_isotime (const gnupg_isotime_t t)
{
Modified: trunk/common/iobuf.c
===================================================================
--- trunk/common/iobuf.c 2010-06-07 17:04:50 UTC (rev 5348)
+++ trunk/common/iobuf.c 2010-06-08 16:59:19 UTC (rev 5349)
@@ -2366,7 +2366,12 @@
static int
translate_file_handle (int fd, int for_write)
{
-#if defined(HAVE_W32_SYSTEM) && !defined (HAVE_W32CE_SYSTEM)
+#if defined (HAVE_W32CE_SYSTEM)
+ /* This is called only with one of the special filenames. Under
+ W32CE the FD here is not a file descriptor but a rendezvous id,
+ thus we need to finish the pipe first. */
+ fd = _assuan_w32ce_finish_pipe fd, for_write);
+#elif defined(HAVE_W32_SYSTEM)
{
int x;
Modified: trunk/common/sexputil.c
===================================================================
--- trunk/common/sexputil.c 2010-06-07 17:04:50 UTC (rev 5348)
+++ trunk/common/sexputil.c 2010-06-08 16:59:19 UTC (rev 5349)
@@ -99,7 +99,7 @@
/* Compare two simple S-expressions like "(3:foo)". Returns 0 if they
- are identical or !0 if they are not. Not that this function can't
+ are identical or !0 if they are not. Note that this function can't
be used for sorting. */
int
cmp_simple_canon_sexp (const unsigned char *a_orig,
More information about the Gnupg-commits
mailing list