Hi, On Tue, Aug 17, 2010 at 4:27 AM, Michal Marek <mmarek@xxxxxxx> wrote: > On Mon, Aug 16, 2010 at 12:19:03AM -0400, Arnaud Lacombe wrote: >> These may not be modifiable, as per C99 comment: >> >> section 7.19.5.4, note 232: >> " >> The primary use of the freopen function is to change the file associated with a >> standard text stream (stderr, stdin, or stdout), as those identifiers need not >> be modifiable lvalues to which the value returned by the fopen function may be >> assigned. >> " >> >> Use a duplicate of stdout as ncurses' output terminal, then redirect it >> to /dev/null for conf_write(). > > I would much rather get rid of this redirection completely. The config > library should not play with stdout, but let the frontends display > messages as they wish. > sounds reasonable to me, I didn't want at first to dig too much in kconfig's internals, which would have lead to modification in other part of the code. - Arnaud -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html