Christophe Rhodes writes:
> Daniel Barlow <dan@...> writes:
> > Christophe Rhodes <csr21@...> writes:
> >> The specifics of what an unimplemented Unixoid function should do is a
> >> bit of an open question. I'm quite partial to something like this for
> >> the not found case:
> > [assorted style-warn/warn/error]
> > i think I would like there to be some way for Lisp code to test
> > whether a given function is defined, preferably without having to call
> > it and handler-case the error. I haven't thought about this too hard;
> > it's just a gut reaction.
> This, I think, is a good point.
> What's in CVS at the moment (sbcl-0.8.5.15) has the behaviour that
> BOUNDP returns NIL for unfound constants, and FBOUNDP returns NIL for
> unfound functions. Also, because we detect availability of the call
> at sb-posix-compile-time, we no longer need to maintain #+linux or
> #-darwin conditionals in interface.lisp.
This sounds good :-)
> On the downside, we now need RUN-PROGRAM to build sb-posix, which
> probably causes more pain for our MacOS friends :-/
This is IMHO not a problem, as
1) run-program is needed for other parts of contrib/
2) There are at least two possible ways of getting around this
on MacOSX. They're both somewhat tacky, so a real solution would be a
Raymond Wiker Mail: Raymond.Wiker@...
Senior Software Engineer Web: http://www.fast.no/
Fast Search & Transfer ASA Phone: +47 23 01 11 60
P.O. Box 1677 Vika Fax: +47 35 54 87 99
NO-0120 Oslo, NORWAY Mob: +47 48 01 11 60
Try FAST Search: http://alltheweb.com/