Changeset 2454 in kBuild
- Timestamp:
- Jul 7, 2011 7:51:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/w32/pathstuff.c
r2317 r2454 1 1 /* Path conversion for Windows pathnames. 2 2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 3 2007 Free Software Foundation, Inc.3 2007, 2009 Free Software Foundation, Inc. 4 4 This file is part of GNU Make. 5 5 … … 52 52 53 53 /* is this a multi-element Path ? */ 54 /* FIXME: Perhaps use ":;\"" in strpbrk to convert all quotes to 55 delimiters as well, as a way to handle quoted directories in 56 PATH? */ 54 57 for (p = Path, etok = strpbrk(p, ":;"); 55 58 etok; … … 77 80 ; 78 81 etok = strpbrk(p, ":;"); /* find next delimiter */ 79 *etok = to_delim; 80 p = ++etok; 82 if (etok) { 83 *etok = to_delim; 84 p = ++etok; 85 } else 86 p += strlen(p); 81 87 } else { 82 88 /* found another one, no drive letter */
Note:
See TracChangeset
for help on using the changeset viewer.