aboutsummaryrefslogtreecommitdiff
path: root/src/interp/sys-os.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/sys-os.boot')
-rw-r--r--src/interp/sys-os.boot5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interp/sys-os.boot b/src/interp/sys-os.boot
index a9a54d17..b79eff84 100644
--- a/src/interp/sys-os.boot
+++ b/src/interp/sys-os.boot
@@ -50,7 +50,10 @@ loadSystemRuntimeCore()
--% File System Support
++ Current working directory
-import oa__getcwd: () -> string for getWorkingDirectory
+import oa__getcwd: () -> string for doGetWorkingDirectory
+
+getWorkingDirectory() ==
+ ensureTrailingSlash doGetWorkingDirectory()
++ change current working directory.
import oa__chdir: string -> int for changeDirectory