Re: [kbd] [PATCH 5/5] Replace error() by fprintf() and perror()

Alexey Gladkov <[email protected]>
Newsgroups dev.linux.lists.kbd
Message-ID <[email protected]>
04.05.2015 22:51, Felix Janda пишет:
> Спасибо, looks like much more consistent and also more informative
> error reporting.

:))))

> Now that there is also kbd_warning(), it is no longer necessary to let
> kbd_error() treat 0 specially and it can get an __attribute__(noreturn).
> See attached patch.

Good catch!

I prefer to save compatibility with the error() function. It costs
nothing, but it does not require to keep in mind the difference
between two implementations.

-- 
Rgrds, legion
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.