Changeset e6babd7 in rtems for c/src/lib/libc/fcntl.c


Ignore:
Timestamp:
10/18/00 13:08:22 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
946178d
Parents:
3a410c5
Message:

2000-10-18 Joel Sherrill <joel@…>

  • libc/fcntl.c: Do not require every filesystem to have an fcntl() handler. Most fcntl() operations can be performed with no filesystem support.
  • ChangeLog?: Corrected comment.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libc/fcntl.c

    r3a410c5 re6babd7  
    132132      break;
    133133  }
     134
     135  /*
     136   *  If we got this far successfully, then we give the optional
     137   *  filesystem specific handler a chance to process this. 
     138   */
     139
    134140  if (ret >= 0) {   
    135141    if (iop->handlers->fcntl_h) {
     
    140146      }
    141147    }
    142     else {
    143       errno = ENOTSUP;
    144       ret = -1;
    145     }
    146148  }
    147149  return ret;
Note: See TracChangeset for help on using the changeset viewer.