Remove va_list submodule, format

This commit is contained in:
Jeremy Soller
2019-04-21 15:45:55 -06:00
parent b2cc25dd38
commit 7bde036031
27 changed files with 270 additions and 222 deletions
+3 -6
View File
@@ -195,8 +195,8 @@ pub unsafe extern "C" fn calloc(nelem: size_t, elsize: size_t) -> *mut c_void {
intrinsics::write_bytes(ptr as *mut u8, 0, size);
}
ptr
},
None => core::ptr::null_mut()
}
None => core::ptr::null_mut(),
}
}
@@ -632,10 +632,7 @@ pub unsafe extern "C" fn realpath(pathname: *const c_char, resolved: *mut c_char
};
let len = out.len();
let read = Sys::fpath(
*file,
&mut out[..len - 1],
);
let read = Sys::fpath(*file, &mut out[..len - 1]);
if read < 0 {
return ptr::null_mut();
}