diff options
author | Rory Dudley | 2024-02-28 16:04:20 -0700 |
---|---|---|
committer | Rory Dudley | 2024-02-28 16:04:20 -0700 |
commit | 5890deb68e54838559c5d32c70d65e033e33d682 (patch) | |
tree | d74d786e160951bf89247d335de53cf8c753897c /src/main.rs | |
parent | e94d09da9449cabd7ece2acd98d52b1946a922a4 (diff) | |
download | dwarvish-5890deb68e54838559c5d32c70d65e033e33d682.tar.gz |
Remove zombie slayer code from main repl
Reaping is currently handled by a signal handler, so this code is no
longer necessary.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main.rs b/src/main.rs index b87089a..3cb2a74 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,16 +42,6 @@ fn repl(path: &Vec<&Path>, prompt: &str) { break; } - // Kill zombies - // TODO: Remove this (since it was implemented in incant_quiet()) - // unsafe { - // let mut status = -1; - // let mut pid = waitpid(-1, &mut status, WNOHANG); - // while pid > 0 { - // pid = waitpid(-1, &mut status, WNOHANG); - // } - // } - // Trim the input let poetry = String::from(poetry.trim()); |