From 0169b627239a4222d2af960f9e1985c278782707 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 8 Nov 1999 21:50:05 +0000 Subject: 1999-11-08 Roland McGrath * io-modes-get.c (trivfs_S_io_get_openmodes): Remove assert. The default implementation ought to be fine for this. --- libtrivfs/io-modes-get.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libtrivfs/io-modes-get.c b/libtrivfs/io-modes-get.c index 025ed782..d0da546c 100644 --- a/libtrivfs/io-modes-get.c +++ b/libtrivfs/io-modes-get.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1993, 1994 Free Software Foundation + Copyright (C) 1993,94,99 Free Software Foundation, Inc. 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. @@ -29,7 +29,6 @@ trivfs_S_io_get_openmodes (struct trivfs_protid *cred, mach_msg_type_name_t replytype, int *bits) { - assert (!trivfs_support_read && !trivfs_support_write); if (!cred) return EOPNOTSUPP; else @@ -38,5 +37,3 @@ trivfs_S_io_get_openmodes (struct trivfs_protid *cred, return 0; } } - - -- cgit v1.2.3