Re: [PATCH 15/15] kconf: Check for eof from input stream.

From: Bodo Eggert
Date: Wed Jan 18 2006 - 16:43:23 EST


Roman Zippel <zippel@xxxxxxxxxxxxxx> wrote:
> On Thu, 12 Jan 2006, Ben Collins wrote:

>> What I don't understand is that if oldconfig is an interactive target,
>> why make it work when interactivity is not available?
>
> It means it will accept any input and no input (by just pressing enter or
> ctrl-d) means the default answer.

If I press ^D, I'd expect to select the abort option (like e.g. all sane
GUIs do if you close yes/no/abort dialogs instead of selecting a button).
I can see no advantage from implementing this unexpected behaviour.

<rant>
I don't understand programmers trying to go ahead even if they know they're
going the wrong way. The header file can't be found - let's see if it wasn't
needed, maybe the programmer inserted it just for fun! There is an unknown
argument '--version'? Just ignore it and start the operation, it won't have
been that important! *grrrrrr*
</rant>
--
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/