Ignore:
Timestamp:
May 1, 2007, 4:30:37 PM (19 years ago)
Author:
bird
Message:

Two driveletter cases we share with cygwin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/app-shells/bash/lib/sh/pathphys.c

    r3231 r3264  
    105105
    106106  /* POSIX.2 says to leave a leading `//' alone.  On cygwin, we skip over any
    107      leading `x:' (dos drive name). */
    108 #if defined (__CYGWIN__)
     107     leading `x:' (dos drive name). */
     108#if defined (__CYGWIN__)
    109109  qbase = (ISALPHA((unsigned char)workpath[0]) && workpath[1] == ':') ? workpath + 3 : workpath + 1;
    110110#else
     
    215215              q = result;
    216216              /* Duplicating some code here... */
    217 #if defined (__CYGWIN__)
     217#if defined (__CYGWIN__)
    218218              qbase = (ISALPHA((unsigned char)workpath[0]) && workpath[1] == ':') ? workpath + 3 : workpath + 1;
    219219#else
Note: See TracChangeset for help on using the changeset viewer.