[Bug 1522] New: _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:15:18 UTC 2010


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

           Summary: _rename_r overwrites the actual errno, instead sets
                    the errno to -1
           Product: RTEMS
           Version: 4.10
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: minor
          Priority: P3
         Component: cpukit
        AssignedTo: bharath.s.jois at gmail.com
        ReportedBy: bharath.s.jois at gmail.com
                CC: joel.sherrill at oarcorp.com


The function _rename_r overwrites the errno at two circumstances and the caller
would not know about the actual error, if any specified.

1. After evaluating the relative path of the old path
2. After evaluating the new path

In both the scenarios, the errno is overwritten with -1.

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