change log for rtems (2010-08-18)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Aug 18 05:10:23 CDT 2010


 *ccj*:
2010-08-18      Chris Johns <chrisj at rtems.org>

        PR 1677/filesystem
        * libfs/src/imfs/imfs_creat.c: Fix creating of a file. Lost in the
        change from a switch statement.

M 1.2570  cpukit/ChangeLog
M   1.21  cpukit/libfs/src/imfs/imfs_creat.c

diff -u rtems/cpukit/ChangeLog:1.2569 rtems/cpukit/ChangeLog:1.2570
--- rtems/cpukit/ChangeLog:1.2569	Mon Aug 16 09:09:37 2010
+++ rtems/cpukit/ChangeLog	Wed Aug 18 04:58:14 2010
@@ -1,3 +1,9 @@
+2010-08-18	Chris Johns <chrisj at rtems.org>
+
+	PR 1677/filesystem
+	* libfs/src/imfs/imfs_creat.c: Fix creating of a file. Lost in the
+	change from a switch statement.
+
 2010-08-16	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* posix/include/rtems/posix/aio_misc.h: Remove

diff -u rtems/cpukit/libfs/src/imfs/imfs_creat.c:1.20 rtems/cpukit/libfs/src/imfs/imfs_creat.c:1.21
--- rtems/cpukit/libfs/src/imfs/imfs_creat.c:1.20	Mon Aug  2 13:27:22 2010
+++ rtems/cpukit/libfs/src/imfs/imfs_creat.c	Wed Aug 18 04:58:15 2010
@@ -76,12 +76,11 @@
   } else if ( type == IMFS_LINEAR_FILE ) {
     node->info.linearfile.size      = 0;
     node->info.linearfile.direct    = 0;
-    if ( type == IMFS_MEMORY_FILE ) {
+  } else if ( type == IMFS_MEMORY_FILE ) {
       node->info.file.size            = 0;
       node->info.file.indirect        = 0;
       node->info.file.doubly_indirect = 0;
       node->info.file.triply_indirect = 0;
-    }
   } else if ( type == IMFS_FIFO ) {
     node->info.fifo.pipe = NULL;
   } else {



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rtems.org/pipermail/rtems-vc/attachments/20100818/d64c32b3/attachment.html>


More information about the rtems-vc mailing list