2
* See the file LICENSE for redistribution information.
4
* Copyright (c) 1997-2002
5
* Sleepycat Software. All rights reserved.
11
static const char revid[] = "$Id$";
18
* Return if a path is an absolute path.
26
* Check for drive specifications, e.g., "C:". In addition, the path
27
* separator used by the win32 DB (PATH_SEPARATOR) is \; look for both
28
* / and \ since these are user-input paths.
30
if (isalpha(path[0]) && path[1] == ':')
32
return (path[0] == '/' || path[0] == '\\');