|
From: <kin...@us...> - 2025-09-09 04:29:00
|
Revision: 7373
http://sourceforge.net/p/teem/code/7373
Author: kindlmann
Date: 2025-09-09 04:28:57 +0000 (Tue, 09 Sep 2025)
Log Message:
-----------
permit passed oldArgv to NULL; useful for testing
Modified Paths:
--------------
teem/trunk/src/hest/parseHest.c
Modified: teem/trunk/src/hest/parseHest.c
===================================================================
--- teem/trunk/src/hest/parseHest.c 2025-09-08 23:29:06 UTC (rev 7372)
+++ teem/trunk/src/hest/parseHest.c 2025-09-09 04:28:57 UTC (rev 7373)
@@ -140,7 +140,7 @@
/* count number of given ("old") args */
oldArgc = 0;
- while (oldArgv[oldArgc]) {
+ while (oldArgv /* might be NULL for testing */ && oldArgv[oldArgc]) {
oldArgc++;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|