> "David O'Brien" <[EMAIL PROTECTED]> writes:
> > Well... it would be nice if people would do CORRECT fixes. From
> > some things DES was saying, people are making some really stupid "fixes"
> > just to quite warnings. Esp. WRT const.
> Yes, the YP code is full of strdup()s that have no purpose other than
> to silence const warnings, and the allocated memory is never freed -
> nor is the return value from strdup() checked.
Some strdup()s are ok. if they are definitely one-offs, then
they are no worse than "char foo[BAR]" for some value of BAR.
Others can be downright evil.
o Mark Murray
\_ FreeBSD Services Limited
O.\_ Warning: this .sig is umop ap!sdn
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message