[Bug 1522] _rename_r overwrites the actual errno, instead sets the errno to -1

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed May 19 23:35:21 UTC 2010


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





--- Comment #1 from Bharath Suri <bharath.s.jois at gmail.com>  2010-05-19 18:35:21 ---
Created an attachment (id=752)
 --> (http://www.rtems.org/bugzilla/attachment.cgi?id=752)
Proposed patch to bug

Proposed patch now replaces 
rtems_set_errno_and_return_minus_one( result );
with
return -1;

thus avoiding the overwriting of the actual errno

-- 
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