change log for rtems (2010-07-04)

rtems-vc at rtems.org rtems-vc at rtems.org
Sun Jul 4 15:13:48 UTC 2010


 *joel*:
2010-07-04	Joel Sherrill <joel.sherrill at oarcorp.com>

	* libblock/include/rtems/ide_part_table.h, libblock/src/bdbuf.c,
	libcsupport/src/__times.c, libcsupport/src/libio_init.c,
	libcsupport/src/mallocfreespace.c, libcsupport/src/mount-mgr.c,
	libcsupport/src/mount.c, libcsupport/src/rewinddir.c,
	libcsupport/src/seekdir.c, libcsupport/src/telldir.c,
	libcsupport/src/unmount.c, libfs/src/dosfs/fat.c,
	libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/msdos_create.c,
	libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
	libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_initsupp.c,
	libfs/src/dosfs/msdos_rename.c, libmisc/cpuuse/cpuusagereport.c,
	libmisc/shell/vis.c, libmisc/stackchk/check.c, sapi/src/posixapi.c,
	telnetd/telnetd.c: Remove include of assert.h when it is not needed.

M 1.2488  cpukit/ChangeLog
M   1.14  cpukit/libblock/include/rtems/ide_part_table.h
M   1.53  cpukit/libblock/src/bdbuf.c
M   1.26  cpukit/libcsupport/src/__times.c
M    1.6  cpukit/libcsupport/src/libio_init.c
M   1.11  cpukit/libcsupport/src/mallocfreespace.c
M    1.5  cpukit/libcsupport/src/mount-mgr.c
M   1.40  cpukit/libcsupport/src/mount.c
M   1.11  cpukit/libcsupport/src/rewinddir.c
M   1.11  cpukit/libcsupport/src/seekdir.c
M   1.13  cpukit/libcsupport/src/telldir.c
M   1.29  cpukit/libcsupport/src/unmount.c
M   1.20  cpukit/libfs/src/dosfs/fat.c
M   1.10  cpukit/libfs/src/dosfs/fat_fat_operations.c
M   1.18  cpukit/libfs/src/dosfs/msdos_create.c
M   1.19  cpukit/libfs/src/dosfs/msdos_dir.c
M   1.13  cpukit/libfs/src/dosfs/msdos_eval.c
M   1.14  cpukit/libfs/src/dosfs/msdos_file.c
M   1.18  cpukit/libfs/src/dosfs/msdos_format.c
M    1.6  cpukit/libfs/src/dosfs/msdos_fsunmount.c
M   1.10  cpukit/libfs/src/dosfs/msdos_initsupp.c
M    1.2  cpukit/libfs/src/dosfs/msdos_rename.c
M   1.14  cpukit/libmisc/cpuuse/cpuusagereport.c
M    1.3  cpukit/libmisc/shell/vis.c
M   1.69  cpukit/libmisc/stackchk/check.c
M   1.30  cpukit/sapi/src/posixapi.c
M   1.19  cpukit/telnetd/telnetd.c

diff -u rtems/cpukit/ChangeLog:1.2487 rtems/cpukit/ChangeLog:1.2488
--- rtems/cpukit/ChangeLog:1.2487	Sat Jul  3 14:13:24 2010
+++ rtems/cpukit/ChangeLog	Sun Jul  4 09:53:42 2010
@@ -1,3 +1,19 @@
+2010-07-04	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* libblock/include/rtems/ide_part_table.h, libblock/src/bdbuf.c,
+	libcsupport/src/__times.c, libcsupport/src/libio_init.c,
+	libcsupport/src/mallocfreespace.c, libcsupport/src/mount-mgr.c,
+	libcsupport/src/mount.c, libcsupport/src/rewinddir.c,
+	libcsupport/src/seekdir.c, libcsupport/src/telldir.c,
+	libcsupport/src/unmount.c, libfs/src/dosfs/fat.c,
+	libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/msdos_create.c,
+	libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
+	libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
+	libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_initsupp.c,
+	libfs/src/dosfs/msdos_rename.c, libmisc/cpuuse/cpuusagereport.c,
+	libmisc/shell/vis.c, libmisc/stackchk/check.c, sapi/src/posixapi.c,
+	telnetd/telnetd.c: Remove include of assert.h when it is not needed.
+
 2010-07-03	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* libcsupport/include/rtems/libio.h, libfs/src/defaults/default_read.c,

