Arcterus
bc6cd77132
Update for lastest Rust
2014-07-19 18:13:55 -07:00
Michael Gehring
d7b2372c3a
ToStr::to_str -> ToString::to_string
2014-07-09 10:29:50 +02:00
Michael Gehring
a0b3b710c2
Update for crate_id related changes
2014-07-06 12:34:50 +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
3c2831835e
Remove use of bytes!()
2014-06-20 15:15:51 +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
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
Brian Anderson
2bf64159e0
Update to nightly
2014-06-02 14:07:53 -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
9b3bfed359
to_{strbuf,owned} -> to_string
2014-05-28 08:33:39 +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
Heather
0d76dda994
Merge pull request #186 from ebfe/strbuf-string
...
StrBuf was renamed to String
2014-05-25 02:41:14 -07:00
Michael Gehring
7dd26a1f52
Fix deprecation warnings
2014-05-25 11:35:21 +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
Arcterus
d6c15a7f0c
Merge pull request #173 from ebfe/fix-make-test
...
Update tests to use std::process:Command
2014-05-17 09:09:11 -07:00
Michael Gehring
25926bab67
Update tests to use std::process:Command
2014-05-17 15:52:51 +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
366c388d3f
Update for latest Rust
2014-05-06 23:25:49 -07: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
Arcterus
df9a296100
Implement md5sum ( closes #47 )
2014-03-24 16:53:35 -07:00
Alan Andrade
10d7a0cc9c
Fix master by using Vec and adjusting
2014-03-22 02:17:27 -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
Arcterus
8cf617d08f
Fix for latest Rust
2014-02-26 19:35:50 -08: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
44b66c5b32
truncate: get file size using file stat
2014-02-07 19:05:53 -08:00
Arcterus
74df4d5a98
Fix programs for latest Rust and begin usage of new utility macros
2014-02-06 22:39:07 -08:00
Arcterus
9197373843
Update for latest Rust
2014-02-05 20:19:33 -08:00
Arcterus
810936ac42
truncate: added simple tests
2014-02-05 20:19:33 -08:00
Arcterus
9877f5de19
Changed truncate to use multi-line println!
2014-02-05 20:19:08 -08:00
Arcterus
2001c5c5ee
Properly support --no-create for truncate
2014-02-05 20:19:07 -08:00
Arcterus
4a7778caf1
Handle lowercase letters
2014-02-05 20:19:07 -08:00
Arcterus
968483bdf6
Added truncate
2014-02-05 20:19:07 -08:00