-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logger.c: Retry file lock also after ENOLCK
This means "No locks available". We now handle it just like EAGAIN, retrying after a random delay and hoping for recover. Also adds diagnostic output of the lock delay (for both cases) after this happened, helping in tracking down the problem. The srand(NODE) is made unconditional and moved to to john.c. Without it, all nodes are seeded with 1.
- Loading branch information
1 parent
dd770ca
commit 3b418ed
Showing
2 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters