cmdline (merge-intel): don't limit output len of cmdline_printf()
authorOlivier Matz <zer0@droids-corp.org>
Fri, 24 Dec 2010 12:56:06 +0000 (13:56 +0100)
committerOlivier Matz <zer0@droids-corp.org>
Sun, 2 Jan 2011 20:53:15 +0000 (21:53 +0100)
commitc1d9d291f2bc55b98d5f25ea7c0ee2f33f16b1b6
tree7a25262c40312152f95b0c9536b7f265b1118e3f
parent965fc749130a420fb3d5dea9418937e1db0a5786
cmdline (merge-intel): don't limit output len of cmdline_printf()

It was using a big buffer in stack. Now use vdprintf() if _GNU_SOURCE
is defined, or a malloc + free if not.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
src/lib/cmdline.c