change log for rtems (2011-10-18)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Oct 18 15:11:51 UTC 2011
*ralf*:
Fix typo.
M 1.199 testsuites/samples/ChangeLog
diff -u rtems/testsuites/samples/ChangeLog:1.198 rtems/testsuites/samples/ChangeLog:1.199
--- rtems/testsuites/samples/ChangeLog:1.198 Tue Oct 18 08:36:37 2011
+++ rtems/testsuites/samples/ChangeLog Tue Oct 18 09:26:34 2011
@@ -1,6 +1,6 @@
2011-10-18 Ralf Corsépius <ralf.corsepius at rtems.org>
- * fileio/init.c: Explictly consts in size_t initializers
+ * fileio/init.c: Explictly cast consts in size_t initializers
(avoid overflows on 16bit-int targets).
2011-10-07 Ralf Corsépius <ralf.corsepius at rtems.org>
*ralf*:
2011-10-18 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/include/rtems/libio.h, libcsupport/src/termios.c:
Use size_t for sizes.
M 1.2957 cpukit/ChangeLog
M 1.81 cpukit/libcsupport/include/rtems/libio.h
M 1.68 cpukit/libcsupport/src/termios.c
diff -u rtems/cpukit/ChangeLog:1.2956 rtems/cpukit/ChangeLog:1.2957
--- rtems/cpukit/ChangeLog:1.2956 Tue Oct 18 04:35:17 2011
+++ rtems/cpukit/ChangeLog Tue Oct 18 09:37:46 2011
@@ -1,5 +1,10 @@
2011-10-18 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/include/rtems/libio.h, libcsupport/src/termios.c:
+ Use size_t for sizes.
+
+2011-10-18 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libfs/src/pipe/fifo.c: Conditionally use var "sc".
* libmisc/shell/fts.c: Conditionally use var "nostat".
* pppd/options.c: Remove unused var "ok".
diff -u rtems/cpukit/libcsupport/include/rtems/libio.h:1.80 rtems/cpukit/libcsupport/include/rtems/libio.h:1.81
--- rtems/cpukit/libcsupport/include/rtems/libio.h:1.80 Fri Jun 17 07:34:37 2011
+++ rtems/cpukit/libcsupport/include/rtems/libio.h Tue Oct 18 09:37:47 2011
@@ -1617,9 +1617,9 @@
* is open, close then open it again.
*/
rtems_status_code rtems_termios_bufsize (
- int cbufsize, /* cooked buffer size */
- int raw_input, /* raw input buffer size */
- int raw_output /* raw output buffer size */
+ size_t cbufsize, /* cooked buffer size */
+ size_t raw_input, /* raw input buffer size */
+ size_t raw_output /* raw output buffer size */
);
rtems_status_code rtems_termios_open (
diff -u rtems/cpukit/libcsupport/src/termios.c:1.67 rtems/cpukit/libcsupport/src/termios.c:1.68
--- rtems/cpukit/libcsupport/src/termios.c:1.67 Tue Oct 11 02:57:45 2011
+++ rtems/cpukit/libcsupport/src/termios.c Tue Oct 18 09:37:47 2011
@@ -82,9 +82,9 @@
extern struct rtems_termios_tty *rtems_termios_ttyTail;
extern rtems_id rtems_termios_ttyMutex;
-static int rtems_termios_cbufsize = 256;
-static int rtems_termios_raw_input_size = 128;
-static int rtems_termios_raw_output_size = 64;
+static size_t rtems_termios_cbufsize = 256;
+static size_t rtems_termios_raw_input_size = 128;
+static size_t rtems_termios_raw_output_size = 64;
static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument);
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument);
@@ -432,9 +432,9 @@
}
rtems_status_code rtems_termios_bufsize (
- int cbufsize,
- int raw_input,
- int raw_output
+ size_t cbufsize,
+ size_t raw_input,
+ size_t raw_output
)
{
rtems_termios_cbufsize = cbufsize;
--
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/20111018/76d2b226/attachment-0001.html>
More information about the vc
mailing list