Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: win32

Scanning files with unicode names

 

 

ClamAV win32 RSS feed   Index | Next | Previous | View Threaded


ageraldnaveen at yahoo

Apr 9, 2007, 4:38 AM

Post #1 of 2 (1363 views)
Permalink
Scanning files with unicode names

I find that libclamav does not support unicode filename in cl_scanfile API. To work around it,

I open a unicode file using _wopen, and called cl_scandesc with the file descriptor. It works fine.

Can anyone think of any issue with this approach? Otherwise, let this help others who look for this info.

Thanks
Gerald Naveen A





____________________________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32


al.melquist at renapse

Apr 9, 2007, 9:49 AM

Post #2 of 2 (1284 views)
Permalink
Re: Scanning files with unicode names [In reply to]

I can't - But it's early. Sounds good.

-----Original Message-----
From: clamav-win32-bounces [at] lists
[mailto:clamav-win32-bounces [at] lists] On Behalf Of Gerald
Naveen
Sent: Monday, April 09, 2007 4:39 AM
To: clamav-win32 [at] lists
Subject: [clamav-win32] Scanning files with unicode names

I find that libclamav does not support unicode filename in cl_scanfile
API. To work around it,

I open a unicode file using _wopen, and called cl_scandesc with the file
descriptor. It works fine.

Can anyone think of any issue with this approach? Otherwise, let this
help others who look for this info.

Thanks
Gerald Naveen A





________________________________________________________________________
____________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32



_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32

ClamAV win32 RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.