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/fpathconf.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'c/src/lib/libc/fpathconf.c') diff --git a/c/src/lib/libc/fpathconf.c b/c/src/lib/libc/fpathconf.c index 97c392b5af..b8cede80ff 100644 --- a/c/src/lib/libc/fpathconf.c +++ b/c/src/lib/libc/fpathconf.c @@ -31,15 +31,6 @@ long fpathconf( rtems_libio_check_is_open(iop); rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ); - /* - * If this file descriptor is mapped to an external set of handlers, - * then it is an error since fpathconf() is not included in the - * set. - */ - - if ( iop->flags & LIBIO_FLAGS_HANDLER_MASK ) - set_errno_and_return_minus_one( EBADF ); - /* * Now process the information request. */ -- cgit v1.2.3