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

From: Bodo Eggert
Date: Thu Jan 19 2006 - 07:42:36 EST


On Thu, 19 Jan 2006, Roman Zippel wrote:
> On Wed, 18 Jan 2006, Bodo Eggert wrote:

> > > 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
>
> That would be ^C. ^D means end-of-file and it's up to the application,
> whether it needs further information to continue or not.

If it does need data, it SHOULD NOT invent it, especially if inventing
this data has no benefit and causes unexpected beahviour and random
breakage.

--
Top 100 things you don't want the sysadmin to say:
66. What do you mean you needed that directory?
-
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/