--- parser3/src/main/pa_dir.C 2026/09/18 20:08:37 1.35 +++ parser3/src/main/pa_dir.C 2026/09/27 17:27:56 1.39 @@ -6,23 +6,12 @@ */ #include "pa_common.h" +#include "pa_file.h" #include "pa_dir.h" #include "pa_request.h" #include "pa_convert_utf.h" -volatile const char * IDENT_PA_DIR_C="$Id: pa_dir.C,v 1.35 2026/09/18 20:08:37 moko Exp $" IDENT_PA_DIR_H; - -#ifdef WIN32 -bool is_os_absolute_path(const String& path) { - return is_os_absolute_path(path.cstr()); -} - -bool is_os_absolute_path(const char* path) { - return path[0] && path[0]!=':' && path[1]==':' // DRIVE: (including drive-relative paths, for compatibility) - || path[0]=='\\' && path[1]=='\\' // UNC - || path[0]=='/' && path[1]=='/'; -} -#endif +volatile const char * IDENT_PA_DIR_C="$Id: pa_dir.C,v 1.39 2026/09/27 17:27:56 moko Exp $" IDENT_PA_DIR_H; #ifdef _MSC_VER