[svn] gpg-error - r234 - in trunk: . src
svn author wk
cvs at cvs.gnupg.org
Mon Mar 1 20:54:41 CET 2010
Author: wk
Date: 2010-03-01 20:54:41 +0100 (Mon, 01 Mar 2010)
New Revision: 234
Modified:
trunk/ChangeLog
trunk/autogen.sh
trunk/src/mkw32errmap.c
trunk/src/w32-gettext.c
Log:
Add a mapping for ESPIPE on W32CE.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-02-17 17:08:04 UTC (rev 233)
+++ trunk/ChangeLog 2010-03-01 19:54:41 UTC (rev 234)
@@ -1,3 +1,7 @@
+2010-03-01 Werner Koch <wk at g10code.com>
+
+ * src/mkw32errmap.c: Map ESPIPE.
+
2010-02-17 Werner Koch <wk at g10code.com>
* src/Makefile.am: Revert last change.
Modified: trunk/autogen.sh
===================================================================
--- trunk/autogen.sh 2010-02-17 17:08:04 UTC (rev 233)
+++ trunk/autogen.sh 2010-03-01 19:54:41 UTC (rev 234)
@@ -103,7 +103,7 @@
fi
./configure --enable-maintainer-mode --prefix=${w32root} \
- --host=${host} --build=${build}
+ --host=${host} --build=${build} "$@"
exit $?
fi
@@ -222,4 +222,6 @@
echo "Running autoconf${FORCE} ..."
$AUTOCONF${FORCE}
-echo "You may now run \"./configure --enable-maintainer-mode && make\"."
+echo "You may now run
+ ./configure --enable-maintainer-mode && make
+"
Modified: trunk/src/mkw32errmap.c
===================================================================
--- trunk/src/mkw32errmap.c 2010-02-17 17:08:04 UTC (rev 233)
+++ trunk/src/mkw32errmap.c 2010-03-01 19:54:41 UTC (rev 234)
@@ -79,7 +79,6 @@
#ifdef RESOLVE_MACROS
#define X(a,b) \
{&mkw32errmap_marker, (a), (b)}
-
X( "EPERM", ERROR_CANNOT_MAKE ),
X( "ENOENT", ERROR_FILE_NOT_FOUND ),
X( "EINTR", ERROR_INVALID_AT_INTERRUPT_TIME ),
@@ -98,6 +97,8 @@
X( "EXDEV", ERROR_NOT_SAME_DEVICE ),
X( "ENODEV", ERROR_BAD_DEVICE ),
+ /* FIXME: ERROR_DEV_NOT_EXIST */
+
X( "ENOTDIR",ERROR_DIRECTORY ),
X( "EINVAL", ERROR_INVALID_PARAMETER ),
X( "ENFILE", ERROR_NO_MORE_FILES ),
@@ -111,11 +112,11 @@
X( "ENOLCK", ERROR_SHARING_BUFFER_EXCEEDED ),
X( "ENOSYS", ERROR_NOT_SUPPORTED ),
X( "ENOTEMPTY",ERROR_DIR_NOT_EMPTY ),
+ X( "ESPIPE", ERROR_SEEK_ON_DEVICE ),
#if 0 /* FIXME: Find appropriate mappings. */
X( "EILSEQ", ),
X( "EDOM", ),
X( "EMLINK", ),
- X( "ESPIPE", ), /* Invalid seek (seek on a pipe?) */
X( "ESRCH", ), /* No such process */
X( "E2BIG", ), /* Arg list too long */
X( "ENOEXEC", ), /* Exec format error */
Modified: trunk/src/w32-gettext.c
===================================================================
--- trunk/src/w32-gettext.c 2010-02-17 17:08:04 UTC (rev 233)
+++ trunk/src/w32-gettext.c 2010-03-01 19:54:41 UTC (rev 234)
@@ -1837,7 +1837,7 @@
/* With a VALUE of 1 switch the gettext functions into utf8 mode.
That is the strings are returned without translation to the native
- charset. A VALUE of 0 swicthes back to trnslated strings. A VALUE
+ charset. A VALUE of 0 switches back to translated strings. A VALUE
of -1 returns the current value. */
int
_gpg_w32_gettext_use_utf8 (int value)
More information about the Gnupg-commits
mailing list