# HG changeset patch # User wenzelm # Date 1470932776 -7200 # Node ID 5efaa884ac6c61a3d44c4d1987e3dc2500ec9253 # Parent 24126c564d8adf11d9f92a6e9dd966f22152278b tuned error; diff -r 24126c564d8a -r 5efaa884ac6c src/Pure/General/file.ML --- a/src/Pure/General/file.ML Thu Aug 11 15:36:17 2016 +0200 +++ b/src/Pure/General/file.ML Thu Aug 11 18:26:16 2016 +0200 @@ -98,11 +98,11 @@ fun check_dir path = if exists path andalso is_dir path then path - else error ("No such directory: " ^ Path.print path); + else error ("No such directory: " ^ Path.print (Path.expand path)); fun check_file path = if exists path andalso not (is_dir path) then path - else error ("No such file: " ^ Path.print path); + else error ("No such file: " ^ Path.print (Path.expand path)); (* open streams *)