Changeset 635
- Timestamp:
- May 10, 2004, 1:37:36 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
sys/psString.c (modified) (2 diffs)
-
sysUtils/psString.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psString.c
r631 r635 8 8 * @author Eric Van Alst, MHPCC 9 9 * 10 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-05-10 19:01:36 $10 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-05-10 23:37:36 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 88 88 // Ensure the last byte is NULL character 89 89 if ( nChar > 0 ) { 90 returnValue[nChar-1] = NULL;90 returnValue[nChar-1] = '\0'; 91 91 } 92 92 -
trunk/psLib/src/sysUtils/psString.c
r631 r635 8 8 * @author Eric Van Alst, MHPCC 9 9 * 10 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-05-10 19:01:36 $10 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-05-10 23:37:36 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 88 88 // Ensure the last byte is NULL character 89 89 if ( nChar > 0 ) { 90 returnValue[nChar-1] = NULL;90 returnValue[nChar-1] = '\0'; 91 91 } 92 92
Note:
See TracChangeset
for help on using the changeset viewer.
