Commit graph

34 commits

Author SHA1 Message Date
Arcterus
bc6cd77132 Update for lastest Rust 2014-07-19 18:13:55 -07:00
Michael Gehring
a0b3b710c2 Update for crate_id related changes 2014-07-06 12:34:50 +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
d24327b243 whoami: use libc::uid_t where appropriate 2014-06-16 22:24:09 +02:00
Arcterus
723212bd8c whoami: change GetUserName to GetUserNameA 2014-06-15 14:42:58 -07:00
Arcterus
3c2ae890c1 whoami: fix for Windows 2014-06-15 13:37:58 -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
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
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
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
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
de21ff4c2f Move util.rs to common 2014-02-23 22:50:34 -08:00
Arcterus
b608664135 Update for latest Rust 2014-02-23 13:31:51 -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
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
KokaKiwi
96346761ab Fix build. 2013-11-28 00:14:19 +01:00
Jordi Boggiano
25297ec2b3 std::rt::io -> std::io 2013-11-13 12:17:41 +01:00
Huon Wilson
c4fab4cf67 Update main utils for language changes. 2013-11-11 21:03:55 +11:00
Jordi Boggiano
61a232eb0a Simplify opt checks 2013-10-22 14:22:10 +02:00
KokaKiwi
1c454e8b0b Add whoami implementation. 2013-10-18 14:00:38 +02:00