On 11 Sep 2010, at 23:44, Christos Zoulas wrote:

> In article <5217ce1f-57c2-40bc-9281-50f90bba0...@zhadum.org.uk>,
> Matthias Scheler  <t...@zhadum.org.uk> 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/


Reply via email to