Hi,
I was thinking that MD should report if copy_or_link() failed to create
the hard link. Because it will help detect a performance hit.

HTH
Oliver

--
Oliver Schulze L.
<[EMAIL PROTECTED]>

--- /tmp/mimedefang.pl  2006-05-17 09:05:54.000000000 -0400
+++ /usr/bin/mimedefang.pl      2006-05-17 09:05:39.000000000 -0400
@@ -276,6 +276,7 @@
     return 1 if link($src, $dst);
 
     # Link failed; do it the hard way
+    md_syslog('err', "$MsgID: copy_or_link failed to create hard link in 
$dst");
     open(IN, "<$src") or return 0;
     if (!open(OUT, ">$dst")) {
        close(IN);
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to