Ignore:
Timestamp:
May 1, 2007, 7:20:54 PM (18 years ago)
Author:
bird
Message:

Backed out Brendan's patches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/bash/3.1-p17/general.c

    r3232 r3275  
    663663     are handled OK by the `else' part of the if statement; an empty
    664664     string is returned in that case. */
    665 #ifndef __OS2__
    666665  if (i && string[i] == ':')
    667666    i++;
     
    669668  for (start = i; string[i] && string[i] != ':'; i++)
    670669    ;
    671 
    672 #else /* __OS2__ */
    673   if (i && (string[i] == ':' || string[i] ==';'))
    674     i++;
    675 
    676   /* In OS/2, interpret either `:' or `;' as separator, except when
    677      the `:' looks like part of a drive letter. */
    678   for (start = i;; i++)
    679     {
    680       if (!string[i])
    681           break;
    682       if (string[i] == ';')
    683           break;
    684       if (string[i] != ':')
    685           continue;
    686       if (i - start != 1)
    687           break;
    688       if (!isalpha (string[i - 1]))
    689           break;
    690     }
    691 #endif /* __OS2__ */
    692670
    693671  *p_index = i;
Note: See TracChangeset for help on using the changeset viewer.