This is the mail archive of the gdb-patches@sources.redhat.com 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: Add type_sprint() function to return type in string form


On Apr 22,  3:21pm, Andrew Cagney wrote:

> The ARI indicates that all sprintf calls should be replaced with either 
> snprintf or xasprintf.

I think the ARI is a useful tool for noticing potential problems in
gdb, but I don't think you should be using the ARI for making claims
about what is or is not acceptable in GDB.  If you can point to past
discussion(s) where this was decided, then that would be okay.  (I'm not
convinced that the ARI is a codification of all such past discussions.)

After all, the ARI also says "You can not take this seriously!"

Kevin


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