Commit graph

43 commits

Author SHA1 Message Date
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
Brian Anderson
2bf64159e0 Update to nightly 2014-06-02 14:07:53 -07:00
Julian Orth
6e518f5cf9 Improve cat performance 2014-05-29 19:48:03 +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
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
Michael Gehring
4b9c8279ce os::args returns Vec<~str> now 2014-05-16 11:17:23 +02:00
Michael Gehring
7a06ae081d Update to box/Box<T> syntax. 2014-05-09 03:04:58 +02:00
Arcterus
366c388d3f Update for latest Rust 2014-05-06 23:25:49 -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
Dawid Ciężarkiewicz
a93023372c Use .unwrap() and &byte for cleaner code.
(cherry picked from commit 0a91290d91)
2014-03-19 11:40:52 -07:00
Dawid Ciężarkiewicz
893ab7c761 Increase buffers for boost in performance.
(cherry picked from commit 4b702bc952)
2014-03-19 11:40:46 -07:00
Dawid Ciężarkiewicz
a42bdea8ac Use Buffered input/output where it makes sense.
(cherry picked from commit c084bb1568)
2014-03-19 11:40:42 -07:00
Dawid Ciężarkiewicz
3ab1865177 Use raw stdin/stdio.
Buffered one is expensive and serves no purpose.

(cherry picked from commit ace707d504)
2014-03-19 11:40:37 -07:00
Dawid Ciężarkiewicz
fb8e502980 Add vim formatting comment.
Because otherwise, I can't do any work. ;)

(cherry picked from commit 05d026d0d0)
2014-03-19 11:40:32 -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
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
efae9b621f update cat for current Rust syntax with ugly errors handling 2014-02-05 08:46:44 +04:00
Arcterus
496a28a301 Merge pull request #55 from juszczakn/master
Implemented mkdir
2014-02-04 08:05:16 -08:00
Heather
ee56d7b196 update code for Rust print syntax changes 2014-01-13 13:05:02 +04:00
Nick Juszczak
fc1da5a691 remove cat warning, update makefile 2014-01-03 17:32:39 -06:00
Heather
518477b1f5 link -> crate_id, link is deprecated 2013-12-26 14:49:31 +04:00
Heather
2aa7e552f7 init -> new (reverted in rust)
from_utf8_slice -> from_utf8
2013-12-06 09:31:49 +04:00
KokaKiwi
8fd1d5a336 Fix build with latest Rust compiler. 2013-12-01 02:47:28 +01: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
a910b54e4a Add managed boxes feature to fix the build on latest master 2013-10-24 15:24:55 +02:00
Jordi Boggiano
13fd72e1f2 Add tests for cat and fix a couple issues 2013-10-22 15:31:51 +02:00
Jordi Boggiano
61a232eb0a Simplify opt checks 2013-10-22 14:22:10 +02:00
Jordi Boggiano
cdc435f008 Update to use the new format! macro 2013-10-19 16:02:38 +02:00
KokaKiwi
287eabd4f7 Use new Path "constructor" 2013-10-18 14:16:00 +02:00
Léo Testard
3e4c1023c4 Fix compilation for Rust master branch (0.9-pre) 2013-10-18 13:47:59 +02:00
Jordi Boggiano
b805ed4961 Use bytes! and cfg! to improve readability a bit 2013-08-05 03:13:42 +02:00
Jordi Boggiano
ec5147e990 Add cat implementation 2013-08-05 01:54:10 +02:00