summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2009-07-17 01:37:42 +0000
committerMarcus Brinkmann <mb@g10code.com>2009-07-17 01:37:42 +0000
commiteea21ee9383f652b446d60208620590860621556 (patch)
tree795e7bdfff0060e256c8afee2f0bb65373fea546 /README
parent845c2608bb343d4b5faa8e15628a9d6747668369 (diff)
downloadlibgpg-error-eea21ee9383f652b446d60208620590860621556.tar.gz
2009-07-17 Marcus Brinkmann <marcus@g10code.de>
* src/mkerrcodes1.awk: Output code to cause WSA Errors to be transparently translated. * src/code-from-errno.c [HAVE_W32_SYSTEM]: Don't include winsock2.h. (w32_special_errnos) [HAVE_W32_SYSTEM]: Removed. (gpg_err_code_from_errno) [HAVE_W32_SYSTEM]: Remove special case. * README: Document problem with printing some WSA Errors.
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 14 insertions, 0 deletions
diff --git a/README b/README
index 04a48dc..3cec868 100644
--- a/README
+++ b/README
@@ -74,3 +74,17 @@ b) If you don't have any a trusted version of GnuPG, you can attempt
Now check that this checksum is _exactly_ the same as the one
published via the announcement list and probably via Usenet.
+
+
+Known Problems
+--------------
+
+On Windows, WSA Error Codes can be provided as system error codes and
+will be transparently converted to the corresponding gpg error codes.
+However, not all of them have detailed description when printed with
+gpg_strerror, but will default to "Unknown system error (NUMBER)" for
+pretty printing. For example, WSAEHOSTDOWN will be translated to
+GPG_ERR_EHOSTDOWN, but there is no corresponding EHOSTDOWN in Windows
+and thus gpg_strerror will default to "Unknown system error (8029)".
+(This could be fixed by adding our own error strings replacing or
+extending the system error strings, including their translations).