On Tue 12 May 2015 05:10:56 PM CEST, Eric Blake <[email protected]> wrote:
> POSIX says getopt() returns -1 on completion. While Linux happens > to define EOF as -1, this definition is not required by POSIX, and > there may be platforms where checking for EOF instead of -1 would > lead to an infinite loop. > > Signed-off-by: Eric Blake <[email protected]> Reviewed-by: Alberto Garcia <[email protected]> Berto
