Index: current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/fs/rom/current/ChangeLog,v retrieving revision 1.27 diff -u -w -r1.27 ChangeLog --- current/ChangeLog 28 Apr 2009 13:06:11 -0000 1.27 +++ current/ChangeLog 3 Jul 2009 12:44:06 -0000 @@ -1,3 +1,9 @@ +2009-04-28 Øyvind Harboe + + * src/romfs.c: file name comparsion was broken for two files + with the same stem. A directory/filed called "foo" would not + be found if there was a file "foo*" before "foo". + 2009-04-28 John Dallaway cdl/romfs.cdl: Use CYGPKG_IO_FILEIO as the parent. Index: current/src/romfs.c =================================================================== RCS file: /cvs/ecos/ecos/packages/fs/rom/current/src/romfs.c,v retrieving revision 1.10 diff -u -w -r1.10 romfs.c --- current/src/romfs.c 29 Jan 2009 17:48:54 -0000 1.10 +++ current/src/romfs.c 3 Jul 2009 12:44:07 -0000 @@ -336,7 +336,7 @@ { for ( ; len > 0 && *a && *b && *a == *b ; a++, b++, len-- ) ; - return ( len == 0 ); + return ( len == 0 ) && (*a==0); }