[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] qemu-io: Use getopt() correctly
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-trivial] [PATCH] qemu-io: Use getopt() correctly |
Date: |
Wed, 13 May 2015 11:35:23 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 12.05.2015 um 17:10 hat Eric Blake geschrieben:
> 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 <address@hidden>
Thanks, applied to my block branch.
Kevin