- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/Ohana
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/Ohana merged eligible /branches/eam_branches/Ohana.20100407 27635-27772 /branches/pap_delete/Ohana 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simtest_nebulous_branches/Ohana/src/opihi/cmd.basic/substr.c
r18705 r27840 16 16 // add a range check here 17 17 if ((N1 < 0) || (N1 >= strlen(argv[1]))) { 18 gprint (GP_ERR, "ERROR: N1 out of range\n");18 gprint (GP_ERR, "ERROR: start value out of range in substr command\n"); 19 19 return (FALSE); 20 20 } 21 21 if ((N2 < 0) || ((N2+N1) > strlen(argv[1]))) { 22 gprint (GP_ERR, "ERROR: N2 out of range\n");22 gprint (GP_ERR, "ERROR: end value out of range in substr command\n"); 23 23 return (FALSE); 24 24 }
Note:
See TracChangeset
for help on using the changeset viewer.
