Commit 58bd5fd8 authored by Jeremy Soller's avatar Jeremy Soller

Update Cargo.lock, fix build issues

parent 2070f541
[[package]]
name = "byteorder"
version = "1.1.0"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "compiler_builtins"
version = "0.1.0"
source = "git+https://github.com/rust-lang-nursery/compiler-builtins#60d949ba1d10bf9d3dd940c3307d82d6f2d33c8b"
source = "git+https://github.com/rust-lang-nursery/compiler-builtins#0ba07e49264a54cb5bbd4856fcea083bb3fbec15"
[[package]]
name = "libc"
......@@ -17,16 +17,16 @@ source = "git+https://github.com/redox-os/liblibc#d18565cf6fbfedaa12b7d0046f50e7
name = "newlib_redox"
version = "0.1.0"
dependencies = [
"byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"compiler_builtins 0.1.0 (git+https://github.com/rust-lang-nursery/compiler-builtins)",
"libc 0.2.30 (git+https://github.com/redox-os/liblibc)",
"redox_syscall 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)",
"redox_syscall 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
"redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "redox_syscall"
version = "0.1.31"
version = "0.1.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
......@@ -34,12 +34,12 @@ name = "redox_termios"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"redox_syscall 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)",
"redox_syscall 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
]
[metadata]
"checksum byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ff81738b726f5d099632ceaffe7fb65b90212e8dce59d518729e7e8634032d3d"
"checksum byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "652805b7e73fada9d85e9a6682a4abd490cb52d96aeecc12e33a0de34dfd0d23"
"checksum compiler_builtins 0.1.0 (git+https://github.com/rust-lang-nursery/compiler-builtins)" = "<none>"
"checksum libc 0.2.30 (git+https://github.com/redox-os/liblibc)" = "<none>"
"checksum redox_syscall 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)" = "8dde11f18c108289bef24469638a04dce49da56084f2d50618b226e47eb04509"
"checksum redox_syscall 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "ab105df655884ede59d45b7070c8a65002d921461ee813a024558ca16030eea0"
"checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76"
use core::slice;
use libc::{c_int, c_uint};
use syscall;
use syscall::error::{Error, EINVAL};
use types::{fd_set, pollfd, timeval, FD_SETSIZE, POLLIN, POLLOUT, NFDBITS};
......
......@@ -168,7 +168,7 @@ libc_fn!(unsafe setregid(rgid: gid_t, egid: gid_t) -> Result<c_int> {
});
libc_fn!(unsafe setegid(egid: gid_t) -> Result<c_int> {
Ok(syscall::setregid(-1 as usize, egid as usize)? as c_int)
Ok(syscall::setregid(-1isize as usize, egid as usize)? as c_int)
});
libc_fn!(unsafe setgid(gid: gid_t) -> Result<c_int> {
......@@ -180,7 +180,7 @@ libc_fn!(unsafe setreuid(ruid: uid_t, euid: uid_t) -> Result<c_int> {
});
libc_fn!(unsafe seteuid(euid: uid_t) -> Result<c_int> {
Ok(syscall::setreuid(-1 as usize, euid as usize)? as c_int)
Ok(syscall::setreuid(-1isize as usize, euid as usize)? as c_int)
});
libc_fn!(unsafe setuid(uid: uid_t) -> Result<c_int> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment