dovecot-1.1: unlink_directory(): Log if unlink()ing some file fa...

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 10 20:52:17 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.1/rev/197d44c80387
changeset: 8349:197d44c80387
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 10 13:51:47 2009 -0400
description:
unlink_directory(): Log if unlink()ing some file fails.

diffstat:

1 file changed, 2 insertions(+)
src/lib/unlink-directory.c |    2 ++

diffs (12 lines):

diff -r 8601970f92de -r 197d44c80387 src/lib/unlink-directory.c
--- a/src/lib/unlink-directory.c	Fri Sep 04 15:49:48 2009 -0400
+++ b/src/lib/unlink-directory.c	Thu Sep 10 13:51:47 2009 -0400
@@ -124,6 +124,8 @@ static int unlink_directory_r(const char
 			} else {
                                 /* so it wasn't a directory */
 				errno = old_errno;
+				i_error("unlink(%s/%s) failed: %m",
+					dir, d->d_name);
 				break;
 			}
 		}


More information about the dovecot-cvs mailing list