From owner-cvs-all Fri Jul 23 21:54:39 1999 Delivered-To: cvs-all@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 9F6AC1500D; Fri, 23 Jul 1999 21:54:33 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id OAA15384; Sat, 24 Jul 1999 14:53:05 +1000 Date: Sat, 24 Jul 1999 14:53:05 +1000 From: Bruce Evans Message-Id: <199907240453.OAA15384@godzilla.zeta.org.au> To: brian@Awfulhak.org, jmg@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_tun.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >I don't think I agree that writing 0 bytes should result in EIO, >perhaps EINVAL would be more apt ? Both are surprising. POSIX.1 requires writing 0 bytes to a regular file to succeed and have no effect (e.g., it must not change the modification time). Why should it behave differently for devices? Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message