On Mon, 30 Oct 2000, Craig A. Berry wrote:

> 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.

Hmm.  Sounds like we need a d_fcntl_can_lock Configure variable.
Then VMS and DOS/DJGPP could set that to undef.

-- 
    Andy Dougherty              [EMAIL PROTECTED]
    Dept. of Physics
    Lafayette College, Easton PA 18042

Reply via email to