Um 14:50 Uhr am 16.02.06 schrieb Sven Hartge:

> To work around this problem, I added the follwing (very crude
> and inefficient) code to apt-cacher-lib.pl just before the open()
> in line 129:
> 
>   `$cat $name >/dev/null` || die("C: Error processing $name, cleanup 
> stopped\n");

Since perl uses 0 as false and anything other as true, my code is of 
course totally wrongm it should look like this:

   `$cat $name >/dev/null`;
   die("C: Error processing $name cleanup stopped\n") unless ($? == 0);         
  

This decompresses the package files twice, so something better should be 
uses to avoid the bug.

Grüße,
Sven.

-- 
Sven Hartge -- professioneller Unix-Geek
Meine Gedanken im Netz: http://www.svenhartge.de/

Achtung, neue Mail-Adresse: [EMAIL PROTECTED]

Reply via email to