Commit graph

17 commits

Author SHA1 Message Date
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
bb1edec74e dirname, basename, env, head, id, sync, touch: exit with status 1 on invalid arguments 2014-06-23 09:35:39 +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
Arcterus
fce8606697 Merge pull request #195 from ebfe/multicall
Add a multicall binary
2014-05-29 00:03:12 -07:00
Michael Gehring
1bac39d509 silence dead code warnings in multicall build 2014-05-29 08:58:06 +02:00
Michael Gehring
d7d79556a8 head: unwrap IoResult before printing 2014-05-28 14:47:46 +02:00
Michael Gehring
13f01e4c11 add uutils multicall binary 2014-05-28 14:22:52 +02:00
Michael Gehring
1bf7569084 StrBuf was renamed to String 2014-05-25 11:20: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
Arcterus
4e8703e04f Fix everything but md5sum (blocked on rust-crypto) for latest Rust 2014-04-25 22:03:08 -07: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
1dc2cd3a0f Fix master by comparing against slices, not ~ 2014-03-13 16:12:28 -07:00
Alan Andrade
e90393f885 Unix/BSD head implementation 2014-02-16 19:50:02 -08:00