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

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 10 20:51:55 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/58630516a9d4
changeset: 9374:58630516a9d4
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 f1a29b13f7dc -r 58630516a9d4 src/lib/unlink-directory.c
--- a/src/lib/unlink-directory.c	Thu Sep 10 12:07:53 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