Commit graph

34 commits

Author SHA1 Message Date
Michael Gehring
a0b3b710c2 Update for crate_id related changes 2014-07-06 12:34:50 +02:00
Michael Gehring
a544332c1b &str is no longer indexable 2014-07-02 18:25:29 +02:00
Michael Gehring
22743f04ae Remove use of raw bare pointers (*T -> *const T) 2014-07-01 02:17:35 +02:00
Michael Gehring
30bba07f9c always build multicall binary
squashed:
	a2c6b27 - build: automatically generate main() files
	c942f0f - remove MULTICALL=1 build from travis
	cb7b35b - make: remove unnecessary shell command
	69bbb31 - update README
	03a3168 - all: move main() into separate file that links against util crate
	8276384 - make: always build multicall binary
	aa4edeb - make: avoid 'rustc --crate-file-name'
2014-06-26 10:26:16 +02:00
Michael Gehring
b3c9fd891e Add type suffixes where necessary 2014-06-25 13:12:43 +02:00
Arcterus
fc7f291a68 echo: check argument length when parsing options 2014-06-20 15:12:08 -07:00
Arcterus
af01114ba8 echo: pass Busybox test suite 2014-06-19 17:38:26 -07:00
Arcterus
df6f1ba19c echo: fix handling of \0 2014-06-19 16:26:49 -07:00
Arcterus
76cf0e47ed echo: handle -- correctly 2014-06-19 13:49:09 -07: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
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
4b9c8279ce os::args returns Vec<~str> now 2014-05-16 11:17:23 +02:00
Arcterus
4e8703e04f Fix everything but md5sum (blocked on rust-crypto) for latest Rust 2014-04-25 22:03:08 -07:00
petejodo
e17adf9aa9 Accidentally removed an exclamation for crate_id in echo. Put it back. 2014-04-08 09:37:17 -04: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
José Neder
786b39019b Fix master by removing extra crate,
and using max method for comparing floats
2014-03-18 09:26:42 -03:00
Alan Andrade
de21ff4c2f Move util.rs to common 2014-02-23 22:50:34 -08: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
d8896a18d1 use crash! macro in echo 2014-02-05 14:40:22 +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
0e615023c1 rust println supports multi-line ... 2013-12-03 16:56:15 +04:00
Derek Chiang
0bb66b167e Refactoring 2013-12-01 20:00:44 -05:00
Derek Chiang
4d7660b62b Refactoring 2013-12-01 16:18:56 -05:00
Derek Chiang
6c46f775f7 Implement echo 2013-12-01 04:17:27 -05:00