Re: [PATCH v2] kconfig: avoid an infinite loop in oldconfig/syncconfig

From: Yoann Congal
Date: Tue Sep 12 2023 - 11:51:32 EST


Hi,

On 8/7/23 22:25, Randy Dunlap wrote:
> On 8/7/23 12:25, Masahiro Yamada wrote:
>> It is strange (and consistent) to bail out
>> only for particular types.
>
> It's still very helpful to know the symbol name that is causing
> the issue.
>
>>
>> I would change the code simply as follows:
>> *snip*>>
>> yes "" | make config
>>
>> will succeed.
>>
>> make config < /dev/null
>>
>> will fail.
>>
>> People expecting the closed stdin to succeed
>> may start complaining, but I believe
>> they must fix their wrong scripts.

I've sent a v3 trying to fuse both of your suggestions.

Regards,
--
Yoann Congal
Smile ECS - Tech Expert