This commit is contained in:
Jeremy Soller
2018-07-13 09:53:44 -06:00
parent 4c4ce80fcd
commit dc443a8cc3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
use super::constants::*;
use super::{BUFSIZ, FILE, UNGET};
use core::sync::atomic::AtomicBool;
use core::mem;
use core::sync::atomic::AtomicBool;
use errno;
use fcntl::*;
use platform;
+1 -1
View File
@@ -800,7 +800,7 @@ pub unsafe extern "C" fn system(command: *const c_char) -> c_int {
"sh\0".as_ptr(),
"-c\0".as_ptr(),
command_nonnull,
ptr::null()
ptr::null(),
];
unistd::execv(shell as *const c_char, args.as_ptr() as *const *mut c_char);