Explorar o código

[unix] fix Path.get_real_path to resolve symlinks

Aleksandr Kuzmenko %!s(int64=5) %!d(string=hai) anos
pai
achega
c9508f222a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/path.ml

+ 1 - 1
src/core/path.ml

@@ -168,7 +168,7 @@ let get_real_path =
 	if Globals.is_windows then
 		(fun p -> try Extc.get_real_path p with _ -> p)
 	else
-		get_full_path
+		(fun p -> try Extc.get_full_path p with _ -> p)
 
 module UniqueKey : sig
 	(**