guint options;
gchar *s;
const gchar *virus_name = NULL;
-+#ifdef CL_SCAN_GENERAL_ALLMATCHES
-+ struct cl_scan_options scan_options = {CL_SCAN_GENERAL_ALLMATCHES,
-+ 0x3FF, // where is the convenience alias for all?
++#ifdef CL_SCAN_GENERAL_HEURISTICS
++ struct cl_scan_options scan_options = {CL_SCAN_GENERAL_HEURISTICS,
++ ~0,
+ 0,
+ 0,
+ 0};
/* Scan this file */
status = (gint)cl_scandesc(
fd,
-+#ifdef CL_SCAN_GENERAL_ALLMATCHES
++#ifdef CL_SCAN_GENERAL_HEURISTICS
+ path,
+#endif
&virus_name,
&scanned_blocks,
d->engine,
-+#ifdef CL_SCAN_GENERAL_ALLMATCHES
++#ifdef CL_SCAN_GENERAL_HEURISTICS
+ &scan_options
+#else
(unsigned int)options
Summary(pl.UTF-8): Skaner antywirusowy
Name: avscan
Version: 5.1.1
-Release: 3
+Release: 4
License: GPL v2 with OpenSSL exception
Group: X11/Applications
Source0: http://wolfsinger.com/~wolfpack/packages/%{name}-%{version}-openssl.tar.bz2