At 4:34 PM -0800 10/30/00, Peter Prymmer wrote:
>The real fix would appear to be set d_fcntl='undef' in
>VMS's config.sh.

Hmm.  But fcntl() does exist in recent versions of the C RTL -- it 
just doesn't do locking, as you point out.  I'd rather have us tell 
the truth and code the tests to match.  If we undef F_SETLK and 
F_SETLKW when they don't work (currently always) then we correctly 
signal that there is no flock() or emulation thereof but leave other 
fcntl() functionality intact.

>It's actually a mystery why the fcntl is so unhelpful
>in this regard.

Indeed.  I assume it's non-trivial or it would have been done by now.

In an asynchronous post on this thread the other Peter said:

>Yes, but what will Configure do when it discovers it has no "flock" and
>no way to emulate it at all?  Does it barf?

I think it can handle the case where there's no emulation, but even 
if it can't, the truth hurts sometimes and it should learn to deal 
with it :-).
-- 
____________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

Reply via email to