kwantam
664f7d474e
update chroot (not quite working yet)
2015-04-26 16:12:19 -04:00
kwantam
ecf248c5e3
fix build infrastructure ; modernize library use
...
This patch begins the work of modernizing uutils to work with 1.0-ish
Rust. In particular, it
1. Updates to the latest submodules.
2. Convert mkmain.rs, mkuutils.rs, and src/uutils/uutils.rs
to new slice syntax and use of new io, fs, and path APIs.
3. Convert src/common/util.rs to new io, fs, and path APIs.
4. Convert fmt to use new APIs.
2015-04-18 19:55:32 -04:00
Michael Gehring
a5547507af
c_str_to_bytes -> CStr::from_ptr
2015-02-22 13:59:57 +01:00
Michael Gehring
eb6594cc91
CString::from_slice -> CString::new
2015-02-22 13:59:57 +01:00
Michael Gehring
26568d2021
Update to the new integer suffixes
2015-02-22 13:59:57 +01:00
Michael Gehring
80f9ef08d2
various integer type changes
2015-02-22 10:27:16 +01:00
Michael Gehring
09b1162912
CString::as_slice_with_nul -> CString::as_bytes_with_nul
2015-02-22 10:06:26 +01:00
Michael Gehring
d89d9ca73b
Various functions in std::str return Result instead of Option now
2015-02-03 22:32:30 +01:00
Michael Gehring
d187dc574b
std::io -> std::old_io
2015-01-29 08:45:37 +01:00
Michael Gehring
fbdf04c072
Replace deprecated slice_{to,from} with slicing syntax
2015-01-24 10:46:28 +01:00
Michael Gehring
782fad4667
int/uint -> isize/usize
2015-01-10 20:40:37 +01:00
Arcterus
a12fd89cb2
chmod, chroot, comm: fix build
2015-01-09 16:51:51 -08:00
Arcterus
4e0360c495
base64, cat: fix build for Rust alpha
2015-01-09 16:16:05 -08:00
Michael Gehring
0a757b957f
Partially fixed build with rust master
...
String::from_raw_buf removal
Deprecated closure syntax
cmp::Ord -> cmp::Ordering
Vec::from_{elem,fn} removal
rand::TaskRng -> rand::ThreadRng
PtrExt::is_not_null removal
to_c_str removal
2015-01-09 09:41:49 +01:00
Michael Gehring
7d8053561e
Use new array syntax
2015-01-08 14:50:03 +01:00
Michael Gehring
1b381f49fa
Use new macro feature flags/attributes
2015-01-08 14:50:02 +01:00
Stephan Jaensch
605c107258
Fix deprecation warnings with latest rust nightly
...
- from_str() -> parse()
- into_string() -> to_owned()
2015-01-01 12:14:28 +01:00
Haitao Li
9b67c372b2
Add semicolons to item macros
2014-12-22 10:54:29 +11:00
Michael Gehring
842cc8b14c
Fix build with rust master
2014-12-11 07:51:37 +01:00
Arcterus
31111ac199
Fix most deprecation warnings and remove hacky nohup code
2014-11-28 14:49:22 -08:00
Arcterus
d50d4f54b9
Fix build as well as most deprecation warnings
2014-11-22 13:00:42 -08:00
Michael Gehring
2027a7a981
fix *write*! macro args
2014-11-22 07:30:18 +01:00
Michael Gehring
cb4b5bce29
Remove now invalid format specifiers
2014-11-22 07:30:18 +01:00
skv
737db500a3
update from string for new api
2014-11-17 17:56:00 +03:00
Michael Gehring
f3fc1b72ff
os::errno returns uint now
2014-11-09 16:30:01 +01:00
Michael Gehring
3244416b19
fail! -> panic!
2014-10-30 10:06:47 +01:00
Michael Gehring
e482abb630
static -> const
2014-10-10 18:36:35 +02:00
Michael Gehring
7eefe7003b
Update to the new cfg syntax
2014-10-02 19:55:06 +02:00
Michael Gehring
78c6d0b383
FreeBSD support
2014-09-23 15:40:31 +02:00
Michael Gehring
2ef74e2783
Update for rust RFC 52 changes
2014-09-17 17:16:21 +02:00
Michael Gehring
83974be06f
Add repr(C) to c structs
2014-08-22 12:21:30 +02:00
Arcterus
7e00000098
common/util: make pipe_writeln! use writeln! instead of write!
2014-08-04 20:17:10 -07:00
Michael Gehring
ac77c6da17
Fix deprecation warnings
2014-07-29 08:52:58 +02:00
Arcterus
e80af55700
Fix more bugs to pass Busybox tests
2014-07-24 22:20:03 -07:00
Arcterus
a38ee8a007
Implement timeout ( resolves #364 )
2014-07-21 18:55:52 -07:00
Arcterus
b7f4bd01bc
Move all of the utils into src
2014-07-20 20:20:55 -07:00