Changeset 1993 for trunk/src/kmk/w32/pathstuff.c
- Timestamp:
- Oct 29, 2008, 1:37:51 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/w32/pathstuff.c
r1261 r1993 1 1 /* Path conversion for Windows pathnames. 2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 3 200 6Free Software Foundation, Inc.2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 3 2007 Free Software Foundation, Inc. 4 4 This file is part of GNU Make. 5 5 6 6 GNU Make is free software; you can redistribute it and/or modify it under the 7 7 terms of the GNU General Public License as published by the Free Software 8 Foundation; either version 2, or (at your option) any later version. 8 Foundation; either version 3 of the License, or (at your option) any later 9 version. 9 10 10 11 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY … … 13 14 14 15 You 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. */ 16 this program. If not, see <http://www.gnu.org/licenses/>. */ 17 17 18 18 #include <Windows.h> /* bird */ … … 73 73 /* all finished, force abort */ 74 74 p += strlen(p); 75 } else if (*p == '"') { /* a quoted directory */ 76 for (p++; *p && *p != '"'; p++) /* skip quoted part */ 77 ; 78 etok = strpbrk(p, ":;"); /* find next delimiter */ 79 *etok = to_delim; 80 p = ++etok; 75 81 } else { 76 82 /* found another one, no drive letter */ 77 83 *etok = to_delim; 78 84 p = ++etok; 79 85 } 80 86 81 87 return Path;
Note:
See TracChangeset
for help on using the changeset viewer.