checknr WARNS6 cleanup
Joerg Sonnenberger
joerg at britannica.bec.de
Wed Feb 2 04:58:29 PST 2005
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
More information about the Submit
mailing list