Changeset ce92a825 in rtems


Ignore:
Timestamp:
May 20, 2010, 3:10:41 AM (9 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
90e991a
Parents:
9fd5f55
Message:

2010-05-20 Bharath Suri <bharath.s.jois@…>

  • libcsupport/src/_rename_r.c: Avoid overwriting of errno by _rename_r to invalid values.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r9fd5f55 rce92a825  
     12010-05-20      Bharath Suri <bharath.s.jois@gmail.com>
     2
     3        * libcsupport/src/_rename_r.c: Avoid overwriting of errno by
     4        _rename_r to invalid values.
     5
    162010-05-18      Chris Johns <chrisj@rtems.org>
    27
  • cpukit/libcsupport/src/_rename_r.c

    r9fd5f55 rce92a825  
    7171    if ( free_old_parentloc )
    7272      rtems_filesystem_freenode( &old_parent_loc );
    73     rtems_set_errno_and_return_minus_one( result );
     73    return -1;
    7474  }
    7575 
     
    9393      rtems_filesystem_freenode( &old_parent_loc );
    9494    rtems_filesystem_freenode( &old_loc );
    95     rtems_set_errno_and_return_minus_one( result );
     95    return -1;
    9696  }
    9797
Note: See TracChangeset for help on using the changeset viewer.