diff options
Diffstat (limited to 'src/port/path.c')
-rw-r--r-- | src/port/path.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/port/path.c b/src/port/path.c index 565f496173a..a8f53bd8950 100644 --- a/src/port/path.c +++ b/src/port/path.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/path.c,v 1.9 2004/05/18 03:36:45 momjian Exp $ + * $PostgreSQL: pgsql/src/port/path.c,v 1.10 2004/05/19 04:21:49 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -35,24 +35,6 @@ static void trim_trailing_separator(char *path); /* - * is_absolute_path - */ -bool -is_absolute_path(const char *filename) -{ - return filename[0] == '/' -#ifdef WIN32 /* WIN32 paths can either have forward or - * backward slashes */ - || filename[0] == '\\' - || (isalpha(filename[0]) && filename[1] == ':' - && (filename[2] == '\\' || filename[2] == '/')) -#endif - ; -} - - - -/* * first_path_separator */ char * |