Ignore:
Timestamp:
Jun 20, 2012, 12:44:52 AM (13 years ago)
Author:
bird
Message:

gnumake/current -> 3.82-cvs.

Location:
vendor/gnumake/current
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vendor/gnumake/current

    • Property svn:ignore deleted
  • vendor/gnumake/current/w32/pathstuff.c

    r1989 r2596  
    11/* Path conversion for Windows pathnames.
    22Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
    3 2007 Free Software Foundation, Inc.
     32007, 2008, 2009, 2010 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
     
    1616this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
     18#include "make.h"
    1819#include <string.h>
    1920#include <stdlib.h>
    20 #include "make.h"
    2121#include "pathstuff.h"
    2222
     
    5050
    5151    /* is this a multi-element Path ? */
     52    /* FIXME: Perhaps use ":;\"" in strpbrk to convert all quotes to
     53       delimiters as well, as a way to handle quoted directories in
     54       PATH?  */
    5255    for (p = Path, etok = strpbrk(p, ":;");
    5356         etok;
     
    7578                ;
    7679            etok = strpbrk(p, ":;");        /* find next delimiter */
    77             *etok = to_delim;
    78             p = ++etok;
     80            if (etok) {
     81                *etok = to_delim;
     82                p = ++etok;
     83            } else
     84                p += strlen(p);
    7985        } else {
    8086            /* found another one, no drive letter */
Note: See TracChangeset for help on using the changeset viewer.