[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /kern/file.c BUG
From: |
Marco Gerards |
Subject: |
Re: /kern/file.c BUG |
Date: |
Thu, 24 Jan 2008 23:09:17 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
"Yoshinori K. Okuji" <address@hidden> writes:
> On Thursday 24 January 2008 19:34, Pavel Roskin wrote:
>> On Thu, 2008-01-24 at 20:08 +0200, Vesa Jääskeläinen wrote:
>> > Previous behavior was working correctly. You have to handle
>> > errorcodes
>> > at some point and that means when error is handled it is zeroed (or
>> > GRUB_ERR_NONE). So code is in callee where that loop was.
>>
>> I suggest that we never set grub_errno to 0 (except the initialization).
>> That would match the standard errno behavior:
>>
>> http://www.opengroup.org/onlinepubs/009695399/functions/errno.html
>
> Marco is right. As you pointed out, our error handling is different from
> errno
> on Unix, but this is intentional, because I stole the model from GRUB Legacy
> and Parted.
It's nice when people say I am right (it should happen more often).
But I do not recall participating in this thread. Did I miss
something, like I usually do? ;-)
--
Marco
- /kern/file.c BUG, Oleg Strikov, 2008/01/23
- Re: /kern/file.c BUG, Marco Gerards, 2008/01/25
- Re: /kern/file.c BUG, Marco Gerards, 2008/01/25
- Re: /kern/file.c BUG, Robert Millan, 2008/01/25
- Re: /kern/file.c BUG, Marco Gerards, 2008/01/26
- Re: /kern/file.c BUG, Robert Millan, 2008/01/26