From cvs-return-1875-apmail-apr-cvs-archive=apr.apache.org@apr.apache.org Tue Aug 07 23:24:37 2001 Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 33619 invoked by uid 500); 7 Aug 2001 23:24:37 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 33608 invoked from network); 7 Aug 2001 23:24:37 -0000 Date: 7 Aug 2001 23:22:53 -0000 Message-ID: <20010807232253.95592.qmail@icarus.apache.org> From: bnicholes@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/include apr_errno.h X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N bnicholes 01/08/07 16:22:53 Modified: include apr_errno.h Log: Fixed the apr_get_netos_error() macro to allow it to handle Winsock errors for NetWare Revision Changes Path 1.77 +1 -1 apr/include/apr_errno.h Index: apr_errno.h =================================================================== RCS file: /home/cvs/apr/include/apr_errno.h,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- apr_errno.h 2001/08/06 22:05:47 1.76 +++ apr_errno.h 2001/08/07 23:22:52 1.77 @@ -711,7 +711,7 @@ #define apr_get_os_error() (errno) #define apr_set_os_error(e) (errno = (e)) #ifdef NETWARE -#define apr_get_netos_error() (APR_FROM_OS_ERROR(WSAGetLastError())) +#define apr_get_netos_error() (WSAGetLastError()+APR_OS_START_SYSERR) #endif #define APR_STATUS_IS_SUCCESS(s) ((s) == APR_SUCCESS)