Simplified file_info using OS.FileSys instead of Posix.FileSys
(also for MLWorks compatibility)
--- 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 _ =>"";