Changeset 11618 for trunk/psLib/src/sys
- Timestamp:
- Feb 2, 2007, 8:01:42 PM (20 years ago)
- Location:
- trunk/psLib/src/sys
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psLine.c
r11617 r11618 9 9 #include "psConstants.h" 10 10 #include "psLine.h" 11 #include "psString.h" 11 12 #include "psMemory.h" 12 13 -
trunk/psLib/src/sys/psLine.h
r11248 r11618 9 9 * @author David Robbins, MHPCC 10 10 * 11 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $12 * @date $Date: 2007-0 1-23 22:47:23$11 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2007-02-03 06:01:42 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 20 20 /// @addtogroup SysUtils System Utilities 21 21 /// @{ 22 23 #include "psString.h"24 22 25 23 /** Structure to carry a dynamic string */ -
trunk/psLib/src/sys/psString.c
r11617 r11618 13 13 * @author David Robbins, MHPCC 14 14 * 15 * @version $Revision: 1. 49$ $Name: not supported by cvs2svn $16 * @date $Date: 2007-02-03 0 5:54:08$15 * @version $Revision: 1.50 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2007-02-03 06:01:42 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 118 118 PS_ASSERT_PTR_NON_NULL(format, 0); 119 119 120 size_t length ; // complete string length (sans \0)121 size_t oldLength ; // original string length (sans \0)122 ssize_t tailLength ; // length of string to append120 size_t length = 0; // complete string length (sans \0) 121 size_t oldLength = 0; // original string length (sans \0) 122 ssize_t tailLength = 0; // length of string to append 123 123 124 124 if (*dest) {
Note:
See TracChangeset
for help on using the changeset viewer.
