On 10/4/18 12:48 PM, Eric Blake wrote: > On 10/4/18 11:18 AM, Cleber Rosa wrote: >> A trivial comment typo fix. >> >> Signed-off-by: Cleber Rosa <[email protected]> >> --- >> qemu-img.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/qemu-img.c b/qemu-img.c >> index b12f4cd19b..a96b76c187 100644 >> --- a/qemu-img.c >> +++ b/qemu-img.c >> @@ -1085,7 +1085,7 @@ static int64_t find_nonzero(const uint8_t *buf, >> int64_t n) >> } >> /* >> - * Returns true iff the first sector pointed to by 'buf' contains at >> least >> + * Returns true if the first sector pointed to by 'buf' contains at >> least > > NACK. You're not the first person to propose this change. However, > "iff" is an English word (albeit archaic) which is shorthand for "if and > only if", which has a distinct logical meaning separate from the weaker > "if". Spelling it out in longhand instead of calling it a typo is > probably acceptable, though. > Wow, thanks for the explanation. I agree that spelling it out is a good option, as it'll probably prevent other people from falling into the same "language trap" as I did. Thanks! - Cleber.
- Re: [Qemu-block] [Qemu-devel] [PATCH ... Eric Blake
- Re: [Qemu-block] [Qemu-devel] [PA... Eric Blake
- [Qemu-block] [PATCH 06/10] thunk.c: clean up comme... Cleber Rosa
- Re: [Qemu-block] [PATCH 06/10] thunk.c: clean... Laurent Vivier
- Re: [Qemu-block] [PATCH 06/10] thunk.c: c... Cleber Rosa
- Re: [Qemu-block] [PATCH 06/10] thunk.... Laurent Vivier
- [Qemu-block] [PATCH 08/10] scripts/decodetree.py: ... Cleber Rosa
- Re: [Qemu-block] [Qemu-devel] [PATCH 08/10] s... Philippe Mathieu-Daudé
- [Qemu-block] [PATCH 01/10] qemu-img.c: comment typ... Cleber Rosa
- Re: [Qemu-block] [Qemu-devel] [PATCH 01/10] q... Eric Blake
- Re: [Qemu-block] [Qemu-devel] [PATCH 01/1... Cleber Rosa
- Re: [Qemu-block] [Qemu-devel] [PATCH ... Philippe Mathieu-Daudé
- Re: [Qemu-block] [Qemu-devel] [PATCH 01/1... Peter Maydell
- [Qemu-block] [PATCH 02/10] tests/tcg/README: fix l... Cleber Rosa
- Re: [Qemu-block] [Qemu-devel] [PATCH 02/10] t... Thomas Huth
- Re: [Qemu-block] [Qemu-devel] [PATCH 02/10] t... Alex Bennée
- Re: [Qemu-block] [Qemu-trivial] [PATCH 02/10]... Laurent Vivier
- [Qemu-block] [PATCH 04/10] qemu-iotests: fix filen... Cleber Rosa
- Re: [Qemu-block] [Qemu-devel] [PATCH 04/10] q... Philippe Mathieu-Daudé
- Re: [Qemu-block] [Qemu-trivial] [PATCH 04/10]... Laurent Vivier
- [Qemu-block] [PATCH 05/10] docs/devel/testing.rst:... Cleber Rosa
