Revision history for Perl extension File::NFSLock.
1.29 Nov 01 14:00 2018
- Avoid deprecated PERL_USE_UNSAFE_INC
1.28 Nov 01 10:00 2018
- Patch RT#130467 and RT#120088:
- Handle "." not in @INC
1.27 Nov 12 13:00 2014
- RT#99431:
- More Win32 compatibility fixes in test suite.
- RT#48102:
- Add tests for new ->fork() method.
1.26 Nov 07 16:00 2014
- Add File::NFSLock->fork() convenience method.
- RT#48102 Report by Todd Foggoa:
- More gracefully handle fork() to behave like
Linux by sharing the lock between both parent
and child processes when ->newpid() is called.
1.25 Jul 30 14:00 2014
- RT#99431 Report by Nathan Glenn:
- Fixed tempfile syntax by Christian Walde.
- Fixed Win32 Shared Lock by Christian Walde.
- RT#42122 Report by converter at cpan.org:
- Add tests to help debug Taint issues
1.24 Jul 30 14:00 2014
- Fixed a race condition in crash recovery.
- RT#88520 Thanks David Steinbrunner: Fix typos
1.23 Jul 28 11:00 2014
- More gracefully handle arbitrary hostnames.
- Patch RT#84658 by Yann Rouillard:
- Avoid gleefully double removing valid lockfile
when ->unlock is explicitly called.
- Patch RT#61258 by cpan at danonline.net:
- Fixed $graceful_sig to exit with non-zero to
more closely match stock signal handlers.
1.22 Jul 26 09:00 2014
- Reported by Kent Fredric and Karen Etheridge:
- Patch RT#86125 and RT#91546
- Use File::Temp for concurrency compatibility
in test suite, such as HARNESS_OPTIONS=j20
1.21 Jul 13 17:00 2011
- Various patches by Chorny at cpan dot org
and fREW frioux at gmail dot com:
- Windows NTFS compatibility fixes.
- Allow PID to be negative.
- Lexically scope temp file handles to
reduce changes of memory leak and
avoid unintentional glob clobberation.
- Security fix: 3 arg open().
- Repair test suites logics.
- Fixed infinite freezing on Strawberry Perl v5.10.0.
- Fixed infinite freezing on ActiveState Perl v5.12.1.
- Sorry for the past 8 years of suffering.
1.20 May 13 12:00 2003
- Avoid double reverting signal handlers when
unlock() is explicitly called instead of
implicitly called from DESTROY().
- Fixed this warning:
Argument "DEFAULT" isn't numeric in numeric eq (==)
1.19 Dec 17 23:30 2002
- Minor code cleanup patch by Stephen Waters.
1.18 Jul 25 17:00 2002
- Add newpid() method to handle fork() conditions.
1.17 Jun 10 12:00 2002
- Handle system crash recovery better or
other abnormal/abrupt termination (like SIGKILL)
conditions more gracefully.
1.16 Jun 05 15:00 2002
- Allow exclusive lock to be obtained on
the same file multiple times by the
the same process.
1.15 Jun 04 09:00 2002
- Default to catch certain signals to avoid
creating stale locks on graceful termination.
- More tests to test signal handlers.
- Fix test t/300_bl_sh.t to measure only
what is required.
1.14 Jun 03 12:00 2002
- Add test to exploit unlock bug
(fixed by Andy in 1.13)
- Less anal tests for slower platforms
(Slowaris) to succeed as well.
1.13 May 30 12:00 2002
- Add spec file for RPM packaging.
- Show example in perldoc using numerical constants.
- Make perldoc example strict clean.
- Add INSTALL section to perldoc.
- Fixed bug that forced a lock aquired by another
process to be released when an exclusive lock
attempt fails.
Patch by andyh@myinternet.com.au (Andy Hird)
1.12 Nov 05 12:00 2001
- Change code to utilize numerical constants
instead of the magic strings.
- Change several sub routines into methods
of the object to reduce arguments passed.
- Avoid double unlocking (DESTROY).
- Added some nice tests.
- Pulled out stale_lock code to check once
at initial lock attempt instead of repeated
checks during the blocking lock loop.
This may change functionality slightly in
that a lock will never "become" stale if
it wasn't already stale when the lock
attempt initiated.
- Shared lock feature now functional.
1.11 Oct 30 12:00 2001
- (Not released)
- Initial attempt to add shared lock feature.
1.10 Jul 31 10:10 2001
- Allow for numerical constants from Fcntl.
- Return Error status in $errstr.
- Allow for custom lock extensions via $LOCK_EXTENSION.
- Allow for passing parameters as a hashref
- Allow for stale_lock_timeout parameter
1.00 May 24 10:50 2001
- Initial release of File::NFSLock.
- Release under 1.00 tag as this is already in use.
- Blocking and Nonblocking locking is possible.
- uncache routine is available.