git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added lots of "(void)" casts to standard function calls.
[exim.git]
/
src
/
src
/
exim_lock.c
diff --git
a/src/src/exim_lock.c
b/src/src/exim_lock.c
index 9b5b2620960e36059e351c06087cf1c3d8304b28..9e2f43373053a377189efa32b352de19092c00ea 100644
(file)
--- a/
src/src/exim_lock.c
+++ b/
src/src/exim_lock.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/exim_lock.c,v 1.
2 2005/06/22 15:44:38
ph10 Exp $ */
+/* $Cambridge: exim/src/src/exim_lock.c,v 1.
3 2005/06/27 14:29:43
ph10 Exp $ */
/* A program to lock a file exactly as Exim would, for investigation of
interlocking problems.
/* A program to lock a file exactly as Exim would, for investigation of
interlocking problems.
@@
-329,7
+329,7
@@
for (j = 0; j < lock_retries; j++)
/* Apply hitching post algorithm. */
if ((rc = link(hitchname, lockname)) != 0) fstat(hd, &statbuf);
/* Apply hitching post algorithm. */
if ((rc = link(hitchname, lockname)) != 0) fstat(hd, &statbuf);
- close(hd);
+
(void)
close(hd);
unlink(hitchname);
if (rc != 0 && statbuf.st_nlink != 2)
unlink(hitchname);
if (rc != 0 && statbuf.st_nlink != 2)