Changeset 3164


Ignore:
Timestamp:
Apr 22, 2007, 3:46:03 AM (19 years ago)
Author:
bird
Message:

convert dos slashes to unix slashes found in the PATH as to not upset any shell scripts using $0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ash/exec.c

    r2463 r3164  
    332332        const char *p;
    333333        char *q;
     334
     335
     336
    334337        const char *start;
    335338        int len;
     
    349352        while (stackblocksize() < len)
    350353                growstackblock();
     354
     355
     356
    351357        q = stackblock();
    352358        if (p != start) {
     
    356362        }
    357363        strcpy(q, name);
     364
     365
     366
     367
    358368        pathopt = NULL;
    359369        if (*p == '%') {
Note: See TracChangeset for help on using the changeset viewer.