[tex-live] Patch to updmap.pl

Karl Berry karl at freefriends.org
Tue Sep 4 01:12:47 CEST 2007


    -      if ($value =~ m/^(true|yes|t|y|1)$/) {
    -       $value = 1;
    +      if ($variable eq "LW35") {
    +        print "$variable => $value\n";
           }
           else {
    -       $value = 0;
    +        if ($value =~ m/^(true|yes|t|y|1)$/) {
    +         $value = 1;
    +        }
    +        else {
    +         $value = 0;
    +        }

I don't understand this change.  What problem is being fixed?

    -  $mode = "URWkb" if ($mode = undef);
    +  $mode = "URWkb" if ($mode eq undef);

The original is certainly wrong, but the replacement looks strange too,
as Joachim said.  Glancing at the code, I surmise we do want to check
against the empty string, so I changed things accordingly.

I have no way to test it.  If anyone using Windows can do so, that would
be nice.  (Of course it would be nice to unify Windows and Unix, as we
all know very well, but that's not going to happen today.)

Best,
k



More information about the tex-live mailing list