Simplified file_info using OS.FileSys instead of Posix.FileSys
authorpaulson
Tue, 03 Dec 1996 11:21:47 +0100
changeset 2304 618b545fe9c4
parent 2303 84ed9e0d7c50
child 2305 35f78d6c4faa
Simplified file_info using OS.FileSys instead of Posix.FileSys (also for MLWorks compatibility)
src/Pure/NJ1xx.ML
--- a/src/Pure/NJ1xx.ML	Tue Dec 03 11:20:43 1996 +0100
+++ b/src/Pure/NJ1xx.ML	Tue Dec 03 11:21:47 1996 +0100
@@ -79,9 +79,7 @@
 
 (*Get time of last modification; if file doesn't exist return an empty string*)
 fun file_info "" = ""
-  | file_info name = Time.toString
-			 (Posix.FileSys.ST.mtime (Posix.FileSys.stat name))  
-		     handle _ => "";
+  | file_info name = Time.toString (OS.FileSys.modTime name) handle _ =>"";