[U-Boot] Possible bug in UBIFS function ubifs_finddir

2011-06-16 Thread Rod Boyce
but before I do I just wanted to make sure I was not missing the obvious. Has this been discussed before and is there already a patch? Regards, Rod Boyce ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [Patch] For bug in UBIFS function ubifs_finddir

2011-06-18 Thread Rod Boyce
Free private_data member element before freeing file structure. This was causing malloc to crash. Also remove unnecessary variable assigments after file structure was free'd. Signed-off-by: Rod Boyce --- fs/ubifs/ubifs.c -- diff --

[U-Boot] [Patch] Update filesize environment variable on ubifs_load

2011-06-18 Thread Rod Boyce
Add functionality to update filesize environment variable when ubifs_load is called to read a file from filesystem Signed-off-by: Rod Boyce --- fs/ubifs/ubifs.c -- diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c index 61f70b2..17097f2

Re: [U-Boot] Nested Makefiles

2011-06-18 Thread Rod Boyce
ve written a non-recursive makefile build system that I have licensed under BSD. It currently supports GCC cortex-M3, SDCC, gcc host for tools. I have build the system such that it is very easy to add compilers, architectures, different hosts (although Linux is only supported at the

Re: [U-Boot] [PATCH] ubifs: Fix bad free() sequence in ubifs_finddir()

2011-07-28 Thread Rod Boyce
On 28/07/11 14:27, Wolfgang Denk wrote: > As Rod appears to have disappeared I took the frredom to jump in and > fix this. - wd > All, Sorry about this I missed the e-mail asking me to reformat the patch. Thanks for sorting this out Wolfgang. Regards,