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); }