[pacman-dev] [PATCH 2/2] Fix some warning that cppcheck gave back

Xavier shiningxc at gmail.com
Sun Oct 25 06:20:44 EDT 2009


On Sun, Oct 25, 2009 at 5:15 AM, Laszlo Papp <djszapi2 at gmail.com> wrote:
> opendir(path)) == (DIR *)-1 is maybe the result of miss understanding of the man
> page, if the opendir wasn't successful it gives back NULL instead of '(DIR *)-1'.
>
> The ambiguity while cycle with EINTR condition was refactored for a do {} while ()
> cycle to be easier to read/understand
>

And where is the explanation for the errno -> pm_errno change ?


More information about the pacman-dev mailing list