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: two questions about GDB coding standards


Quoting Mark Kettenis <mark.kettenis@xs4all.nl>:

>    I'd like to contribute.  But running splint against GDB source tree, I
>    find over 230 usages of sprintf.  If the conversion depends completely
>    on hand work, the workload might be quite big.  Is there any method to
>    achieve this more quickly?  to say, a script to handle it automatically,
>    or any others?  
> 
> I'm afraid not; but hey you don't have to do all of them ;-).  Start
> with the ones in code that you're a bit familliar with, and see where
> you end up.  Even if you only convert 10% it is very useful.

OK.  I'd like to begin with what you suggested in the near future.  

Cheers
- Wu Zhou


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