summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-30 18:47:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-30 18:47:36 +0000
commit6e76f2858c0442acbff8ada3e09d3ad70e538ab9 (patch)
tree37997070d4d4a3e17d605fd80e13711be8230410
parent0a98ba4f53db91ece5634cda36d4cb70766bd346 (diff)
downloadperl_checker-6e76f2858c0442acbff8ada3e09d3ad70e538ab9.tar
perl_checker-6e76f2858c0442acbff8ada3e09d3ad70e538ab9.tar.gz
perl_checker-6e76f2858c0442acbff8ada3e09d3ad70e538ab9.tar.bz2
perl_checker-6e76f2858c0442acbff8ada3e09d3ad70e538ab9.tar.xz
perl_checker-6e76f2858c0442acbff8ada3e09d3ad70e538ab9.zip
better handling of bad cache file
-rw-r--r--perl_checker.src/global_checks.ml2
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