Verified Commit b2af7792 authored by 4lDO2's avatar 4lDO2 🖖
Browse files

Update syscall and other dependencies.

parent 8a49149d
Pipeline #9410 passed with stage
in 1 minute and 36 seconds
This diff is collapsed.
......@@ -11,10 +11,10 @@ version = "0.1.0"
failure = "0.1.1"
orbclient = "0.3.30"
orbfont = "0.1"
redox_syscall = "0.2.1"
serde = "0.9"
serde_derive = "0.9"
toml = "0.3"
redox_syscall = "0.2.9"
serde = "1"
serde_derive = "1"
toml = "0.5"
[dependencies.orbital-core]
path = "orbital-core"
......@@ -349,8 +349,7 @@ pub struct OrbitalHandler<H: Handler> {
handler: H
}
impl<H: Handler> SchemeMut for OrbitalHandler<H> {
fn open(&mut self, path: &[u8], _: usize, _: u32, _: u32) -> syscall::Result<usize> {
let path = str::from_utf8(path).or(Err(syscall::Error::new(EINVAL)))?;
fn open(&mut self, path: &str, _: usize, _: u32, _: u32) -> syscall::Result<usize> {
let mut parts = path.split("/");
let flags = parts.next().unwrap_or("");
......
//#![deny(warnings)]
#![feature(const_fn)]
extern crate orbital_core;
......
Supports Markdown
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