Re: checknr WARNS6 cleanup
On Tue, Feb 01, 2005 at 10:08:46PM -0800, Chris Pressey wrote:
> Attached is a refined version of this patch. I'm not really happy about
> the malloc()s, but the other alternative is to copy all of br[] and
> knowncmds[] into writeable buffers, which isn't very appetizing either.
I haven't checked the original source, but is there a good reason not
to just strdup the strings? And check the return value for NULL of course :)
Joerg
討論串 (同標題文章)