forked from hookbot/File-NFSLock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changes
133 lines (114 loc) · 4.89 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
Revision history for Perl extension File::NFSLock.
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 [email protected] (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.