Subject: Re: Jade doesn't work
To: Kogule, Ryo <kogule@mars.dti.ne.jp>
From: None <hubert@feyrer.de>
List: tech-pkg
Date: 03/29/2001 03:03:43
On Wed, 28 Mar 2001, Kogule, Ryo wrote:
> --- Interpreter.cxx.orig        Tue Mar 27 21:40:44 2001
> +++ Interpreter.cxx     Tue Mar 27 21:42:39 2001
> @@ -184,7 +184,8 @@
>    };
>    size_t nUnits = dsssl2() ? SIZEOF(units) : SIZEOF(units) - 1;
>    for (size_t i = 0; i < nUnits; i++) {
> -    Unit *unit = lookupUnit(makeStringC(units[i].name));
> +    StringC temp = makeStringC(units[i].name);
> +    Unit *unit = lookupUnit(temp);
>      long n = unitsPerInch_ * units[i].numer;
>      if (n % units[i].denom == 0)
>        unit->setValue(long(n / units[i].denom));

FYI, I've committed this patch and bumped the jade pkg's version to
1.2.1nb1. If you get that version, it should work properly. Thanks!


 - Hubert

-- 
Hubert Feyrer <hubert@feyrer.de>