diff options
| author | Daniel Kahn Gillmor <[email protected]> | 2020-02-18 14:34:42 +0000 |
|---|---|---|
| committer | Daniel Kahn Gillmor <[email protected]> | 2020-02-18 23:07:46 +0000 |
| commit | 0904b8ef348a52335c378bee6dc90a978885d66f (patch) | |
| tree | aff1ea1d709d45724af04b7e985bca1284bdb2a0 /common/dotlock.c | |
| parent | doc: Correction of typo in documentation of KEY_CONSIDERED (diff) | |
| download | gnupg-0904b8ef348a52335c378bee6dc90a978885d66f.tar.gz gnupg-0904b8ef348a52335c378bee6dc90a978885d66f.zip | |
Spelling cleanup.
No functional changes, just fixing minor spelling issues.
---
Most of these were identified from the command line by running:
codespell \
--ignore-words-list fpr,stati,keyserver,keyservers,asign,cas,iff,ifset \
--skip '*.po,ChangeLog*,help.*.txt,*.jpg,*.eps,*.pdf,*.png,*.gpg,*.asc' \
doc g13 g10 kbx agent artwork scd tests tools am common dirmngr sm \
NEWS README README.maint TODO
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'common/dotlock.c')
| -rw-r--r-- | common/dotlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/dotlock.c b/common/dotlock.c index 2dc143001..8d9ee5139 100644 --- a/common/dotlock.c +++ b/common/dotlock.c @@ -124,7 +124,7 @@ that the handle shall only be used by one thread at a time. This function creates a unique file temporary file (".#lk*") in the same directory as FNAME and returns a handle for further operations. - The module keeps track of theses unique files so that they will be + The module keeps track of these unique files so that they will be unlinked using the atexit handler. If you don't need the lock file anymore, you may also explicitly remove it with a call to: @@ -1110,7 +1110,7 @@ dotlock_take_unix (dotlock_t h, long timeout) } else if ( same_node && kill (pid, 0) && errno == ESRCH ) { - /* Note: It is unlikley that we get a race here unless a pid is + /* Note: It is unlikely that we get a race here unless a pid is reused too fast or a new process with the same pid as the one of the stale file tries to lock right at the same time as we. */ my_info_1 (_("removing stale lockfile (created by %d)\n"), pid); |
