From 15bc79389392cfb6f481dcb504e1f00ec0b835c2 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 8 Nov 1999 21:41:05 +0000 Subject: 1999-11-08 Roland McGrath * io-owner-get.c (trivfs_S_io_get_owner): Remove asserts. It is entirely reasonable to have EOPNOTSUPP be the default implementation for these calls that files are not obligated to provide. * io-owner-mod.c (trivfs_S_io_mod_owner): Likewise. * io-map.c (trivfs_S_io_map): Likewise. * io-async.c (trivfs_S_io_async): Likewise. * io-async-icky.c (trivfs_S_io_get_icky_async_id): Likewise. --- libtrivfs/io-async-icky.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libtrivfs/io-async-icky.c') diff --git a/libtrivfs/io-async-icky.c b/libtrivfs/io-async-icky.c index 0f0b99ea..8c394732 100644 --- a/libtrivfs/io-async-icky.c +++ b/libtrivfs/io-async-icky.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1993, 1994 Free Software Foundation + Copyright (C) 1993, 1994, 1999 Free Software Foundation This file is part of the GNU Hurd. @@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. -The GNU Hurd is distributed in the hope that it will be useful, +The GNU Hurd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -30,6 +30,5 @@ trivfs_S_io_get_icky_async_id (struct trivfs_protid *cred, mach_port_t *id, mach_msg_type_name_t *idtype) { - assert (!trivfs_support_read && !trivfs_support_write); return EOPNOTSUPP; } -- cgit v1.2.3