Mercurial > flash_v2
diff packages/fs/jffs2/current/tests/fileio1.c @ 1443:cd7d2afbc7dd
Import latest JFFS2 code from David Woodhouse
| author | gthomas |
|---|---|
| date | Thu, 11 Dec 2003 23:33:54 +0000 |
| parents | d2c90368aeef |
| children | 99834d6b6eeb |
line wrap: on
line diff
--- a/packages/fs/jffs2/current/tests/fileio1.c +++ b/packages/fs/jffs2/current/tests/fileio1.c @@ -97,7 +97,7 @@ diag_printf("<FAIL>: " #_fn "() returned //========================================================================== -#define IOSIZE 100 +#define IOSIZE 1000 #define LONGNAME1 "long_file_name_that_should_take_up_more_than_one_directory_entry_1" #define LONGNAME2 "long_file_name_that_should_take_up_more_than_one_directory_entry_2" @@ -182,7 +182,7 @@ static void listdir( char *name, int sta static void createfile( char *name, size_t size ) { - char buf[IOSIZE]; + unsigned char buf[IOSIZE]; int fd; ssize_t wrote; int i; @@ -255,7 +255,7 @@ static void maxfile( char *name ) static void checkfile( char *name ) { - char buf[IOSIZE]; + unsigned char buf[IOSIZE]; int fd; ssize_t done; int i;
