equal
deleted
inserted
replaced
204 fun get_guid () = |
204 fun get_guid () = |
205 let |
205 let |
206 val c = !guid_counter |
206 val c = !guid_counter |
207 val _ = guid_counter := !guid_counter + 1 |
207 val _ = guid_counter := !guid_counter + 1 |
208 in |
208 in |
209 (LargeInt.toString (Time.toMicroseconds (Time.now ()))) ^ (string_of_int c) |
209 (Int.toString (Time.toMicroseconds (Time.now ()))) ^ (string_of_int c) |
210 end |
210 end |
211 |
211 |
212 fun tmp_file s = Path.implode (Path.expand (File.tmp_path (Path.make [s]))); |
212 fun tmp_file s = Path.implode (Path.expand (File.tmp_path (Path.make [s]))); |
213 fun wrap s = "\""^s^"\"" |
213 fun wrap s = "\""^s^"\"" |
214 |
214 |