Re: [PATCH] kconfig: allow long lines in config file

From: Michal Marek
Date: Fri Jul 13 2012 - 09:07:19 EST


On 11.7.2012 01:47, cody@xxxxxxxxxxxxxxxxxx wrote:
> From: Cody Schafer <cody@xxxxxxxxxxxxxxxxxx>
>
> For some config options (CONFIG_EXTRA_FIRMWARE, for example), the length
> of a config file line can exceed the 1024 byte buffer.
>
> Switch from fgets to getline to fix.

getline() is not a portable function and kconfig is an essential part of
kernel build. Could you please change it to a loop over fgets that
terminates when the last character is '\n'?

Thanks,
Michal
--
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/