Changeset 2567


Ignore:
Timestamp:
Mar 7, 2006, 1:20:48 AM (19 years ago)
Author:
bird
Message:

Fixed emx perl problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coreutils/tests/Coreutils.pm

    r2554 r2567  
    458458              # Move $out aside (to $orig), then then recreate $out
    459459              # by transforming each line of $orig via $subst_expr.
     460              unlink $orig; # bird - emx hack
    460461              rename $out, $orig
    461462                or (warn "$program_name: cannot rename $out to $orig: $!\n"),
     
    464465                or (warn "$program_name: cannot open $orig for reading: $!\n"),
    465466                  $fail = 1, (unlink $orig), next;
    466               unlink $orig
    467                 or (warn "$program_name: cannot unlink $orig: $!\n"),
    468                   $fail = 1;
     467              if (0) { # bird - emx hack
     468                unlink $orig
     469                  or (warn "$program_name: cannot unlink $orig: $!\n"),
     470                    $fail = 1;
     471              }
    469472              open OUT, ">$out"
    470473                or (warn "$program_name: cannot open $out for writing: $!\n"),
     
    479482                or (warn "$program_name: failed to write $out: $!\n"),
    480483                  $fail = 1, next;
     484              if (1) { # bird - emx hack
     485                unlink $orig;
     486              }
    481487            }
    482488
Note: See TracChangeset for help on using the changeset viewer.