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

Re: BUG REPORT: Website META Language 2.0.2 (22-Jun-2000)



On Fri, Jul 14, 2000 at 01:14:38AM +0400, Ilya Martynov wrote:

> Automatic generation of dependencies for Makefiles seems to be broken. Here
> small test case:
[...]

Thanks for your report Ilya, there is indeed a bug.
The patch below fixes this problem. You may apply it against
wml_frontend/wml.src and recompile, or against your installed wml
script.

--- wml_frontend/wml.src	2000/06/15 16:25:21	1.53
+++ wml_frontend/wml.src	2000/07/16 20:10:56
@@ -1191,7 +1191,7 @@
         $opt_pass = '';
         foreach $a (@opt_W) {
             if ($a =~ m|^(\d),(.*)$|) {
-                $opt_pass .= " $2 " if $1 == $p;
+                $opt_pass .= " $2 " if $1 == 1;
 		}
         }
         eval "\$rc = \&pass1(\$opt_pass1 . \$opt_pass, \$src, \$o, \$tmp[2]);";

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