git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0ea85a
)
src/deliver.c: log the error message when unlink(spoolname) fails
author
Tony Finch
<dot@dotat.at>
Fri, 14 Jan 2011 14:19:40 +0000
(14:19 +0000)
committer
Tony Finch
<dot@dotat.at>
Fri, 14 Jan 2011 14:19:40 +0000
(14:19 +0000)
doc/doc-txt/ChangeLog
patch
|
blob
|
history
src/src/deliver.c
patch
|
blob
|
history
diff --git
a/doc/doc-txt/ChangeLog
b/doc/doc-txt/ChangeLog
index d19f30866d91d18e1442a9b8c625ad4c0b85d4d7..ef82a0cc90134001a9a5e618523464ee74c5c6bf 100644
(file)
--- a/
doc/doc-txt/ChangeLog
+++ b/
doc/doc-txt/ChangeLog
@@
-12,6
+12,8
@@
TF/01 Failure to get a lock on a hints database can have serious
TF/02 Log LMTP confirmation messages in the same way as SMTP,
controlled using the smtp_confirmation log selector.
+TF/03 Include the error message when we fail to unlink a spool file.
+
Exim version 4.73
-----------------
diff --git
a/src/src/deliver.c
b/src/src/deliver.c
index 668e4b2e5f5973960b1a14ea8132b17c6ed65e01..807f03817ca60cec756ea5cba4196cc857cc0b18 100644
(file)
--- a/
src/src/deliver.c
+++ b/
src/src/deliver.c
@@
-6568,7
+6568,8
@@
if (addr_defer == NULL)
else
{
if (Uunlink(spoolname) < 0)
- log_write(0, LOG_MAIN|LOG_PANIC_DIE, "failed to unlink %s", spoolname);
+ log_write(0, LOG_MAIN|LOG_PANIC_DIE, "failed to unlink %s: %s",
+ spoolname, strerror(errno));
}
}