]> sourceware.org Git - newlib-cygwin.git/commitdiff
* ldap.cc (cyg_ldap::map_ldaperr_to_errno): Explicitely map LDAP_TIMEOUT
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 25 Jun 2014 09:28:12 +0000 (09:28 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 25 Jun 2014 09:28:12 +0000 (09:28 +0000)
to EIO.

winsup/cygwin/ChangeLog
winsup/cygwin/ldap.cc

index 26978251bec237f630b743d16e461d0dea760195..b1e85a7afae2148c5812085be7d679c0c55be822 100644 (file)
@@ -1,3 +1,8 @@
+2014-06-25  Corinna Vinschen  <corinna@vinschen.de>
+
+       * ldap.cc (cyg_ldap::map_ldaperr_to_errno): Explicitely map LDAP_TIMEOUT
+       to EIO.
+
 2014-06-25  Corinna Vinschen  <corinna@vinschen.de>
 
        * autoload.cc (ldap_search_sW): Replace ldap_search_stW.
index fa19c307eca3b4af36ebb8fdbb7cae21bcddec85..3964854bff86b9843b96f8f1683074fdd7b9cf9a 100644 (file)
@@ -89,6 +89,8 @@ cyg_ldap::map_ldaperr_to_errno (ULONG lerr)
         is SO wrong, especially considering that LDAP_MORE_RESULTS_TO_RETURN
         is mapped to ERROR_MORE_DATA as well :-P */
       return ENMFILE;
+    case LDAP_TIMEOUT:
+      return EIO;
     default:
       break;
     }
This page took 0.033223 seconds and 5 git commands to generate.