change log for rtems (2011-01-04)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Jan 4 20:10:49 UTC 2011


 *joel*:
2011-01-04	Joel Sherrill <joel.sherrill at oarcorp.com>

	* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_readlink.c: readlink
	filesystem entry should return ssize_t.

M 1.2672  cpukit/ChangeLog
M   1.50  cpukit/libfs/src/imfs/imfs.h
M    1.9  cpukit/libfs/src/imfs/imfs_readlink.c

diff -u rtems/cpukit/ChangeLog:1.2671 rtems/cpukit/ChangeLog:1.2672
--- rtems/cpukit/ChangeLog:1.2671	Tue Jan  4 12:38:58 2011
+++ rtems/cpukit/ChangeLog	Tue Jan  4 13:18:09 2011
@@ -1,5 +1,10 @@
 2011-01-04	Joel Sherrill <joel.sherrill at oarcorp.com>
 
+	* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_readlink.c: readlink
+	filesystem entry should return ssize_t.
+
+2011-01-04	Joel Sherrill <joel.sherrill at oarcorp.com>
+
 	* posix/src/aio_cancel.c: Use perfd field not next_fd.
 
 2011-01-04	Joel Sherrill <joel.sherrill at oarcorp.com>

diff -u rtems/cpukit/libfs/src/imfs/imfs.h:1.49 rtems/cpukit/libfs/src/imfs/imfs.h:1.50
--- rtems/cpukit/libfs/src/imfs/imfs.h:1.49	Wed Aug 25 04:37:48 2010
+++ rtems/cpukit/libfs/src/imfs/imfs.h	Tue Jan  4 13:18:09 2011
@@ -525,7 +525,7 @@
   const char                        *node_name
 );
 
-extern int IMFS_readlink(
+extern ssize_t IMFS_readlink(
  rtems_filesystem_location_info_t   *loc,         /* IN */
  char                               *buf,         /* OUT */
  size_t                             bufsize

diff -u rtems/cpukit/libfs/src/imfs/imfs_readlink.c:1.8 rtems/cpukit/libfs/src/imfs/imfs_readlink.c:1.9
--- rtems/cpukit/libfs/src/imfs/imfs_readlink.c:1.8	Mon Aug  2 13:27:23 2010
+++ rtems/cpukit/libfs/src/imfs/imfs_readlink.c	Tue Jan  4 13:18:09 2011
@@ -23,14 +23,14 @@
 #include <rtems/libio_.h>
 #include <rtems/seterr.h>
 
-int IMFS_readlink(
+ssize_t IMFS_readlink(
   rtems_filesystem_location_info_t  *loc,
- char                               *buf,         /* OUT */
- size_t                             bufsize
+  char                              *buf,         /* OUT */
+  size_t                             bufsize
 )
 {
   IMFS_jnode_t      *node;
-  int                i;
+  ssize_t            i;
 
   node = loc->node_access;
 


 *joel*:
2011-01-04	Joel Sherrill <joel.sherrill at oarcorp.com>

	* libcsupport/src/error.c: Scheduler Simulator compilation always
	defines __RTEMS_VIOLATE_KERNEL_VISIBILITY__. So avoid redefinition
	warning.

M 1.2673  cpukit/ChangeLog
M   1.24  cpukit/libcsupport/src/error.c

diff -u rtems/cpukit/ChangeLog:1.2672 rtems/cpukit/ChangeLog:1.2673
--- rtems/cpukit/ChangeLog:1.2672	Tue Jan  4 13:18:09 2011
+++ rtems/cpukit/ChangeLog	Tue Jan  4 13:53:14 2011
@@ -1,5 +1,11 @@
 2011-01-04	Joel Sherrill <joel.sherrill at oarcorp.com>
 
+	* libcsupport/src/error.c: Scheduler Simulator compilation always
+	defines __RTEMS_VIOLATE_KERNEL_VISIBILITY__. So avoid redefinition
+	warning.
+
+2011-01-04	Joel Sherrill <joel.sherrill at oarcorp.com>
+
 	* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_readlink.c: readlink
 	filesystem entry should return ssize_t.
 

diff -u rtems/cpukit/libcsupport/src/error.c:1.23 rtems/cpukit/libcsupport/src/error.c:1.24
--- rtems/cpukit/libcsupport/src/error.c:1.23	Mon Jun 28 17:13:55 2010
+++ rtems/cpukit/libcsupport/src/error.c	Tue Jan  4 13:53:14 2011
@@ -43,7 +43,12 @@
  *        }
  */
 
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
+/* This is always defined on RTEMS Scheduler Simulator and thus
+ * we get a redefined warning if this is not present.
+ */
+#ifndef __RTEMS_VIOLATE_KERNEL_VISIBILITY__
+  #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
+#endif
 #include <rtems.h>
 
 #include <rtems/error.h>



--

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/20110104/a2c6ebf4/attachment-0001.html>


More information about the vc mailing list