scripts/kconfig/nconf: dynamically alloc dialog_input_result
authorCheng Renquan <crquan@gmail.com>
Thu, 1 Sep 2011 17:52:20 +0000 (10:52 -0700)
committerMichal Marek <mmarek@suse.cz>
Fri, 9 Sep 2011 12:40:08 +0000 (14:40 +0200)
commit5ea9f64ffc073bf2882f6aa83b0dad3609b1e67a
tree3915aa9950e2b9e6404acb48a945c00662964954
parentcd58a90fa6ff2ec86bcc9e399acfd6dcc97268b3
scripts/kconfig/nconf: dynamically alloc dialog_input_result

To support unlimited length string config items;

No check for realloc return value keeps code simple, and to be
consistent with other existing unchecked malloc in kconfig.

Signed-off-by: Cheng Renquan <crquan@gmail.com>
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
scripts/kconfig/nconf.c
scripts/kconfig/nconf.gui.c
scripts/kconfig/nconf.h