Commit graph

21 commits

Author SHA1 Message Date
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
9b3bfed359 to_{strbuf,owned} -> to_string 2014-05-28 08:33:39 +02:00
Michael Gehring
a70f858f12 Remove the unnecessary conversion of os::args() ret val
Missed these in 46b9d6d78e
2014-05-25 11:55:28 +02:00
Michael Gehring
1bf7569084 StrBuf was renamed to String 2014-05-25 11:20:52 +02:00
Michael Gehring
0ce3f0f4e1 Adapt to removal of ~str from libstd. 2014-05-23 14:28:40 +02:00
Michael Gehring
577e4baef9 Update for getopts changes 2014-05-17 12:32:14 +02:00
Michael Gehring
b1983536e1 growable ~[T] -> Vec<T> 2014-05-16 11:18:32 +02:00
Michael Gehring
4b9c8279ce os::args returns Vec<~str> now 2014-05-16 11:17:23 +02:00
Michael Gehring
7a06ae081d Update to box/Box<T> syntax. 2014-05-09 03:04:58 +02:00
Arcterus
bf48ed6eb5 Add stdin (-) support to some programs 2014-05-07 16:55:53 -07:00
Arcterus
366c388d3f Update for latest Rust 2014-05-06 23:25:49 -07:00
Arcterus
4e8703e04f Fix everything but md5sum (blocked on rust-crypto) for latest Rust 2014-04-25 22:03:08 -07:00
petejodo
27ed81322c Fixed most issues caused by libc being moved from std to it's own crate.
I just did a quick pass and fixed a majority of the simple issues but
there are still some problems with the following utils:
  id
  md5sum
  tee
  uptime
  users
  whoami
2014-04-07 18:43:34 -04:00
Arcterus
e898d37736 Update for latest Rust 2014-03-31 09:40:21 -07:00
Alan Andrade
10d7a0cc9c Fix master by using Vec and adjusting 2014-03-22 02:17:27 -07:00
Arcterus
2a875c0f49 paste: make MUCH faster and fix a couple bugs 2014-02-28 10:11:24 -08:00
Arcterus
fac630d07c Add paste (closes #120) 2014-02-28 09:19:32 -08:00