diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-01-18 08:44:04 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-01-18 08:44:04 +0000 |
commit | b538a7e6b493b177dbc4546e85bc078d8433a19c (patch) | |
tree | 3b5ecba37f4436c0463c779ba75efb6975cfce61 /dmake/unix | |
parent | ac8afc8a836f30303aecf7bbb052d1d04a20ac6f (diff) |
INTEGRATION: CWS dmake47 (1.1.1.1.156); FILE MERGED
2006/10/01 16:23:32 vq 1.1.1.1.156.1: #i69742# Clean up/speed up Build_path().
Diffstat (limited to 'dmake/unix')
-rw-r--r-- | dmake/unix/dirbrk.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dmake/unix/dirbrk.c b/dmake/unix/dirbrk.c index 727df34f70a4..6189d61009d0 100644 --- a/dmake/unix/dirbrk.c +++ b/dmake/unix/dirbrk.c @@ -1,4 +1,4 @@ -/* RCS $Id: dirbrk.c,v 1.1.1.1 2000-09-22 15:33:33 hr Exp $ +/* RCS $Id: dirbrk.c,v 1.2 2007-01-18 09:44:04 vg Exp $ -- -- SYNOPSIS -- Define the directory separator string. @@ -38,5 +38,9 @@ PUBLIC int If_root_path(name) char *name; { - return( strchr(DirBrkStr, *name) != NIL(char) ); + return( strchr(DirBrkStr, *name) != NIL(char) +#ifdef HAVE_DRIVE_LETTERS + || (*name && name[1] == ':' && isalpha(*name)) +#endif + ); } |