[splint-discuss] string concatenation patch

Ed Beroset beroset at mindspring.com
Wed Jan 2 08:52:26 PST 2008


Tommy Pettersson wrote:
> On Mon, Dec 31, 2007 at 09:52:20AM -0500, Ed Beroset wrote:
>> +	case '\\':
>> +	  *ss++ = *ts++;
>> +	  escape = TRUE;
>> +	  /*@switchbreak@*/ break;
> 
> I think this code will mess up an escaped backslash, e.g.,
> 
>   "foo \\" FOOBAR " bar"

You're right.  Thanks for the bug report.  I'll fix that.

> Anyway, it's nice to see splint improving.

When I fix this, I hope it really will be an improvement.

Ed


More information about the splint-discuss mailing list