[Dovecot] Quick fix for nfs-workarounds.c
Hi,
Under Solaris 8, the rmdir() command returns EEXIST instead of ENOTEMPTY if an rmdir() is attempted on a directory with files still in it.
Dovecot 1.1beta9 currently gives tons of errors in the logfile as a result of the code not checking for the right error value.
The function nfs_flush_file_handle_cache_dir() in nfs-worksarounds.c probably needs to reflect EEXIST as well as ENOTEMPTY.
-- Dean Brooks dean@iglou.com
On Sat, 2007-12-01 at 19:46 -0500, Dean Brooks wrote:
Under Solaris 8, the rmdir() command returns EEXIST instead of ENOTEMPTY if an rmdir() is attempted on a directory with files still in it.
Dovecot 1.1beta9 currently gives tons of errors in the logfile as a result of the code not checking for the right error value.
The function nfs_flush_file_handle_cache_dir() in nfs-worksarounds.c probably needs to reflect EEXIST as well as ENOTEMPTY.
participants (2)
-
Dean Brooks
-
Timo Sirainen