Ticket #1838: pr1838_410.diff

File pr1838_410.diff, 566 bytes (added by Joel Sherrill, on Jul 19, 2011 at 12:15:46 PM)

patch for 4.10 and older

  • cpukit/libcsupport/src/fchmod.c

    RCS file: /usr1/CVS/rtems/cpukit/libcsupport/src/fchmod.c,v
    retrieving revision 1.12
    diff -u -r1.12 fchmod.c
     
    3838  /*
    3939   *  Now process the fchmod().
    4040   */
    41 
    42   rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );
    43 
    4441  if ( !iop->handlers->fchmod_h )
    4542    rtems_set_errno_and_return_minus_one( ENOTSUP );
    4643