Re: [hackers] [sbase] chown: fix user:group option parsing

From: Dimitris Papastamos <sin_AT_2f30.org>
Date: Mon, 21 Dec 2015 19:05:17 +0000

> + if (uid < 0 && gid < 0)
> + usage();
> +

uid_t, gid_t are typically unsigned, so the check needs to be
== -1 otherwise it will never be true.
Received on Mon Dec 21 2015 - 20:05:17 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 21 2015 - 20:12:12 CET