From owner-freebsd-standards Tue Mar 19 10: 4:45 2002 Delivered-To: freebsd-standards@freebsd.org Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by hub.freebsd.org (Postfix) with ESMTP id 8027C37B42A for ; Tue, 19 Mar 2002 10:04:01 -0800 (PST) Received: from bremen.shuttle.de (localhost [127.0.0.1]) by bremen.shuttle.de (Postfix) with ESMTP id 8CFC517D29; Tue, 19 Mar 2002 19:03:57 +0100 (CET) Received: (from uucp@localhost) by bremen.shuttle.de (8.12.1/8.12.1/Debian -5) with UUCP id g2JI3v8O016221; Tue, 19 Mar 2002 19:03:57 +0100 Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.12.2/8.11.6) id g2JHt9QO001676; Tue, 19 Mar 2002 18:55:09 +0100 (CET) (envelope-from schweikh) Date: Tue, 19 Mar 2002 18:55:09 +0100 From: Jens Schweikhardt To: "Tim J. Robbins" Cc: Peter Pentchev , freebsd-standards@FreeBSD.ORG Subject: Re: standards/36076: Implementation of POSIX fuser command Message-ID: <20020319185509.B1316@schweikhardt.net> References: <200203190810.g2J8A3761846@freefall.freebsd.org> <20020319110634.H9136@straylight.oblivion.bg> <20020319210550.A2621@descent.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020319210550.A2621@descent.robbins.dropbear.id.au>; from tim@robbins.dropbear.id.au on Tue, Mar 19, 2002 at 09:05:50PM +1100 Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hello, world\n # The only safe way to do it is to write it in C using similar techniques # to those fstat uses, but that requires more effort and introduces yet # another sgid kmem binary. # # Although not an excuse for introducing new 'bad' code into the tree, # it's worth pointing out that rcp/scp can't copy files with shell meta- # characters in their names, and nobody seems to have complained. Then I'd consider rcp/scp broken as designed. I think choking on funny filenames is a POLA violation. If C is the only way to DTRT, so be it. Additional work to get something right instead of kludged up (and also violating the Standard!) was never a valid argument. That's why I once rewrote c89(1) in C which has been a shell script. And didn't you just today write a c99(1) in C which is nothing more than an arglist tweaker? You're on the right track :-) Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message