> // Change all the ' --' strings to '~--' so that
> // they can be identified as tokens.
> while ((conflist = strstr(str, " --")) != NULL) {
> - strncpy(conflist, "~--", 3);
> + conflist[0] = '~';
> }
Doesn't this simply replace -- with ~- ?
The comment seems wrong to me...