diff options
| author | bwarsaw | 2000-09-14 05:11:59 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-09-14 05:11:59 +0000 |
| commit | 1612591fff2e61fd1d90bf05c723911a17dd7c05 (patch) | |
| tree | 8107c55790edc959c80bcc471279d4e421b8709d /Mailman/pythonlib/cgi.py | |
| parent | e037ef2eb64378879125f3d61e76e5a369557f16 (diff) | |
| download | mailman-1612591fff2e61fd1d90bf05c723911a17dd7c05.tar.gz mailman-1612591fff2e61fd1d90bf05c723911a17dd7c05.tar.zst mailman-1612591fff2e61fd1d90bf05c723911a17dd7c05.zip | |
locked(): Suppose we try to touch() the lock file, but we don't own
it, and in fact our alter-ego owns the file (e.g. the cgi process or
shell account uid if we're mail). The utime() call will fail with an
EPERM which wasn't being caught. Catch it here and return 0 since we
obviously don't own the lock.
TBD: should other calls to __touch() be similarly wrapped?
Diffstat (limited to 'Mailman/pythonlib/cgi.py')
0 files changed, 0 insertions, 0 deletions
