At 04:34 PM 10/30/00 -0800, Peter Prymmer wrote:
<Snipped>
>Thanks. The real fix would appear to be set d_fcntl='undef' in
>VMS's config.sh. While there is an fcntl() routine in the RTL and
>there are *LOCK* constants, one cannot use fcntl() for locking. The
>default for open files on VMS is that they are not shared. One has
to
>pass certain non POSIX compliant extensions to fopen() in order to
open
>a file for sharing on VMS. It's actually a mystery why the fcntl is
so
>unhelpful in this regard.
We have the same situation in DJGPP. "fcntl" is in libc, with some
functions implemented and others (notably the locking ones) not
implemented (ENOSYS), but all constants defined (for compatibility...).
FWIW, DJGPP does *not* use d_fcntl='undef', and until Storable we got
along just fine.
>Thanks for your tip. If mucking with configure.com does not do it,
>I'll take a look at the dos methods.
If your RTL has "lockf()", I think perl Configure will try to use that
instead to emulate "flock", but then again I seem to remember that
Configure tries to find "lockf()" first, and only defaults to "fcntl"
if it can't find "lockf". If I'm not going senile, that is.
Good luck.
---------------------------------------------------------
Peter J. Farley III ([EMAIL PROTECTED] OR
[EMAIL PROTECTED])