From 919b30f6d188fcfc6dc40b364d54c0458be3591e Mon Sep 17 00:00:00 2001 From: fkirchne Date: Fri, 28 May 2010 16:40:18 +0000 Subject: Use existing functions to reimplement search_exe. Most of the code in search_exe_in_path was about parsing the PATH into a list of directories, which is now done in function lpath_from_path. Existence of the file is checked using already existing functions, so that duplication is minimized. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13033 85f007b7-540e-0410-9357-904b9bb8a0f7 --- lib/system.mli | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/system.mli') diff --git a/lib/system.mli b/lib/system.mli index d8a4088d0..ce5fd8b01 100644 --- a/lib/system.mli +++ b/lib/system.mli @@ -23,6 +23,7 @@ val exclude_search_in_dirname : string -> unit val all_subdirs : unix_path:string -> (physical_path * string list) list val is_in_path : load_path -> string -> bool +val is_in_system_path : string -> bool val where_in_path : ?warn:bool -> load_path -> string -> physical_path * string val physical_path_of_string : string -> physical_path -- cgit v1.2.3