Commit graph

21 commits

Author SHA1 Message Date
Michael Gehring
bb1edec74e dirname, basename, env, head, id, sync, touch: exit with status 1 on invalid arguments 2014-06-23 09:35:39 +02:00
Michael Gehring
96c32a70a5 remove use of deprecated to_err_msg 2014-06-15 12:51:03 +02:00
Brian Anderson
bad19f6016 Remove tail return statements.
Per review feedback.
2014-06-11 21:48:38 -07:00
Brian Anderson
0ee4fb0576 Handle exit status more consistently. #211
This changes the `uumain` functions to return the exit code as `int`.

It does not eliminate all calls to `os::set_exit_status` and `libc::exit`.
2014-06-11 21:48:38 -07:00
Michael Gehring
448f4d6d70 remove remaining uses of ~[T] 2014-05-30 10:40:36 +02:00
Michael Gehring
1bac39d509 silence dead code warnings in multicall build 2014-05-29 08:58:06 +02:00
Michael Gehring
13f01e4c11 add uutils multicall binary 2014-05-28 14:22:52 +02:00
Michael Gehring
46b9d6d78e Remove the now unnecessary conversion of os::args() ret val. 2014-05-23 14:35:58 +02:00
Michael Gehring
577e4baef9 Update for getopts changes 2014-05-17 12:32:14 +02:00
Michael Gehring
4b9c8279ce os::args returns Vec<~str> now 2014-05-16 11:17:23 +02:00
Arcterus
e898d37736 Update for latest Rust 2014-03-31 09:40:21 -07:00
José Neder
786b39019b Fix master by removing extra crate,
and using max method for comparing floats
2014-03-18 09:26:42 -03:00
Arcterus
47ddd7d4f2 Update for latest Rust and fixed up id for Linux 2014-02-16 13:29:31 -08:00
Arcterus
74df4d5a98 Fix programs for latest Rust and begin usage of new utility macros 2014-02-06 22:39:07 -08:00
Heather
c8a2b4f6e0 replace writing to stderr with fail 2014-02-05 08:46:45 +04:00
Heather
3e2c58a562 dirname fix according from_utf8 return option now 2014-02-05 08:46:42 +04:00
Heather
ee56d7b196 update code for Rust print syntax changes 2014-01-13 13:05:02 +04:00
Heather
518477b1f5 link -> crate_id, link is deprecated 2013-12-26 14:49:31 +04:00
Heather
2aa7e552f7 init -> new (reverted in rust)
from_utf8_slice -> from_utf8
2013-12-06 09:31:49 +04:00
Derek Chiang
94dd3ff7d3 Remove unnecessary escaping 2013-12-03 18:39:23 -05:00
Derek Chiang
7b6880d348 Implement dirname 2013-12-03 04:29:32 -05:00