diff options
Diffstat (limited to 'tnslc/copy.tnsl')
-rw-r--r-- | tnslc/copy.tnsl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tnslc/copy.tnsl b/tnslc/copy.tnsl index 90e1126..636a773 100644 --- a/tnslc/copy.tnsl +++ b/tnslc/copy.tnsl @@ -1,6 +1,5 @@ :include "c_wrap.tnsl" -:include "vector.tnsl" -:include "utils.tnsl" +# :include "utils.tnsl" {}uint8 wrong_args = "Usage: copy [from] [to]" @@ -25,8 +24,8 @@ uint8 buf = 0 int read_count = 0 int tries = 0 - _read_byte(read_handle, ~buf, ~read_count) - /; loop (_read_byte(read_handle, ~buf, ~read_count)) + /; loop + _read_byte(read_handle, ~buf, ~read_count) /; if (read_count == 0) break ;/ @@ -38,4 +37,4 @@ _close_file(write_handle) return 0 -;/
\ No newline at end of file +;/ |