From: | "Tobias Heinlein (keytoaster)" <keytoaster@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-antivirus/klamav/files: klamav-clamav094.patch |
Date: | Sat, 06 Sep 2008 15:19:45 |
Message-Id: | E1KbzZe-00088W-PD@stork.gentoo.org |
1 | keytoaster 08/09/06 15:19:42 |
2 | |
3 | Added: klamav-clamav094.patch |
4 | Log: |
5 | Fix compilation error with >=clamav-0.94, bug #236838 |
6 | (Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-antivirus/klamav/files/klamav-clamav094.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/klamav/files/klamav-clamav094.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/klamav/files/klamav-clamav094.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: klamav-clamav094.patch |
15 | =================================================================== |
16 | diff -ur klamav-0.44/src/klammail/clamdmail.c klamav-0.44-clamav094/src/klammail/clamdmail.c |
17 | --- klamav-0.44/src/klammail/clamdmail.c 2008-07-06 14:05:39.000000000 +0200 |
18 | +++ klamav-0.44-clamav094/src/klammail/clamdmail.c 2008-09-06 13:51:46.000000000 +0200 |
19 | @@ -160,7 +160,8 @@ |
20 | if(fsync(fd) == -1) { |
21 | // cli_dbgmsg("fsync() failed for descriptor %d\n", fd); |
22 | close(fd); |
23 | - return CL_EFSYNC; |
24 | +// return CL_EFSYNC; |
25 | + return CL_EIO; |
26 | } |
27 | |
28 | close(fd); |