Changeset 1743
- Timestamp:
- Sep 8, 2004, 3:45:49 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
sys/psTrace.c (modified) (2 diffs)
-
sysUtils/psTrace.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psTrace.c
r1742 r1743 9 9 * @author George Gusciora, MHPCC 10 10 * 11 * @version $Revision: 1.3 1$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-09-09 01:4 4:02$11 * @version $Revision: 1.32 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-09-09 01:45:49 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 219 219 psSetTraceLevel(): add the component named "comp" to the component tree, 220 220 if it is not already there, and set it's trace level to "level". 221 222 NOTE: We modified this so that the user may omit the leading "," in a 223 component name. Since the code was already implemented assuming the "." 224 was required, rather than change all that code, in this function, I 225 simply add a leading "." to the component name if there is none. 226 221 227 Input: 222 228 comp -
trunk/psLib/src/sysUtils/psTrace.c
r1742 r1743 9 9 * @author George Gusciora, MHPCC 10 10 * 11 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-09-09 01:4 2:37$11 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-09-09 01:44:02 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 356 356 } 357 357 358 // If the component name has no leading dot, then supply it. 358 359 if (name[0] != '.') { 359 360 compName = (char *) psAlloc(10 + strlen(name));
Note:
See TracChangeset
for help on using the changeset viewer.