diff -u rtems/cpukit/libblock/include/rtems/ide_part_table.h:1.13 rtems/cpukit/libblock/include/rtems/ide_part_table.h:1.14
--- rtems/cpukit/libblock/include/rtems/ide_part_table.h:1.13	Mon Sep 14 09:48:38 2009
+++ rtems/cpukit/libblock/include/rtems/ide_part_table.h	Sun Jul  4 09:53:43 2010
@@ -21,7 +21,6 @@
 #ifndef _RTEMS_IDE_PART_TABLE_H
 #define _RTEMS_IDE_PART_TABLE_H
 
-#include <assert.h>
 #include <rtems/chain.h>
 #include <stdio.h>
 #include <stdlib.h>

diff -u rtems/cpukit/libblock/src/bdbuf.c:1.52 rtems/cpukit/libblock/src/bdbuf.c:1.53
--- rtems/cpukit/libblock/src/bdbuf.c:1.52	Mon May 17 21:14:05 2010
+++ rtems/cpukit/libblock/src/bdbuf.c	Sun Jul  4 09:53:44 2010
@@ -34,7 +34,6 @@
 #endif
 #include <limits.h>
 #include <errno.h>
-#include <assert.h>
 #include <stdio.h>
 #include <string.h>
 #include <inttypes.h>

diff -u rtems/cpukit/libcsupport/src/__times.c:1.25 rtems/cpukit/libcsupport/src/__times.c:1.26
--- rtems/cpukit/libcsupport/src/__times.c:1.25	Mon Jun 28 17:14:35 2010
+++ rtems/cpukit/libcsupport/src/__times.c	Sun Jul  4 09:53:44 2010
@@ -1,7 +1,7 @@
 /*
  *  times() - POSIX 1003.1b 4.5.2 - Get Process Times
  *
- *  COPYRIGHT (c) 1989-2009.
+ *  COPYRIGHT (c) 1989-2010.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -21,7 +21,6 @@
 #include <time.h>
 #include <sys/time.h>
 #include <errno.h>
-#include <assert.h>
 #include <rtems/seterr.h>
 #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
   #include <rtems/score/timestamp.h>

diff -u rtems/cpukit/libcsupport/src/libio_init.c:1.5 rtems/cpukit/libcsupport/src/libio_init.c:1.6
--- rtems/cpukit/libcsupport/src/libio_init.c:1.5	Thu May 13 23:04:25 2010
+++ rtems/cpukit/libcsupport/src/libio_init.c	Sun Jul  4 09:53:44 2010
@@ -3,7 +3,7 @@
  *  table of integer style file descriptors used by the low level
  *  POSIX system calls like open(), read, fstat(), etc.
  *
- *  COPYRIGHT (c) 1989-1999.
+ *  COPYRIGHT (c) 1989-2010.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -23,7 +23,6 @@
 
 #include <stdio.h>                      /* O_RDONLY, et.al. */
 #include <fcntl.h>                      /* O_RDONLY, et.al. */
-#include <assert.h>
 #include <errno.h>
 
 #include <errno.h>

diff -u rtems/cpukit/libcsupport/src/mallocfreespace.c:1.10 rtems/cpukit/libcsupport/src/mallocfreespace.c:1.11
--- rtems/cpukit/libcsupport/src/mallocfreespace.c:1.10	Wed Sep 17 13:37:55 2008
+++ rtems/cpukit/libcsupport/src/mallocfreespace.c	Sun Jul  4 09:53:44 2010
@@ -2,7 +2,7 @@
  *  RTEMS Malloc Get Free Information
  *
  *
- *  COPYRIGHT (c) 1989-2007.
+ *  COPYRIGHT (c) 1989-2010.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -24,7 +24,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/types.h>
-#include <assert.h>
 #include <errno.h>
 #include <string.h>
 

diff -u rtems/cpukit/libcsupport/src/mount-mgr.c:1.4 rtems/cpukit/libcsupport/src/mount-mgr.c:1.5
--- rtems/cpukit/libcsupport/src/mount-mgr.c:1.4	Thu Jul  1 08:05:17 2010
+++ rtems/cpukit/libcsupport/src/mount-mgr.c	Sun Jul  4 09:53:44 2010
@@ -28,7 +28,6 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <string.h>
-#include <assert.h>
 
 #include <rtems/libio_.h>
 

