re-reading from registry

2006-08-18 Thread Christoph Probst
Hi, I'm still working on the clamav integration in wine. One question that came up recently is how to handle configuration changes. I'd like to allow to configure the virusscanner 'online' without restarting the wineserver or applications currently running. As the configuration is stored in th

Re: How do I get the unix filename for a wine handle?

2006-06-25 Thread Christoph Probst
Hi. Eric Pouech wrote: > just for sake of completeness: how about enhancing ClamAV so that it > takes a fd (instead of a filename) as its input ? It looks like as if fd are already supported somehow. Need to have a closer look at that ... But I found an even better alternative: ClamAV supports

Re: How do I get the unix filename for a wine handle?

2006-06-24 Thread Christoph Probst
Hi. Alexandre Julliard wrote: > You can't do that in general. In Unix a file can have multiple names, > or even none at all, there's simply no way to get a filename from a > handle. On Linux you can use /proc/self/fd but that's not very > portable. So what do you think about the solution that th

How do I get the unix filename for a wine handle?

2006-06-23 Thread Christoph Probst
Hi, I'm one of the Google Summer of Code students and I'm working on the ClamAV integration in wine. Today I was discussing an issue with my mentor and he suggested to post it here. Currently I'm working on a scan-after-write functionality: Whenever a file was changed the virusscanner checks