[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: Bug in wmk?

On Sun, 9 May 1999, Rafael Cordones Marcos wrote:

> Hi folks,
> I use "wmk -a" to rebuild al the wml tree. I am using wml 1.6.8.
> The problem is that wmk allways rebuilds and does not rebuild as needed
> by comparing .wml date-time and the generated .html files.
> It never gives me the (skipped) message I used to see before.
> Anyway, I run wmk throu the debugger and it turns out that at line 482
> of wmk:
> -------------
> $s =~ s|-o\s*["']?(?:[^:]+:(?!:))?([^\s@]+)|push(@outfiles, $1), ''|sge;
> -------------
> If you examine the variable @outfiles after executing it, it contains
>     index.html' index.es.html' index.ca.html'
> I think the apostrofes shouldn't be there because sobroutine skipable
> allways return false. But my Perl knowledge has not reached the point
> to understand this line. :(

You're totally right and this has been fixed in the development branch.


Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com