Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/audiocfg



On Oct 24, 11:09pm, dholland-sourcechanges%netbsd.org@localhost (David Holland) 
wrote:
-- Subject: Re: CVS commit: src/usr.bin/audiocfg

| On Mon, Sep 13, 2010 at 01:32:38PM +1000, matthew green wrote:
|  >>>> Should we make perror() produce a warning so people will stop using it?
|  >>>
|  >>> No, as it is not a NetBSD specific API.
|  >> 
|  >> Neither is gets()
|  > 
|  > using perror() doesn't lead to fatal security flaws.
|  > 
|  > i don't see any good reason to warn on it.
| 
| The man page should, however, at least mention warn() and perhaps note
| that warn() is preferred. I will attend to this.
| 
| And, btw, the man page also claims that perror first appeared in
| 4.4BSD. Is this really correct?

completely wrong. It has been there as long as I can remember. SVR1,
BSD4.1 is the first I used. But I bet it is older than that.

thanks.

christos


Home | Main Index | Thread Index | Old Index