ref: 3036bad34f204e9348610ef5194ba7b29933aaf7
parent: d3672bb4f2ef344e41ff7fd3cb8c801a8edc6513
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Apr 12 21:16:51 EDT 2015
Remove debug print.
--- 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 @@
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]