summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/tree.ml
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-12-15 14:42:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-12-15 14:42:41 +0000
commit56fb922ae41072448e239fa76eb9a4994ff4ca06 (patch)
tree6055c53e00189f993b5660eb83c407cc1e91ff76 /perl_checker.src/tree.ml
parent0dbfb00bcca5d560c93df23c85c5212dfc004da4 (diff)
downloadperl_checker-56fb922ae41072448e239fa76eb9a4994ff4ca06.tar
perl_checker-56fb922ae41072448e239fa76eb9a4994ff4ca06.tar.gz
perl_checker-56fb922ae41072448e239fa76eb9a4994ff4ca06.tar.bz2
perl_checker-56fb922ae41072448e239fa76eb9a4994ff4ca06.tar.xz
perl_checker-56fb922ae41072448e239fa76eb9a4994ff4ca06.zip
have a special debugging build
(esp. to disable closing pipe which disallow debugging back in time)
Diffstat (limited to 'perl_checker.src/tree.ml')
-rw-r--r--perl_checker.src/tree.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker.src/tree.ml b/perl_checker.src/tree.ml
index ea61876..7e1488d 100644
--- a/perl_checker.src/tree.ml
+++ b/perl_checker.src/tree.ml
@@ -257,7 +257,7 @@ let read_xs_extension_from_so global_vars_declared package pos =
let fq, name = find_package_name [] 0 in
Hashtbl.replace global_vars_declared (I_func, String.concat "::" fq, name) (pos, None)
) () channel;
- let _ = Unix.close_process_in channel in
+ if not Build.debugging then ignore (Unix.close_process_in channel) ;
true
with Not_found -> false