[patch, rfc] Fix Wformat-nonlit prob with dsrec.c
Andrew Cagney
ac131313@redhat.com
Tue Aug 12 19:34:00 GMT 2003
> Hello,
>
> This fixes a format-nonliteral warning in dsrec.c. It also eliminates the sprintf replacing it with snprintf.
>
> I should note that I don't have access to a m/c that uses srecords so `it looks ok ...'. I'm looking to commit this in a few days.
I've checked this in.
Andrew
> 2003-08-10 Andrew Cagney <cagney@redhat.com>
>
> * Makefile.in (dsrec.o): Update dependencies.
> * dsrec.c: Include "gdb_assert.h".
> (make_srec): Use snprintf instead of sprintf, use a literal format
> string.
>
More information about the Gdb-patches
mailing list