Re: [Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-04 Thread Zach Welch
On Fri, 2009-12-04 at 07:48 +0100, Øyvind Harboe wrote: On Fri, Dec 4, 2009 at 3:04 AM, Zachary T Welch z...@superlucidity.net wrote: Commands that do not need to use Jim should be registered as high-level command handlers. Why is that? Nb! ls *does* need to use jim to return a list

Re: [Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-04 Thread Øyvind Harboe
On Fri, Dec 4, 2009 at 10:31 AM, Zach Welch z...@superlucidity.net wrote: On Fri, 2009-12-04 at 07:48 +0100, Øyvind Harboe wrote: On Fri, Dec 4, 2009 at 3:04 AM, Zachary T Welch z...@superlucidity.net wrote: Commands that do not need to use Jim should be registered as high-level command

[Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-03 Thread Zachary T Welch
Commands that do not need to use Jim should be registered as high-level command handlers. Signed-off-by: Zachary T Welch z...@superlucidity.net --- src/helper/ioutil.c | 29 +++-- 1 files changed, 11 insertions(+), 18 deletions(-) diff --git a/src/helper/ioutil.c

Re: [Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-03 Thread Øyvind Harboe
On Fri, Dec 4, 2009 at 3:04 AM, Zachary T Welch z...@superlucidity.net wrote: Commands that do not need to use Jim should be registered as high-level command handlers. Why is that? Nb! ls *does* need to use jim to return a list of directory names used by other jim commands. -- Øyvind Harboe