Ignore:
Timestamp:
Apr 28, 2004, 6:58:06 AM (21 years ago)
Author:
bird
Message:

#1040: Joined the GCC 3.3.3 with the trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/libiberty/lbasename.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r1393 r1394  
    11/* Libiberty basename.  Like basename, but is not overridden by the
    22   system C library.
    3    Copyright (C) 2001 Free Software Foundation, Inc.
     3   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    44
    55This file is part of the libiberty library.
     
    5454#endif
    5555
    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)
    6258#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) \
    6760        (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
    68 #  endif
    6961#endif
    7062
Note: See TracChangeset for help on using the changeset viewer.