diff -u rtems/cpukit/libcsupport/src/mount.c:1.39 rtems/cpukit/libcsupport/src/mount.c:1.40
--- rtems/cpukit/libcsupport/src/mount.c:1.39	Thu Jul  1 10:12:37 2010
+++ rtems/cpukit/libcsupport/src/mount.c	Sun Jul  4 09:53:44 2010
@@ -7,7 +7,7 @@
  *  XXX make sure no optional ops you are using are NULL
  *  XXX unmount should be required.
  *
- *  COPYRIGHT (c) 1989-1999.
+ *  COPYRIGHT (c) 1989-2010.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  Copyright (c) 2010 embedded brains GmbH.
@@ -32,7 +32,6 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <string.h>
-#include <assert.h>
 
 #include <rtems/libio_.h>
 

diff -u rtems/cpukit/libcsupport/src/rewinddir.c:1.10 rtems/cpukit/libcsupport/src/rewinddir.c:1.11
--- rtems/cpukit/libcsupport/src/rewinddir.c:1.10	Fri Dec  5 00:42:40 2008
+++ rtems/cpukit/libcsupport/src/rewinddir.c	Sun Jul  4 09:53:44 2010
@@ -1,7 +1,7 @@
 /*
  *  rewinddir() - POSIX 1003.1b - XXX
  *
- *  COPYRIGHT (c) 1989-1999.
+ *  COPYRIGHT (c) 1989-2010.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -17,7 +17,6 @@
 #ifndef HAVE_REWINDDIR
 
 #include <sys/types.h>
-#include <assert.h>
 #include <dirent.h>
 #include <stdio.h>
 #include <errno.h>

diff -u rtems/cpukit/libcsupport/src/seekdir.c:1.10 rtems/cpukit/libcsupport/src/seekdir.c:1.11
--- rtems/cpukit/libcsupport/src/seekdir.c:1.10	Fri Dec  5 00:42:40 2008
+++ rtems/cpukit/libcsupport/src/seekdir.c	Sun Jul  4 09:53:45 2010
@@ -1,7 +1,7 @@
 /*
  *  seekdir() - POSIX 1003.1b - XXX
  *
- *  COPYRIGHT (c) 1989-1999.
+ *  COPYRIGHT (c) 1989-2010.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -17,7 +17,6 @@
 #ifndef HAVE_SEEKDIR
 
 #include <sys/param.h>
-#include <assert.h>
 #include <dirent.h>
 #include <stdio.h>
 #include <unistd.h>

diff -u rtems/cpukit/libcsupport/src/telldir.c:1.12 rtems/cpukit/libcsupport/src/telldir.c:1.13
--- rtems/cpukit/libcsupport/src/telldir.c:1.12	Fri Dec  5 00:42:40 2008
+++ rtems/cpukit/libcsupport/src/telldir.c	Sun Jul  4 09:53:45 2010
@@ -1,7 +1,7 @@
 /*
  *  telldir() - XXX
  *
- *  COPYRIGHT (c) 1989-1999.
+ *  COPYRIGHT (c) 1989-2010.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -17,7 +17,6 @@
 #ifndef HAVE_TELLDIR
 
 #include <sys/param.h>
-#include <assert.h>
 #include <dirent.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -41,9 +40,8 @@
    */
 
   iop = rtems_libio_iop( dirp->dd_fd );
-
-  if (iop == NULL)
-     assert(0);
+  if ( !iop )
+    rtems_set_errno_and_return_minus_one( EBADF );
 
   return (long)( iop->offset );
 }

diff -u rtems/cpukit/libcsupport/src/unmount.c:1.28 rtems/cpukit/libcsupport/src/unmount.c:1.29
--- rtems/cpukit/libcsupport/src/unmount.c:1.28	Thu Jul  1 10:12:38 2010
+++ rtems/cpukit/libcsupport/src/unmount.c	Sun Jul  4 09:53:45 2010
@@ -6,7 +6,7 @@
  *  routine is necessary to mount instantiations of a file system
  *  into the file system name space.
  *
- *  COPYRIGHT (c) 1989-1999.
+ *  COPYRIGHT (c) 1989-2010.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -27,7 +27,6 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <string.h>
-#include <assert.h>
 
 #include <rtems/libio_.h>
 #include <rtems/seterr.h>

