Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 1999 10:07:20 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        Andrzej Bialecki <abial@nask.pl>, "Jordan K. Hubbard" <jkh@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/kget Makefile kget.8 kget.c
Message-ID:  <36D896C8.38DAC6DC@newsguy.com>
References:  <19631.920162879@zippy.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36D896C8.38DAC6DC>