Changeset 10578
- Timestamp:
- Dec 8, 2006, 12:18:58 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfig.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfig.c
r10501 r10578 4 4 * @author EAM (IfA) 5 5 * 6 * @version $Revision: 1.6 4$ $Name: not supported by cvs2svn $7 * @date $Date: 2006-12-0 6 20:25:12$6 * @version $Revision: 1.65 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2006-12-08 22:18:58 $ 8 8 * 9 9 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 845 845 846 846 // strip file:// from front of name 847 if (!strncasecmp (newName, "file://", strlen("file://"))) { 848 psStringSubstitute(&newName, "", "file://"); 847 if (!strncasecmp (newName, "file:", strlen("file:"))) { 848 char *point = newName + strlen("file:"); 849 while (*point == '/') 850 point ++; 851 char *tmpName = psStringCopy (point); 852 psFree (newName); 853 newName = tmpName; 849 854 } 850 855
Note:
See TracChangeset
for help on using the changeset viewer.
