Abigail-II is, as usual, right.
I've had similar problems on Solaris in the past myself.
On Solaris, you must open a file for writing if you require an exclusive lock.
Likewise you must open a file for reading if all you need is a shared lock.
Cheers,
BazB
If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
That way everyone learns.
In reply to Re: Re: Trouble with locking under Solaris
by BazB
in thread Trouble with locking under Solaris
by jadev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |