Bug #1443 » detect-dce-opnum.c.patch
detect-dce-opnum.c 2015-04-07 13:24:29.036465652 -0700 | ||
---|---|---|
* once we are done using it */
|
||
dup_str_head = dup_str;
|
||
dup_str_temp = dup_str;
|
||
while ( (comma_token = index(dup_str, ',')) != NULL) {
|
||
while ( (comma_token = strchr(dup_str, ',')) != NULL) {
|
||
comma_token[0] = '\0';
|
||
dup_str = comma_token + 1;
|
||
... | ... | |
if (dor == NULL)
|
||
goto error;
|
||
if ((hyphen_token = index(dup_str_temp, '-')) != NULL) {
|
||
if ((hyphen_token = strchr(dup_str_temp, '-')) != NULL) {
|
||
hyphen_token[0] = '\0';
|
||
hyphen_token++;
|
||
dor->range1 = atoi(dup_str_temp);
|
||
... | ... | |
if (dor == NULL)
|
||
goto error;
|
||
if ( (hyphen_token = index(dup_str, '-')) != NULL) {
|
||
if ( (hyphen_token = strchr(dup_str, '-')) != NULL) {
|
||
hyphen_token[0] = '\0';
|
||
hyphen_token++;
|
||
dor->range1 = atoi(dup_str);
|