summaryrefslogtreecommitdiff
path: root/libstd
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-04-13 01:16:51 -0700
committerOri Bernstein <ori@eigenstate.org>2015-04-13 01:16:51 -0700
commit26955686e32ba4ba98babcf0a48e0a6ceeedceed (patch)
tree35142014776e5904050963910086a0b5829076b9 /libstd
parent46353c77c6d4203f9ea8da76510fad62da42b2db (diff)
downloadmc-26955686e32ba4ba98babcf0a48e0a6ceeedceed.tar.gz
Remove debug print.
Diffstat (limited to 'libstd')
-rw-r--r--libstd/getcwd.myr8
1 files changed, 3 insertions, 5 deletions
diff --git a/libstd/getcwd.myr b/libstd/getcwd.myr
index 3992bf6..406c6a4 100644
--- a/libstd/getcwd.myr
+++ b/libstd/getcwd.myr
@@ -1,9 +1,8 @@
-use "syswrap.use"
-use "errno.use"
+
use "alloc.use"
+use "errno.use"
use "extremum.use"
-use "fmt.use"
-
+use "syswrap.use"
pkg std =
const getcwd : (-> byte[:])
;;
@@ -15,7 +14,6 @@ const getcwd = {
while true
buf = std.slalloc(len)
n = bgetcwd(buf)
- std.put("got %i, buf = %s\n", n, buf[:n])
if n >= 0
/* n is the length of the nul terminated c string */
-> buf[:n-1]