[Bug 1695] bytes_transfered = rtems_rfs_rtems_error

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Sep 6 05:57:26 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1695

Sebastian Huber <sebastian.huber at embedded-brains.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian.huber at embedded-br
                   |                            |ains.de

--- Comment #17 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2010-09-06 00:57:25 CDT ---
(In reply to comment #16)
[...]
> This is a bug. I propose to:
> 
> ...
> int rc;
> ssize_t bytes_transferred;
> ...
> return (ssize_t) bytes_transferred;

In this case you can remove the cast.

readdir(2) is not relevant for us.  We have to look at getdents() used by
Newlib 'libc/posix/readdir.c' and 'libc/posix/readdir_r.c'.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list