Comment 15 for bug 787864

Revision history for this message
Sergey Murzin (s-murzin) wrote : Re: [Bug 787864] Re: scan rum freeses on long filenames
  • GUI.pm Edit (77.1 KiB, application/x-perl; name="GUI.pm")

Dear Dave!

I would like to send you congratulations, but I can't...

I've made what you wrote, but result is the same.

I've double-checked:
- single GUI.pm file in the system is in /usr/share/ClamTk
- please see it attached with the changes made

This is SUSE.

In next couple of hours I'll make all the same on Ubuntu then will let
you know.

Best regards,
Sergey Murzin

> A HA! I figured it out - it is a bad regular expression on my part.
>
> If you want to test it, I can either email a copy to try out, or just do
> this:
>
> Type "locate GUI.pm" - it should be in
> /usr/share/perl5/vendor_perl/ClamTk/GUI.pm, but might be different on
> your system.
>
> As root, open that file with gedit or your favorite text editor. Go to
> line (approximately) 1073, where it reads:
>
> if (/(.*?): (.*?) FOUND/) {
>
> and change it to:
>
> if (/(.*?): ([^:]+) FOUND/) {
>
> And then all is well. Guess I have to work on releasing 4.34 now... it
> was poor coding on my part.
>
> Anyway, please let me know if that works, or if you would like me to
> email you a working copy.
>
> respectfully
> dave
>