diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-09-30 18:47:36 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-09-30 18:47:36 +0000 |
commit | cbf27ba1d773893bce94a86395804aac17bfead8 (patch) | |
tree | 500d775fa533590545931b1c4b37413943ea37da /perl_checker.src | |
parent | eac85b5363a054499d04928741f98498228699ec (diff) | |
download | perl-MDK-Common-cbf27ba1d773893bce94a86395804aac17bfead8.tar perl-MDK-Common-cbf27ba1d773893bce94a86395804aac17bfead8.tar.gz perl-MDK-Common-cbf27ba1d773893bce94a86395804aac17bfead8.tar.bz2 perl-MDK-Common-cbf27ba1d773893bce94a86395804aac17bfead8.tar.xz perl-MDK-Common-cbf27ba1d773893bce94a86395804aac17bfead8.zip |
better handling of bad cache file
Diffstat (limited to 'perl_checker.src')
-rw-r--r-- | perl_checker.src/global_checks.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker.src/global_checks.ml b/perl_checker.src/global_checks.ml index f184221..6e57f6e 100644 --- a/perl_checker.src/global_checks.ml +++ b/perl_checker.src/global_checks.ml @@ -548,7 +548,7 @@ let read_packages_from_cache per_files dir = Info.add_a_file file.file_name file.lines_starts ; add_file_to_files per_files file ) l - with Sys_error _ -> () + with Sys_error _ | End_of_file -> () let write_packages_cache per_files dir = try |