Skip to content

Commit ff6b398

Browse files
committed
Update unix.rs
1 parent 57a631f commit ff6b398

File tree

1 file changed

+0
-2
lines changed
  • library/std/src/sys/process/unix

1 file changed

+0
-2
lines changed

library/std/src/sys/process/unix/unix.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ impl Command {
8989
// The child calls `mem::forget` to leak the lock, which is crucial because
9090
// releasing a lock is not async-signal-safe.
9191
let env_lock = sys::env::env_read_lock();
92-
9392
let pid = unsafe { self.do_fork()? };
9493

9594
if pid == 0 {
@@ -860,7 +859,6 @@ impl Command {
860859
// Safety: -1 indicates we don't have a pidfd.
861860
let mut p = Process::new(0, -1);
862861

863-
// FIXME: if a list of paths to search is passed then retry for every path.
864862
let spawn_res = spawn_fn(
865863
&mut p.pid,
866864
self.get_program_cstr().as_ptr(),

0 commit comments

Comments
 (0)