On Tuesday 10 January 2012 18:48:12 Doug Anderson wrote: > On Tue, Jan 10, 2012 at 3:44 PM, Mike Frysinger <vap...@gentoo.org> wrote: > > On Tuesday 10 January 2012 18:38:07 Doug Anderson wrote: > > getenv returns a writable buffer, so i wonder if things couldn't be > > avoided easily all around. after all, you're just deleting bytes here, > > not adding new ones. > > Actually, that's not quite true. The current code will add "console=" > in the case that it finds no console argument.
true ... we could still relegate the strdup/free to that step ... -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot