change log for rtems (2010-06-30)
rtems-vc at rtems.org
rtems-vc at rtems.org
Wed Jun 30 14:13:04 UTC 2010
*jennifer*:
2010-06-30 Jennifer.Averett <Jennifer.Averett at OARcorp.com>
* libcsupport/include/rtems/libio.h, libfs/Makefile.am: Added
filesystem default mknod method.
* libfs/src/defaults/default_mknod.c: New file.
M 1.2475 cpukit/ChangeLog
M 1.74 cpukit/libcsupport/include/rtems/libio.h
M 1.44 cpukit/libfs/Makefile.am
A 1.1 cpukit/libfs/src/defaults/default_mknod.c
diff -u rtems/cpukit/ChangeLog:1.2474 rtems/cpukit/ChangeLog:1.2475
--- rtems/cpukit/ChangeLog:1.2474 Tue Jun 29 14:37:27 2010
+++ rtems/cpukit/ChangeLog Wed Jun 30 08:58:55 2010
@@ -1,3 +1,9 @@
+2010-06-30 Jennifer.Averett <Jennifer.Averett at OARcorp.com>
+
+ * libcsupport/include/rtems/libio.h, libfs/Makefile.am: Added
+ filesystem default mknod method.
+ * libfs/src/defaults/default_mknod.c: New file.
+
2010-06-29 Jennifer.Averett <Jennifer.Averett at OARcorp.com>
* libcsupport/include/rtems/libio.h, libfs/Makefile.am,
diff -u rtems/cpukit/libcsupport/include/rtems/libio.h:1.73 rtems/cpukit/libcsupport/include/rtems/libio.h:1.74
--- rtems/cpukit/libcsupport/include/rtems/libio.h:1.73 Tue Jun 29 14:37:28 2010
+++ rtems/cpukit/libcsupport/include/rtems/libio.h Wed Jun 30 08:58:56 2010
@@ -918,6 +918,17 @@
/**
* @brief Provides a defualt routine for filesystem
+ * implementation to create a new node.
+ */
+int rtems_filesystem_default_mknod(
+ const char *path, /* IN */
+ mode_t mode, /* IN */
+ dev_t dev, /* IN */
+ rtems_filesystem_location_info_t *pathloc /* IN/OUT */
+);
+
+/**
+ * @brief Provides a defualt routine for filesystem
* implementation of a chown command.
*/
int rtems_filesystem_default_chown(
diff -u rtems/cpukit/libfs/Makefile.am:1.43 rtems/cpukit/libfs/Makefile.am:1.44
--- rtems/cpukit/libfs/Makefile.am:1.43 Tue Jun 29 14:37:28 2010
+++ rtems/cpukit/libfs/Makefile.am Wed Jun 30 08:58:56 2010
@@ -30,7 +30,7 @@
src/defaults/default_write.c src/defaults/default_fpathconf.c \
src/defaults/default_unmount.c src/defaults/default_evaluate_link.c \
src/defaults/default_open.c src/defaults/default_close.c \
- src/defaults/default_fsunmount.c
+ src/defaults/default_fsunmount.c src/defaults/default_mknod.c
noinst_LIBRARIES += libimfs.a
libimfs_a_SOURCES =
diff -u /dev/null rtems/cpukit/libfs/src/defaults/default_mknod.c:1.1
--- /dev/null Wed Jun 30 09:13:03 2010
+++ rtems/cpukit/libfs/src/defaults/default_mknod.c Wed Jun 30 08:58:56 2010
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT (c) 2010.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#include <rtems/libio.h>
+#include <rtems/libio_.h>
+#include <rtems/seterr.h>
+
+int rtems_filesystem_default_mknod(
+ const char *path, /* IN */
+ mode_t mode, /* IN */
+ dev_t dev, /* IN */
+ rtems_filesystem_location_info_t *pathloc /* IN/OUT */
+)
+{
+ rtems_set_errno_and_return_minus_one( ENOTSUP );
+}
*jennifer*:
2010-06-30 Jennifer Averett <Jennifer.Averett at OARcorp.com>
* umon/tfsDriver.c: Corrected filesystem mknod entry to call the
default handler.
M 1.174 c/src/lib/libbsp/shared/ChangeLog
M 1.7 c/src/lib/libbsp/shared/umon/tfsDriver.c
diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.173 rtems/c/src/lib/libbsp/shared/ChangeLog:1.174
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.173 Tue Jun 29 14:45:52 2010
+++ rtems/c/src/lib/libbsp/shared/ChangeLog Wed Jun 30 09:01:16 2010
@@ -1,3 +1,8 @@
+2010-06-30 Jennifer Averett <Jennifer.Averett at OARcorp.com>
+
+ * umon/tfsDriver.c: Corrected filesystem mknod entry to call the
+ default handler.
+
2010-06-29 Jennifer.Averett <Jennifer.Averett at OARcorp.com>
* umon/tfsDriver.c: Changed NULL methods in filesystem tables to be
diff -u rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.6 rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.7
--- rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.6 Tue Jun 29 14:45:53 2010
+++ rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c Wed Jun 30 09:01:17 2010
@@ -705,7 +705,7 @@
rtems_filesystem_default_link, /* link */
rtems_filesystem_default_unlink, /* unlink */
rtems_tfs_node_type, /* node_type */
- devFS_mknod, /* mknod */
+ rtems_filesystem_default_mknod, /* mknod */
rtems_filesystem_default_chown, /* chown */
rtems_tfs_free_node_info, /* freenodinfo */
rtems_filesystem_default_mount, /* mount */
*joel*:
2010-06-30 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1595/tests
* psximfs01/init.c: Fix warnings.
M 1.276 testsuites/psxtests/ChangeLog
M 1.2 testsuites/psxtests/psximfs01/init.c
diff -u rtems/testsuites/psxtests/ChangeLog:1.275 rtems/testsuites/psxtests/ChangeLog:1.276
--- rtems/testsuites/psxtests/ChangeLog:1.275 Mon Jun 28 16:00:15 2010
+++ rtems/testsuites/psxtests/ChangeLog Wed Jun 30 08:54:15 2010
@@ -1,3 +1,8 @@
+2010-06-30 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ PR 1595/tests
+ * psximfs01/init.c: Fix warnings.
+
2010-06-28 Joel Sherrill <joel.sherrill at oarcorp.com>
* psxtime/psxtime.scn, psxtime/test.c: Add test for passing a null
diff -u rtems/testsuites/psxtests/psximfs01/init.c:1.1 rtems/testsuites/psxtests/psximfs01/init.c:1.2
--- rtems/testsuites/psxtests/psximfs01/init.c:1.1 Mon Jun 28 13:48:24 2010
+++ rtems/testsuites/psxtests/psximfs01/init.c Wed Jun 30 08:54:15 2010
@@ -52,7 +52,7 @@
written = write( TestFd, Buffer, sizeof(Buffer) );
if ( written == -1 ) {
if ( errno == ENOSPC ) {
- printf( "Total written = %d\n", TotalWritten );
+ printf( "Total written = %zd\n", TotalWritten );
return;
}
fprintf(
@@ -97,7 +97,7 @@
}
fprintf(
stderr,
- "ERROR - at offset %d - returned %d and error=%s\n",
+ "ERROR - at offset %zd - returned %zd and error=%s\n",
i,
sc,
strerror( errno )
--
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://lists.rtems.org/pipermail/vc/attachments/20100630/f60dfa4b/attachment-0001.html>
More information about the vc
mailing list