VirtualBox

Ignore:
Timestamp:
Oct 28, 2008 11:02:45 PM (16 years ago)
Author:
bird
Message:

Load gnumake-2008-10-28-CVS into vendor/gnumake/current.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/gnumake/current/w32/pathstuff.c

    r900 r1989  
    11/* Path conversion for Windows pathnames.
    2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006 Free Software Foundation, Inc.
     2Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
     32007 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
    66GNU Make is free software; you can redistribute it and/or modify it under the
    77terms of the GNU General Public License as published by the Free Software
    8 Foundation; either version 2, or (at your option) any later version.
     8Foundation; either version 3 of the License, or (at your option) any later
     9version.
    910
    1011GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    1314
    1415You should have received a copy of the GNU General Public License along with
    15 GNU Make; see the file COPYING.  If not, write to the Free Software
    16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     16this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
    1818#include <string.h>
     
    7171                /* all finished, force abort */
    7272                p += strlen(p);
     73        } else if (*p == '"') { /* a quoted directory */
     74            for (p++; *p && *p != '"'; p++) /* skip quoted part */
     75                ;
     76            etok = strpbrk(p, ":;");        /* find next delimiter */
     77            *etok = to_delim;
     78            p = ++etok;
    7379        } else {
    7480            /* found another one, no drive letter */
    7581            *etok = to_delim;
    7682            p = ++etok;
    77         }
     83        }
    7884
    7985    return Path;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette