kconfig: allow long lines in config file
authorCody Schafer <cody@linux.vnet.ibm.com>
Fri, 13 Jul 2012 18:27:12 +0000 (11:27 -0700)
committerChristian Lamparter <chunkeey@googlemail.com>
Thu, 13 Sep 2012 23:48:36 +0000 (01:48 +0200)
commita73a0c24ea59bb035857da45a3a41febd1783668
tree3dbd3a4a6485498a38a7a4b30f81fda0be515731
parentf11f37fb0552128b46cdfef44e65a5b2d0c6f3f3
kconfig: allow long lines in config file

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 compat_getline to fix. compat_getline is an
internally implimented getline work-alike for portability purposes.

Signed-off-by: Cody Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
config/confdata.c