Le jeu 13/11/2003 � 17:58, Tom Walsh a �crit : > ::I'm trying to scan a file given on stdin with clamdscan but it doesn't > ::work. > :: > ::I'm using clamav v0.6, the file is a mbox, with clamscan it works fine. > <snip> > > That is not the way clamdscan works. clamdscan's only purpose is to pass a > location to scan (on the file system) to the clamd daemon. >
No it can read stdin when you give a '-' on command line.
cf line 120 of clamdscan/client.c of v0.65.
if(!strcmp(opt->filename, "-")) { /* scan data from stdin */
(...)
So it should be a bug.
I've tried to solve the pb but I failed to find the bug.
Regards.
--
==================
Cedric Foll
Ing�nieur r�seaux, Rectorat de Rouen
m�l: [EMAIL PROTECTED]
t�l: 02 35 14 77 51
"L'orgueil a plus de part que la bont�
aux remontrances que nous faisons �
ceux qui commettent des fautes; et nous
ne les reprenons pas tant pour les en
corriger que pour leur persuader que
nous en sommes exempts."
La rochefoucauld
===================
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
