thanks. done:
/cvsroot/swishe/swish-e/src/filter.c,v <-- filter.c
new revision: 1.27; previous revision: 1.26
Ludovic Drolez scribbled on 9/19/06 3:43 PM:
> This is a multi-part message in MIME format.
> --------------050505030107040602070000
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Hi !
>
> I currently maintain Swish-e for Debian, and since Etch and Swish-e 2.4.4
> will be released soon (!?), I wanted to fix a bug which prevents me from
> indexing .doc dans .pdf files with quotes in their file name...
>
> I had to modify filter.c but that was not very hard, as you can see in the
> attached patch. I escape all non-alphanumeric characters so the shell is
> happy when launching any filter specified by 'FileFilter'.
>
> You can now simply use the filefilter directives without quotes, and any
> filename should be ok:
> Filefilter .pdf swish_filter.pl %p
> Filefilter .doc swish_filter.pl %p
>
> Cheers,
>
> Ludovic.
>
> PS: Ooops ! I've forgotten a 'free' in 'stringQuote()'.
>
--
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Tue Sep 19 14:25:12 2006