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 11 Sep 2010, at 23:44, Christos Zoulas wrote:
> In article <5217CE1F-57C2-40BC-9281-50F90BBA01D0%zhadum.org.uk@localhost>,
> Matthias Scheler <tron%zhadum.org.uk@localhost> wrote:
>>
>> On 6 Sep 2010, at 23:35, Christos Zoulas 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()
Well, but gets() is clearly broken by design, perror(3) isn't. And the obvious
replacement for gets(3) is fgets(3) which is portable. I don't think that
warnx(3), etc. are portable.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index