change log for rtems (2010-08-23)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Aug 24 00:10:16 UTC 2010
*joel*:
2010-08-23 Joel Sherrill <joel.sherrilL at OARcorp.com>
* startup/bspstart.c: Add include to fix warning.
M 1.53 c/src/lib/libbsp/mips/hurricane/ChangeLog
M 1.12 c/src/lib/libbsp/mips/hurricane/startup/bspstart.c
diff -u rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog:1.52 rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog:1.53
--- rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog:1.52 Thu May 13 15:51:30 2010
+++ rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog Mon Aug 23 18:10:26 2010
@@ -1,3 +1,7 @@
+2010-08-23 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+ * startup/bspstart.c: Add include to fix warning.
+
2010-05-13 Joel Sherrill <joel.sherrill at oarcorp.com>
* Makefile.am, preinstall.am: Many files were duplicated across MIPS
diff -u rtems/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c:1.11 rtems/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c:1.12
--- rtems/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c:1.11 Sun Nov 29 09:27:06 2009
+++ rtems/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c Mon Aug 23 18:10:27 2010
@@ -17,6 +17,7 @@
#include <string.h>
#include <bsp.h>
+#include <libcpu/isr_entries.h>
uint32_t bsp_clicks_per_microsecond;
*joel*:
2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
* libblock/src/flashdisk.c, libblock/src/nvdisk.c,
libcsupport/src/ioctl.c, libfs/src/dosfs/fat_file.c: Add va_end().
M 1.2582 cpukit/ChangeLog
M 1.20 cpukit/libblock/src/flashdisk.c
M 1.17 cpukit/libblock/src/nvdisk.c
M 1.18 cpukit/libcsupport/src/ioctl.c
M 1.17 cpukit/libfs/src/dosfs/fat_file.c
diff -u rtems/cpukit/ChangeLog:1.2581 rtems/cpukit/ChangeLog:1.2582
--- rtems/cpukit/ChangeLog:1.2581 Mon Aug 23 16:31:26 2010
+++ rtems/cpukit/ChangeLog Mon Aug 23 18:17:41 2010
@@ -1,5 +1,10 @@
2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
+ * libblock/src/flashdisk.c, libblock/src/nvdisk.c,
+ libcsupport/src/ioctl.c, libfs/src/dosfs/fat_file.c: Add va_end().
+
+2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
+
CID 79/DEADCODE
CID 78/DEADCODE
diff -u rtems/cpukit/libblock/src/flashdisk.c:1.19 rtems/cpukit/libblock/src/flashdisk.c:1.20
--- rtems/cpukit/libblock/src/flashdisk.c:1.19 Mon Jun 14 08:01:58 2010
+++ rtems/cpukit/libblock/src/flashdisk.c Mon Aug 23 18:17:42 2010
@@ -344,6 +344,7 @@
ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
+ va_end (args);
}
return ret;
}
@@ -368,6 +369,7 @@
ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
+ va_end (args);
}
return ret;
}
@@ -392,6 +394,7 @@
ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
+ va_end (args);
}
return ret;
}
@@ -414,6 +417,7 @@
ret = vfprintf (stderr, format, args);
fprintf (stderr, "\n");
fflush (stderr);
+ va_end (args);
return ret;
}
@@ -432,6 +436,7 @@
vfprintf (stderr, format, args);
fprintf (stderr, "\n");
fflush (stderr);
+ va_end (args);
exit (1);
}
diff -u rtems/cpukit/libblock/src/nvdisk.c:1.16 rtems/cpukit/libblock/src/nvdisk.c:1.17
--- rtems/cpukit/libblock/src/nvdisk.c:1.16 Sat May 22 11:43:09 2010
+++ rtems/cpukit/libblock/src/nvdisk.c Mon Aug 23 18:17:42 2010
@@ -175,6 +175,7 @@
ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
+ va_end (args);
}
return ret;
}
@@ -199,6 +200,7 @@
ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
+ va_end (args);
}
return ret;
}
@@ -223,6 +225,7 @@
ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
+ va_end (args);
}
return ret;
}
@@ -245,6 +248,7 @@
ret = vfprintf (stderr, format, args);
fprintf (stderr, "\n");
fflush (stderr);
+ va_end (args);
return ret;
}
diff -u rtems/cpukit/libcsupport/src/ioctl.c:1.17 rtems/cpukit/libcsupport/src/ioctl.c:1.18
--- rtems/cpukit/libcsupport/src/ioctl.c:1.17 Thu Jul 15 03:10:47 2010
+++ rtems/cpukit/libcsupport/src/ioctl.c Mon Aug 23 18:17:42 2010
@@ -49,5 +49,6 @@
*/
rc = (*iop->pathinfo.handlers->ioctl_h)( iop, command, buffer );
+ va_end( ap );
return rc;
}
diff -u rtems/cpukit/libfs/src/dosfs/fat_file.c:1.16 rtems/cpukit/libfs/src/dosfs/fat_file.c:1.17
--- rtems/cpukit/libfs/src/dosfs/fat_file.c:1.16 Mon Aug 23 16:29:31 2010
+++ rtems/cpukit/libfs/src/dosfs/fat_file.c Mon Aug 23 18:17:42 2010
@@ -692,7 +692,7 @@
/* sanity check */
if ( pos >= fat_fd->fat_file_size ) {
- va_end();
+ va_end(ap);
rtems_set_errno_and_return_minus_one( EIO );
}
*joel*:
2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
* libi2c/libi2c.c: Fix typo in va_end().
M 1.2583 cpukit/ChangeLog
M 1.18 cpukit/libi2c/libi2c.c
diff -u rtems/cpukit/ChangeLog:1.2582 rtems/cpukit/ChangeLog:1.2583
--- rtems/cpukit/ChangeLog:1.2582 Mon Aug 23 18:17:41 2010
+++ rtems/cpukit/ChangeLog Mon Aug 23 18:18:26 2010
@@ -1,5 +1,9 @@
2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
+ * libi2c/libi2c.c: Fix typo in va_end().
+
+2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
+
* libblock/src/flashdisk.c, libblock/src/nvdisk.c,
libcsupport/src/ioctl.c, libfs/src/dosfs/fat_file.c: Add va_end().
diff -u rtems/cpukit/libi2c/libi2c.c:1.17 rtems/cpukit/libi2c/libi2c.c:1.18
--- rtems/cpukit/libi2c/libi2c.c:1.17 Mon Jun 21 11:27:37 2010
+++ rtems/cpukit/libi2c/libi2c.c Mon Aug 23 18:18:27 2010
@@ -603,8 +603,10 @@
break;
case RTEMS_LIBI2C_IOCTL_START_TFM_READ_WRITE:
- if (not_started (busno))
+ if (not_started (busno)) {
+ va_end(ap);
return -RTEMS_NOT_OWNER_OF_RESOURCE;
+ }
/*
* address device, then set transfer mode and perform read_write transfer
@@ -642,7 +644,8 @@
sc = bush->ops->ioctl (bush, cmd, args);
break;
}
- return sc;
+ va_end(ap);
+ return sc;
}
static int
*joel*:
2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
* libcsupport/src/open.c: Spacing.
M 1.2584 cpukit/ChangeLog
M 1.28 cpukit/libcsupport/src/open.c
diff -u rtems/cpukit/ChangeLog:1.2583 rtems/cpukit/ChangeLog:1.2584
--- rtems/cpukit/ChangeLog:1.2583 Mon Aug 23 18:18:26 2010
+++ rtems/cpukit/ChangeLog Mon Aug 23 18:19:06 2010
@@ -1,5 +1,9 @@
2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
+ * libcsupport/src/open.c: Spacing.
+
+2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
+
* libi2c/libi2c.c: Fix typo in va_end().
2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
diff -u rtems/cpukit/libcsupport/src/open.c:1.27 rtems/cpukit/libcsupport/src/open.c:1.28
--- rtems/cpukit/libcsupport/src/open.c:1.27 Thu Jul 15 03:10:47 2010
+++ rtems/cpukit/libcsupport/src/open.c Mon Aug 23 18:19:07 2010
@@ -82,7 +82,6 @@
if ( ( status & _FWRITE ) == _FWRITE )
eval_flags |= RTEMS_LIBIO_PERMS_WRITE;
-
va_start(ap, flags);
mode = va_arg( ap, int );
*joel*:
2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
* libcsupport/src/read.c, libcsupport/src/write.c: Remove redundant
check for 0 size request.
M 1.2585 cpukit/ChangeLog
M 1.19 cpukit/libcsupport/src/read.c
M 1.20 cpukit/libcsupport/src/write.c
diff -u rtems/cpukit/ChangeLog:1.2584 rtems/cpukit/ChangeLog:1.2585
--- rtems/cpukit/ChangeLog:1.2584 Mon Aug 23 18:19:06 2010
+++ rtems/cpukit/ChangeLog Mon Aug 23 18:19:30 2010
@@ -1,5 +1,10 @@
2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
+ * libcsupport/src/read.c, libcsupport/src/write.c: Remove redundant
+ check for 0 size request.
+
+2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
+
* libcsupport/src/open.c: Spacing.
2010-08-23 Joel Sherrill <joel.sherrill at oarcorp.com>
diff -u rtems/cpukit/libcsupport/src/read.c:1.18 rtems/cpukit/libcsupport/src/read.c:1.19
--- rtems/cpukit/libcsupport/src/read.c:1.18 Thu Jul 15 03:10:47 2010
+++ rtems/cpukit/libcsupport/src/read.c Mon Aug 23 18:19:31 2010
@@ -1,7 +1,7 @@
/*
* read() - POSIX 1003.1b 6.4.1 - Read From a File
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2010.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -34,9 +34,6 @@
rtems_libio_check_count( count );
rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );
- if ( count == 0 )
- return 0;
-
/*
* Now process the read().
*/
diff -u rtems/cpukit/libcsupport/src/write.c:1.19 rtems/cpukit/libcsupport/src/write.c:1.20
--- rtems/cpukit/libcsupport/src/write.c:1.19 Thu Jul 15 03:10:47 2010
+++ rtems/cpukit/libcsupport/src/write.c Mon Aug 23 18:19:31 2010
@@ -1,7 +1,7 @@
/*
* write() - POSIX 1003.1b 6.4.2 - Write to a File
*
- * COPYRIGHT (c) 1989-2007.
+ * COPYRIGHT (c) 1989-2010.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -41,9 +41,6 @@
rtems_libio_check_count( count );
rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );
- if ( count == 0 )
- return 0;
-
/*
* Now process the write() request.
*/
--
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/20100823/41673268/attachment-0001.html>
More information about the vc
mailing list