On Sun, Nov 22, 2009 at 1:56 AM, Andreas Fritiofson <andreas.fritiof...@gmail.com> wrote: > On Sun, Nov 22, 2009 at 1:13 AM, Zach Welch <z...@superlucidity.net> wrote: >> Checkout your branch and run 'git rebase master'. That will update your >> branch against the current master. Then, do the same thing with '-i'. >> Select the patches to change and mark them with 'e', change the files, >> add them and --amend the comment, then --continue the rebase. Rinse and >> repeat for all marked files. > > Great, that was easy, thanks! Here's an updated patch, this time using > C99 variable length arrays. I'm using the unbounded string functions > here, guessing we can trust getenv() to return a piece of memory that > won't change on the fly.
Do not use variable length arrays. Use malloc(). If you use variable length arrays on the stack that messes with embedded / uCLinux hosts. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development