Commit graph

13 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
b3c9fd891e Add type suffixes where necessary 2014-06-25 13:12:43 +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
04fb170c2c Restore error recovery behavior in rm, rmdir, etc.
These tools continue on error. This patch uses `Result` and the
`and` method to collect `Err` values.
2014-06-11 21:48:38 -07:00
Brian Anderson
4731928558 Fix typo 2014-06-11 21:48:38 -07:00
Brian Anderson
8fbfe24176 Make show_error! not set the exit code. #211 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
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
d4cb1d0185 add cksum 2014-05-16 23:03:13 +02:00