Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 80781 invoked by uid 500); 18 Apr 2000 03:51:31 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 80768 invoked from network); 18 Apr 2000 03:51:30 -0000 From: Tim Costello Message-Id: <200004180351.NAA05312@oznet15.ozemail.com.au> To: new-httpd@apache.org CC: Subject: [PATCH] Fix segfault on Win2000 Date: Tue, Apr 18 2000 14:51:27 GMT+1100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, This is just a minor fix for the late-binding stuff... on Windows 2000, GetFileAttributesExA lives at ordinal 290 - so the below causes segfaults. The change causes GetProcAddress to use the function name instead of an ordinal. Tim ===== BEGIN PATCH ===== --- /srclib/repos/apache/2.0/src/src/lib/apr/include/apr_config.hw Mon Apr 17 09:12:00 2000 +++ src/lib/apr/include/apr_config.hw Tue Apr 18 13:22:42 2000 @@ -204,7 +204,7 @@ * In the case of non-text functions, simply #define the original name */ -DECLARE_LATE_DLL_FUNC(DLL_WINBASEAPI, BOOL, WINAPI, GetFileAttributesExA, 234, ( +DECLARE_LATE_DLL_FUNC(DLL_WINBASEAPI, BOOL, WINAPI, GetFileAttributesExA, 0, ( IN LPCSTR lpFileName, IN GET_FILEEX_INFO_LEVELS fInfoLevelId, OUT LPVOID lpFileInformation), ===== END PATCH ===== This message was sent through MyMail http://www.mymail.com.au