From owner-freebsd-current Mon Jun 22 22:38:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA00466 for freebsd-current-outgoing; Mon, 22 Jun 1998 22:38:55 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp03.primenet.com (daemon@smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA00461 for ; Mon, 22 Jun 1998 22:38:52 -0700 (PDT) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id WAA19497; Mon, 22 Jun 1998 22:38:44 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp03.primenet.com, id smtpd019415; Mon Jun 22 22:38:34 1998 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id WAA23776; Mon, 22 Jun 1998 22:38:29 -0700 (MST) From: Terry Lambert Message-Id: <199806230538.WAA23776@usr01.primenet.com> Subject: Re: Bogus errno twiddling by lstat... To: fenner@parc.xerox.com (Bill Fenner) Date: Tue, 23 Jun 1998 05:38:28 +0000 (GMT) Cc: tlambert@primenet.com, peter@netplex.com.au, joelh@gnu.org, fenner@parc.xerox.com, current@FreeBSD.ORG In-Reply-To: <199806230520.WAA03529@mango.parc.xerox.com> from "Bill Fenner" at Jun 22, 98 10:20:02 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > You might find it interesting to read the chapter on errno.h in > P.J. Plauger's *The Standard C Library*. He makes it clear how > little he (or, apparently, anyone involved with ANSI C) likes the > errno interface. That goes a long way towards explaining why they felt free to screw it up, I suppose... just another stop on their way to signals that don't automatically restart (another impediment to library calls acting like system calls) and file locks that go away on a whim and make it nearly impossible to implement user space file servers like SMB. 8-(. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message