- Thanks to Ian Jackson for noticing that we weren't properly checking
whether the decompression program properly exited by checking the
return value of close(). See
22635.45523.288493.760480@chiark.greenend.org.uk for discussion
update_package_version($db,$db2,$dist,$arch,$pkg,$ver,$time) unless
$extra_source_only;
}
+ close($PACKAGES) or
+ die "Error while closing ${packages}: $!";
}
read_packages($db,$db2,$packages, $viscomponent,$arch,$suite);
}
- closedir $COMPONENT;
+ closedir $COMPONENT or
+ die "Unable to closedir $componentdir: $!";
}
}
}