This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

JFFS2 fails to create files


Small regression fix.

Øyvind

Index: current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/jffs2/current/ChangeLog,v
retrieving revision 1.28
diff -a -w -u -r1.28 ChangeLog
--- current/ChangeLog	15 Mar 2004 17:03:44 -0000	1.28
+++ current/ChangeLog	16 Mar 2004 12:24:23 -0000
@@ -1,3 +1,9 @@
+2004-03-17  Oyvind Harboe <oyvind.harboe@zylin.com>
+
+	* src/fs-ecos.c:
+	  With CYGOPT_FS_JFFS2_WRITE=1, file creation failed. The problem was
+	  introduced in fs-ecos.c 1.20
+
 2004-03-11  Oyvind Harboe <oyvind.harboe@zylin.com>
 	
 	* src/fs-ecos.c:
Index: current/src/fs-ecos.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/jffs2/current/src/fs-ecos.c,v
retrieving revision 1.21
diff -a -w -u -r1.21 fs-ecos.c
--- current/src/fs-ecos.c	15 Mar 2004 17:03:45 -0000	1.21
+++ current/src/fs-ecos.c	16 Mar 2004 12:24:25 -0000
@@ -686,7 +686,7 @@
 	if (!dir)
 		dir = mte->root;
 
-#ifdef CYGOPT_FS_JFFS2_WRITE
+#ifndef CYGOPT_FS_JFFS2_WRITE
 	if (mode & (O_CREAT|O_TRUNC|O_WRONLY))
 		return EROFS;
 #endif

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]