ben 97/12/14 06:39:38
Modified: src CHANGES src/main http_config.c Log: Make set_file_slot() use os_is_path_absolute(). PR: 1511 Revision Changes Path 1.527 +3 -0 apachen/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apachen/src/CHANGES,v retrieving revision 1.526 retrieving revision 1.527 diff -u -r1.526 -r1.527 --- CHANGES 1997/12/14 14:26:11 1.526 +++ CHANGES 1997/12/14 14:39:35 1.527 @@ -1,5 +1,8 @@ Changes with Apache 1.3b4 + *) WIN32: set_file_slot() didn't detect absolute paths. [Ben Laurie] + PR#1511 + *) WIN32: mod_status display header didn't match fields. [Ben Laurie] *) The pthread_mutex_* functions return an error code, and don't 1.88 +1 -1 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.87 retrieving revision 1.88 diff -u -r1.87 -r1.88 --- http_config.c 1997/11/29 05:51:52 1.87 +++ http_config.c 1997/12/14 14:39:37 1.88 @@ -877,7 +877,7 @@ so the server can be moved or mirrored with less pain. */ char *p; int offset = (int) cmd->info; - if (*arg == '/') + if (os_is_path_absolute(arg)) p = pstrdup(cmd->pool, arg); else p = make_full_path(cmd->pool, server_root, arg);