Commit 4f50835
Fix itimer state restoration in filelock-unix.c
- Add global variable filelock_old_timer to store previous timer state
- Modify setitimer call to save old timer state before setting new one
- Modify alarm callback to restore both signal handler and timer state
- Verified package builds and installs correctly
- Tested functionality with multiple scenarios
Co-authored-by: krlmlr <1741643+krlmlr@users.noreply.github.com>1 parent f945a73 commit 4f50835
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
66 | | - | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| |||
0 commit comments