Changeset 1989 in kBuild for vendor/gnumake/current/w32/pathstuff.c
- Timestamp:
- Oct 28, 2008 11:02:45 PM (16 years ago)
- File:
-
- 1 edited
-
vendor/gnumake/current/w32/pathstuff.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vendor/gnumake/current/w32/pathstuff.c
r900 r1989 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 <string.h> … … 71 71 /* all finished, force abort */ 72 72 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; 73 79 } else { 74 80 /* found another one, no drive letter */ 75 81 *etok = to_delim; 76 82 p = ++etok; 77 }83 } 78 84 79 85 return Path;
Note:
See TracChangeset
for help on using the changeset viewer.

