artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74f2eca
)
Close file descriptor before next try getting a good one.
author
tobias
<tobias@openbsd.org>
Fri, 17 Jan 2014 21:42:47 +0000
(21:42 +0000)
committer
tobias
<tobias@openbsd.org>
Fri, 17 Jan 2014 21:42:47 +0000
(21:42 +0000)
ok millert@
libexec/mail.local/locking.c
patch
|
blob
|
history
diff --git
a/libexec/mail.local/locking.c
b/libexec/mail.local/locking.c
index
735c846
..
a9a2a8d
100644
(file)
--- a/
libexec/mail.local/locking.c
+++ b/
libexec/mail.local/locking.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: locking.c,v 1.1
0 2011/01/10 21:00:50 millert Exp $
*/
+/* $OpenBSD: locking.c,v 1.1
1 2014/01/17 21:42:47 tobias Exp $
*/
/*
* Copyright (c) 1996-1998 Theo de Raadt <deraadt@theos.com>
@@
-112,6
+112,7
@@
again:
seteuid(pw->pw_uid);
}
}
+ close(lfd);
}
sleep(1U << tries);
tries++;