[splint-discuss] string concatenation patch

Tommy Pettersson ptp at lysator.liu.se
Wed Jan 2 07:54:08 PST 2008


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"


Anyway, it's nice to see splint improving.



-- 
Tommy Pettersson <ptp at lysator.liu.se>


More information about the splint-discuss mailing list