diff options
author | Werner Koch <[email protected]> | 2010-03-01 19:54:41 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-03-01 19:54:41 +0000 |
commit | e0f19401ad246500ee5313140c12d51a16e05668 (patch) | |
tree | 6842afa6b91f68e8c55e72ea156b3d22eed51d00 | |
parent | Yet another try to make it work: (diff) | |
download | libgpg-error-e0f19401ad246500ee5313140c12d51a16e05668.tar.gz libgpg-error-e0f19401ad246500ee5313140c12d51a16e05668.zip |
Add a mapping for ESPIPE on W32CE.
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | autogen.sh | 6 | ||||
-rw-r--r-- | src/mkw32errmap.c | 5 | ||||
-rw-r--r-- | src/w32-gettext.c | 2 |
4 files changed, 12 insertions, 5 deletions
@@ -1,3 +1,7 @@ +2010-03-01 Werner Koch <[email protected]> + + * src/mkw32errmap.c: Map ESPIPE. + 2010-02-17 Werner Koch <[email protected]> * src/Makefile.am: Revert last change. @@ -103,7 +103,7 @@ if [ "$myhost" = "w32" ]; then fi ./configure --enable-maintainer-mode --prefix=${w32root} \ - --host=${host} --build=${build} + --host=${host} --build=${build} "$@" exit $? fi @@ -222,4 +222,6 @@ $AUTOMAKE --gnu; 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 +" diff --git a/src/mkw32errmap.c b/src/mkw32errmap.c index 8b56dec..722e07e 100644 --- a/src/mkw32errmap.c +++ b/src/mkw32errmap.c @@ -79,7 +79,6 @@ struct table_s table[] = #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 @@ struct table_s table[] = 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 @@ struct table_s table[] = 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 */ diff --git a/src/w32-gettext.c b/src/w32-gettext.c index a35af1f..da07a25 100644 --- a/src/w32-gettext.c +++ b/src/w32-gettext.c @@ -1837,7 +1837,7 @@ _gpg_w32_gettext_localename (void) /* 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) |