Messages in this thread | | | Date | Fri, 13 Jul 2012 15:07:19 +0200 | From | Michal Marek <> | Subject | Re: [PATCH] kconfig: allow long lines in config file |
| |
On 11.7.2012 01:47, cody@linux.vnet.ibm.com wrote: > From: Cody Schafer <cody@linux.vnet.ibm.com> > > 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
| |