java/src/org/openantivirus/daemon ScannerDaemon.java,1.2,1.3
Kurt Huwig <[email protected]> Tue, 25 May 2004 06:49:12 +0000
| Newsgroups | gmane.comp.security.virus.openantivirus.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/openantivirus/java/src/org/openantivirus/daemon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27654/src/org/openantivirus/daemon
Modified Files:
ScannerDaemon.java
Log Message:
Restored command line handling
Index: ScannerDaemon.java
===================================================================
RCS file: /cvsroot/openantivirus/java/src/org/openantivirus/daemon/ScannerDaemon.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ScannerDaemon.java 19 May 2004 07:33:40 -0000 1.2
+++ ScannerDaemon.java 25 May 2004 06:49:09 -0000 1.3
@@ -115,14 +115,16 @@
scanConfiguration.putInt("credo.level",
Integer.parseInt(args[++i]));
} else if ("followsymlinks".equals(sParameter)) {
-// scanConfiguration.setFollowSymlinks(true);
+ scanConfiguration.putBoolean("engine.follow-symlinks",
+ true);
} else if ("tempdir".equals(sParameter)) {
-// scanConfiguration.setTempDirectory(new File(args[++i]));
+ scanConfiguration.putString("engine.tempdirectory",
+ args[++i]);
} else {
System.err.println("Unknown parameter: " + args[i]);
}
} else {
-// scanConfiguration.setCredoPath(args[i]);
+ scanConfiguration.putString("credo.directory", args[i]);
}
}
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click