Ignore:
Timestamp:
Apr 22, 2007, 10:57:48 AM (18 years ago)
Author:
bird
Message:

Applied patch from Paul (aka Creeping).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/dev-lang/perl/util.h

    r3187 r3188  
    2727         || ((f)[0] == '\\' && (f)[1] == '\\')  /* UNC path */  \
    2828         ||     ((f)[3] == ':'))                                /* volume name, currently only sys */
    29 #  else         /* !NETWARE */
    30 #    if defined( DOSISH) || defined(EPOC)
     29#  else         /* !__NETWARE */
     30#    if defined( __KLIBC__)
     31#      define PERL_FILE_IS_ABSOLUTE(f) \
     32        (*(f) == '/' || *(f) == '\\'    \
     33         || ((f)[1] == ':' && (f)[2] == '/') || ((f)[1] == ':' && (f)[2] == '\\'))              /* drive name */
     34#  else         /* !__KLIBC__ */
     35#    if defined( DOSISH) || defined(EPOC)
    3136#      define PERL_FILE_IS_ABSOLUTE(f) \
    3237        (*(f) == '/'                                                    \
     
    4045#    endif      /* DOSISH */
    4146#   endif       /* NETWARE */
     47#   endif       /* __KLIBC__ */
    4248#  endif        /* WIN32 */
    4349#endif          /* VMS */
Note: See TracChangeset for help on using the changeset viewer.