diff options
-rw-r--r-- | ldetect-lst.spec | 5 | ||||
-rw-r--r-- | update-ldetect-lst | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/ldetect-lst.spec b/ldetect-lst.spec index 5ef1cb79..2c328458 100644 --- a/ldetect-lst.spec +++ b/ldetect-lst.spec @@ -1,6 +1,6 @@ %define name ldetect-lst %define version 0.1.7 -%define release 12mdk +%define release 13mdk Name: %{name} Version: %{version} @@ -64,6 +64,9 @@ fi %{_bindir}/* %changelog +* Sun Apr 6 2003 Pixel <pixel@mandrakesoft.com> 0.1.7-13mdk +- don't use cat(1) in update-ldetect-lst (fix bug #3678) + * Fri Mar 28 2003 Frederic Lepied <flepied@mandrakesoft.com> 0.1.7-12mdk - activated 3D on i830, i845, i85x and i865 diff --git a/update-ldetect-lst b/update-ldetect-lst index d0921017..8b351fc8 100644 --- a/update-ldetect-lst +++ b/update-ldetect-lst @@ -11,5 +11,9 @@ foreach (@files) { my $d = "$dir/$_.d"; -d $d or next; my @l = sort glob("$d/*.lst") or next; - system("cat " . join(" ", @l) . " > $dir/$_"); + open(my $OUT, " > $dir/$_"); + foreach (@l) { + open(my $IN, $_) or next; + print $OUT $_ foreach <$IN>; + } } |