Merged with HEAD from 8/18 or so. unlabeled-3.14.8
authorcls%seawood.org
Fri, 20 Aug 1999 16:21:46 +0000
branchunlabeled-3.14.8
changeset 780 84e848de249e
parent 650 dac8f6de2f20
push idunknown
push userunknown
push dateunknown
Merged with HEAD from 8/18 or so.
pr/src/md/unix/unix_errors.c
--- a/pr/src/md/unix/unix_errors.c
+++ b/pr/src/md/unix/unix_errors.c
@@ -37,17 +37,20 @@ static void _MD_unix_map_default_error(i
             prError = PR_ADDRESS_NOT_AVAILABLE_ERROR;
             break;
         case EAFNOSUPPORT:
             prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
             break;
         case EAGAIN:
             prError = PR_WOULD_BLOCK_ERROR;
             break;
-#ifndef QNX
+        /*
+         * On QNX and Neutrino, EALREADY is defined as EBUSY.
+         */
+#if EALREADY != EBUSY
         case EALREADY:
             prError = PR_ALREADY_INITIATED_ERROR;
             break;
 #endif
         case EBADF:
             prError = PR_BAD_DESCRIPTOR_ERROR;
             break;
 #ifdef EBADMSG