From owner-cvs-all Sat Feb 27 17:12:48 1999 Delivered-To: cvs-all@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 765431517A; Sat, 27 Feb 1999 17:12:45 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com by peach.ocn.ne.jp (8.9.1a/OCN) id KAA17536; Sun, 28 Feb 1999 10:12:31 +0900 (JST) Message-ID: <36D896C8.38DAC6DC@newsguy.com> Date: Sun, 28 Feb 1999 10:07:20 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: pt-BR,ja MIME-Version: 1.0 To: "Jordan K. Hubbard" Cc: Andrzej Bialecki , "Jordan K. Hubbard" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/kget Makefile kget.8 kget.c References: <19631.920162879@zippy.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk "Jordan K. Hubbard" wrote: > > > > Can't do that until include failures are silent. :) > > > > I didn't realize there was a problem. Would you mind describing what > > seems to be the problem? :-) Or, more precisely, what ought to be > > done? > > Well, if we're to do any sort of "speculative loading" as a way of > implementing hooks, it would be nice to have an "include without > yelping" routine that would just fail silently if the file wasn't > found. It's either that or write a routine which opens the file, > attempts to load it if found, then closes it (if open). It's kinda > cumbersome for what should really be a built-in. Something like an "-f" flag to include? :-) I think existing mechanisms already enable you to do this. I'll check and get back to you. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "To make it absolutely clear: you stand on the wrong end of my blasters, so you better get lost before I start target practice!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message