diff -u rtems/cpukit/libfs/src/dosfs/fat.c:1.19 rtems/cpukit/libfs/src/dosfs/fat.c:1.20
--- rtems/cpukit/libfs/src/dosfs/fat.c:1.19	Fri Feb 19 20:27:58 2010
+++ rtems/cpukit/libfs/src/dosfs/fat.c	Sun Jul  4 09:53:45 2010
@@ -19,7 +19,6 @@
 #include <unistd.h>
 #include <errno.h>
 #include <stdlib.h>
-#include <assert.h>
 
 #include <rtems/libio_.h>
 

diff -u rtems/cpukit/libfs/src/dosfs/fat_fat_operations.c:1.9 rtems/cpukit/libfs/src/dosfs/fat_fat_operations.c:1.10
--- rtems/cpukit/libfs/src/dosfs/fat_fat_operations.c:1.9	Mon Jul 28 21:21:14 2008
+++ rtems/cpukit/libfs/src/dosfs/fat_fat_operations.c	Sun Jul  4 09:53:45 2010
@@ -19,7 +19,6 @@
 #include <unistd.h>
 #include <errno.h>
 #include <stdlib.h>
-#include <assert.h>
 
 #include <rtems/libio_.h>
 

diff -u rtems/cpukit/libfs/src/dosfs/msdos_create.c:1.17 rtems/cpukit/libfs/src/dosfs/msdos_create.c:1.18
--- rtems/cpukit/libfs/src/dosfs/msdos_create.c:1.17	Thu Mar  4 00:36:51 2010
+++ rtems/cpukit/libfs/src/dosfs/msdos_create.c	Sun Jul  4 09:53:46 2010
@@ -16,7 +16,6 @@
 #endif
 
 #include <errno.h>
-#include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

diff -u rtems/cpukit/libfs/src/dosfs/msdos_dir.c:1.18 rtems/cpukit/libfs/src/dosfs/msdos_dir.c:1.19
--- rtems/cpukit/libfs/src/dosfs/msdos_dir.c:1.18	Fri Mar 12 10:26:14 2010
+++ rtems/cpukit/libfs/src/dosfs/msdos_dir.c	Sun Jul  4 09:53:46 2010
@@ -17,7 +17,6 @@
 #include <ctype.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include <assert.h>
 #include <errno.h>
 #include <rtems/libio_.h>
 #include <sys/types.h>

diff -u rtems/cpukit/libfs/src/dosfs/msdos_eval.c:1.12 rtems/cpukit/libfs/src/dosfs/msdos_eval.c:1.13
--- rtems/cpukit/libfs/src/dosfs/msdos_eval.c:1.12	Thu May 27 11:23:04 2010
+++ rtems/cpukit/libfs/src/dosfs/msdos_eval.c	Sun Jul  4 09:53:46 2010
@@ -21,7 +21,6 @@
 #include <unistd.h>
 #include <errno.h>
 #include <stdlib.h>
-#include <assert.h>
 
 #include <rtems/libio_.h>
 

diff -u rtems/cpukit/libfs/src/dosfs/msdos_file.c:1.13 rtems/cpukit/libfs/src/dosfs/msdos_file.c:1.14
--- rtems/cpukit/libfs/src/dosfs/msdos_file.c:1.13	Thu Jun 11 20:53:33 2009
+++ rtems/cpukit/libfs/src/dosfs/msdos_file.c	Sun Jul  4 09:53:46 2010
@@ -15,7 +15,6 @@
 #endif
 
 #include <stdlib.h>
-#include <assert.h>
 #include <errno.h>
 
 #include <rtems.h>

diff -u rtems/cpukit/libfs/src/dosfs/msdos_format.c:1.17 rtems/cpukit/libfs/src/dosfs/msdos_format.c:1.18
--- rtems/cpukit/libfs/src/dosfs/msdos_format.c:1.17	Fri Apr 30 03:43:31 2010
+++ rtems/cpukit/libfs/src/dosfs/msdos_format.c	Sun Jul  4 09:53:46 2010
@@ -33,7 +33,6 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <ctype.h>
-#include <assert.h>
 
 #include <rtems/libio_.h>
 

diff -u rtems/cpukit/libfs/src/dosfs/msdos_fsunmount.c:1.5 rtems/cpukit/libfs/src/dosfs/msdos_fsunmount.c:1.6
--- rtems/cpukit/libfs/src/dosfs/msdos_fsunmount.c:1.5	Tue Aug 29 14:38:08 2006
+++ rtems/cpukit/libfs/src/dosfs/msdos_fsunmount.c	Sun Jul  4 09:53:46 2010
@@ -21,7 +21,6 @@
 #include <stdlib.h>
 #include <stdio.h>
 
