[patch 1/3] Code cleanup: strcpy + strlen -> sprintf

Tom Tromey tromey@redhat.com
Wed Oct 19 14:08:00 GMT 2011


Jan> I am unfamiliar with gdbserver but there is no single use of snprintf while
Jan> 75 uses of sprintf.  Isn't it for some platform compatibility?

The gnulib page is informative:

http://www.gnu.org/s/hello/manual/gnulib/snprintf.html

Tom



More information about the Gdb-patches mailing list