This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]