-#include <assert.h>
 #include <rtems.h>
 #include <rtems/libio_.h>
 

diff -u rtems/cpukit/libfs/src/dosfs/msdos_initsupp.c:1.9 rtems/cpukit/libfs/src/dosfs/msdos_initsupp.c:1.10
--- rtems/cpukit/libfs/src/dosfs/msdos_initsupp.c:1.9	Wed Apr 29 03:31:26 2009
+++ rtems/cpukit/libfs/src/dosfs/msdos_initsupp.c	Sun Jul  4 09:53:47 2010
@@ -21,7 +21,6 @@
 #include <stdlib.h>
 #include <stdio.h>
 
-#include <assert.h>
 #include <rtems.h>
 #include <rtems/libio_.h>
 

diff -u rtems/cpukit/libfs/src/dosfs/msdos_rename.c:1.1 rtems/cpukit/libfs/src/dosfs/msdos_rename.c:1.2
--- rtems/cpukit/libfs/src/dosfs/msdos_rename.c:1.1	Thu Mar  4 00:36:51 2010
+++ rtems/cpukit/libfs/src/dosfs/msdos_rename.c	Sun Jul  4 09:53:47 2010
@@ -15,7 +15,6 @@
 #endif
 
 #include <errno.h>
-#include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

diff -u rtems/cpukit/libmisc/cpuuse/cpuusagereport.c:1.13 rtems/cpukit/libmisc/cpuuse/cpuusagereport.c:1.14
--- rtems/cpukit/libmisc/cpuuse/cpuusagereport.c:1.13	Wed Dec  2 12:22:18 2009
+++ rtems/cpukit/libmisc/cpuuse/cpuusagereport.c	Sun Jul  4 09:53:47 2010
@@ -17,7 +17,6 @@
 
 #include <rtems.h>
 
-#include <assert.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>

diff -u rtems/cpukit/libmisc/shell/vis.c:1.2 rtems/cpukit/libmisc/shell/vis.c:1.3
--- rtems/cpukit/libmisc/shell/vis.c:1.2	Thu Aug 21 07:29:01 2008
+++ rtems/cpukit/libmisc/shell/vis.c	Sun Jul  4 09:53:47 2010
@@ -77,7 +77,6 @@
 
 #include <sys/types.h>
 
-#include <assert.h>
 #include <vis.h>
 #include <stdlib.h>
 

diff -u rtems/cpukit/libmisc/stackchk/check.c:1.68 rtems/cpukit/libmisc/stackchk/check.c:1.69
--- rtems/cpukit/libmisc/stackchk/check.c:1.68	Wed Jun 23 18:28:46 2010
+++ rtems/cpukit/libmisc/stackchk/check.c	Sun Jul  4 09:53:47 2010
@@ -33,7 +33,6 @@
  */
 #define DONT_USE_FATAL_EXTENSION
 
-#include <assert.h>
 #include <string.h>
 #include <stdlib.h>
 

diff -u rtems/cpukit/sapi/src/posixapi.c:1.29 rtems/cpukit/sapi/src/posixapi.c:1.30
--- rtems/cpukit/sapi/src/posixapi.c:1.29	Mon Jan  5 14:26:01 2009
+++ rtems/cpukit/sapi/src/posixapi.c	Sun Jul  4 09:53:47 2010
@@ -3,7 +3,7 @@
  *
  *  NOTE:
  *
- *  COPYRIGHT (c) 1989-2008.
+ *  COPYRIGHT (c) 1989-2010.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -17,8 +17,6 @@
 #include "config.h"
 #endif
 
-#include <assert.h>
-
 /*
  *  POSIX_API_INIT is defined so all of the POSIX API
  *  data will be included in this object file.

diff -u rtems/cpukit/telnetd/telnetd.c:1.18 rtems/cpukit/telnetd/telnetd.c:1.19
--- rtems/cpukit/telnetd/telnetd.c:1.18	Thu Dec 17 13:41:20 2009
+++ rtems/cpukit/telnetd/telnetd.c	Sun Jul  4 09:53:47 2010
@@ -54,7 +54,6 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <assert.h>
 #include <string.h>
 #include <syslog.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/20100704/3101f3a2/attachment.html>


More information about the vc mailing list