Commit graph

29 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
Arcterus
662b0d656f id: remove warning about unused import 2014-06-18 20:23:01 -07:00
Arcterus
cf2d7a3bb7 Fix id and groups for Macs. Also make every util depend on common 2014-06-17 20:47:29 -07:00
Michael Gehring
48892c5063 id: fix typo 2014-06-17 14:48:37 +02:00
Michael Gehring
aa5293ecfa id: remove dead code/unused imports 2014-06-17 14:47:40 +02:00
Michael Gehring
e0d9347182 id: remove unnecessary coercion 2014-06-17 14:46:02 +02:00
Michael Gehring
2b2bdc89ff id: rework id_print()
Fixes #239
2014-06-17 14:45:10 +02:00
Michael Gehring
65c224fbf8 id: remove unused arg 2014-06-17 14:30:18 +02:00
Arcterus
9f0970257c id: fix on Macs 2014-06-16 14:53:33 -07:00
Michael Gehring
68c42a6a39 id: use libc::{uid_t,gid_t} where appropriate 2014-06-16 22:24:09 +02:00
Michael Gehring
1b8307e9d9 id: linux specific pline() 2014-06-15 20:18:30 +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
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
Arcterus
17f1c4b8e8 id: remove deprecation warning 2014-05-27 21:11:49 -07: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
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
Alan Andrade
10d7a0cc9c Fix master by using Vec and adjusting 2014-03-22 02:17:27 -07:00
Alan Andrade
8127d8b43d id and groups share functions 2014-02-25 23:42:37 -08:00
Alan Andrade
b6018f38e8 whoami and id use c_types 2014-02-23 22:51:29 -08:00
Alan Andrade
2420c38b7e Groom id/id.rs to work with util.rs 2014-02-23 22:51:29 -08:00
Arcterus
b608664135 Update for latest Rust 2014-02-23 13:31:51 -08:00
Arcterus
63f6c9719b Fix du, which closes #46, and id when not compiling on Linux 2014-02-18 17:12:24 -08:00
Arcterus
47ddd7d4f2 Update for latest Rust and fixed up id for Linux 2014-02-16 13:29:31 -08:00
Alan Andrade
accdd37aeb Show all groups
-A option
Finally made work Gn and full
Add P function
Add pretty option
Added g option
Finish
2014-02-16 12:00:04 -08:00