[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6ee69f33-f8e3-e0ec-99a1-6be69aa37ea4@smile.fr>
Date: Tue, 12 Sep 2023 17:51:26 +0200
From: Yoann Congal <yoann.congal@...le.fr>
To: Randy Dunlap <rdunlap@...radead.org>,
Masahiro Yamada <masahiroy@...nel.org>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] kconfig: avoid an infinite loop in
oldconfig/syncconfig
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
Powered by blists - more mailing lists