Changeset 1394 for trunk/src/gcc/libiberty/lbasename.c
- Timestamp:
- Apr 28, 2004, 6:58:06 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/libiberty/lbasename.c
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1393 r1394 1 1 /* Libiberty basename. Like basename, but is not overridden by the 2 2 system C library. 3 Copyright (C) 2001 Free Software Foundation, Inc.3 Copyright (C) 2001, 2002 Free Software Foundation, Inc. 4 4 5 5 This file is part of the libiberty library. … … 54 54 #endif 55 55 56 /* Define IS_DIR_SEPARATOR. VMS uses '::', ':', '[...]' and '<...>' to 57 separate the different components of a file specification. It's a 58 bit of a stretch to call ':', ']' and '>' directory separators, so 59 just define the test to find the file name component. */ 60 #ifdef VMS 61 # define IS_DIR_SEPARATOR(ch) ((ch) == ':' || (ch) == ']' || (ch) == '>') 56 #ifndef DIR_SEPARATOR_2 57 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 62 58 #else 63 # ifndef DIR_SEPARATOR_2 64 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 65 # else 66 # define IS_DIR_SEPARATOR(ch) \ 59 # define IS_DIR_SEPARATOR(ch) \ 67 60 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) 68 # endif69 61 #endif 70 62 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.