From 73f6236bc09b3cadf0aa030e16396154421f3e30 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 1 Mar 1999 22:40:08 +0000 Subject: Patch from Eric Norum to eliminate external IO handlers scheme that was implemented originally just to support sockets. The file system IO switch is more general and works fine. --- c/src/lib/libc/fchmod.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'c/src/lib/libc/fchmod.c') diff --git a/c/src/lib/libc/fchmod.c b/c/src/lib/libc/fchmod.c index 46c64cd6f7..a964c737ea 100644 --- a/c/src/lib/libc/fchmod.c +++ b/c/src/lib/libc/fchmod.c @@ -31,13 +31,6 @@ int fchmod( iop = rtems_libio_iop( fd ); rtems_libio_check_is_open(iop); - /* - * If this is not a file system based entity, it is an error. - */ - - if ( iop->flags & LIBIO_FLAGS_HANDLER_MASK ) - set_errno_and_return_minus_one( EBADF ); - /* * Now process the fchmod(). */ -- cgit v1.2.3