summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-antivirus/klamav/files/klamav-clamav094.patch')
-rw-r--r--app-antivirus/klamav/files/klamav-clamav094.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-antivirus/klamav/files/klamav-clamav094.patch b/app-antivirus/klamav/files/klamav-clamav094.patch
new file mode 100644
index 000000000000..5131cf911375
--- /dev/null
+++ b/app-antivirus/klamav/files/klamav-clamav094.patch
@@ -0,0 +1,14 @@
+diff -ur klamav-0.44/src/klammail/clamdmail.c klamav-0.44-clamav094/src/klammail/clamdmail.c
+--- klamav-0.44/src/klammail/clamdmail.c 2008-07-06 14:05:39.000000000 +0200
++++ klamav-0.44-clamav094/src/klammail/clamdmail.c 2008-09-06 13:51:46.000000000 +0200
+@@ -160,7 +160,8 @@
+ if(fsync(fd) == -1) {
+ // cli_dbgmsg("fsync() failed for descriptor %d\n", fd);
+ close(fd);
+- return CL_EFSYNC;
++// return CL_EFSYNC;
++ return CL_EIO;
+ }
+
+ close(fd);
+