Return-Path: Delivered-To: apache-cvs-archive@hyperreal.org Received: (qmail 7044 invoked by uid 6000); 20 Oct 1997 12:06:40 -0000 Received: (qmail 7002 invoked by uid 124); 20 Oct 1997 12:06:36 -0000 Date: 20 Oct 1997 12:06:36 -0000 Message-ID: <19971020120636.7000.qmail@hyperreal.org> From: ben@hyperreal.org To: apache-cvs@hyperreal.org Subject: cvs commit: apachen/src/main http_config.c Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org ben 97/10/20 05:06:36 Modified: src/main http_config.c Log: Fix absolute path detection. Revision Changes Path 1.82 +1 -7 apachen/src/main/http_config.c Index: http_config.c =================================================================== RCS file: /export/home/cvs/apachen/src/main/http_config.c,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- http_config.c 1997/10/07 19:33:58 1.81 +++ http_config.c 1997/10/20 12:06:34 1.82 @@ -891,14 +891,8 @@ API_EXPORT(char *) server_root_relative(pool *p, char *file) { -#ifdef __EMX__ - /* Add support for OS/2 drive names */ - if ((file[0] == '/') || (file[1] == ':')) + if(os_is_path_absolute(file)) return file; -#else - if (file[0] == '/') - return file; -#endif return make_full_path(p, server_root, file); }