change log for rtems (2010-08-24)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Aug 24 07:10:31 UTC 2010


 *ralf*:
2010-09-24	Ralf Corsépius <ralf.corsepius at rtems.org>

	* posix/src/aio_write.c: aio_nbytes is always >= 0.
	Fix typo in comment.

M 1.2587  cpukit/ChangeLog
M    1.4  cpukit/posix/src/aio_write.c

diff -u rtems/cpukit/ChangeLog:1.2586 rtems/cpukit/ChangeLog:1.2587
--- rtems/cpukit/ChangeLog:1.2586	Tue Aug 24 00:51:51 2010
+++ rtems/cpukit/ChangeLog	Tue Aug 24 01:46:28 2010
@@ -1,5 +1,10 @@
 2010-09-24	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* posix/src/aio_write.c: aio_nbytes is always >= 0.
+	Fix typo in comment.
+
+2010-09-24	Ralf Corsépius <ralf.corsepius at rtems.org>
+
 	* libcsupport/include/sys/utsname.h: Remove times().
 	Remove unnecessary includes.
 	Introduce SYS_NMLN (From freebsd).

diff -u rtems/cpukit/posix/src/aio_write.c:1.3 rtems/cpukit/posix/src/aio_write.c:1.4
--- rtems/cpukit/posix/src/aio_write.c:1.3	Mon Aug 16 00:46:09 2010
+++ rtems/cpukit/posix/src/aio_write.c	Tue Aug 24 01:46:29 2010
@@ -30,7 +30,7 @@
  *        aiocbp - asynchronous I/O control block
  *
  *  Output parameters:
- *        -1 - request could not pe enqueued
+ *        -1 - request could not be enqueued
  *           - FD not opened for write
  *           - invalid aio_reqprio or aio_offset or
  *             aio_nbytes
@@ -51,7 +51,7 @@
   if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
     rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);
 
-  if (aiocbp->aio_offset < 0 || aiocbp->aio_nbytes < 0)
+  if (aiocbp->aio_offset < 0)
     rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);
 
   req = malloc (sizeof (rtems_aio_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/20100824/d778d622/attachment-0001.html>


More information about the vc mailing list