mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Removed unused commented out code and fixed some indentation
This commit is contained in:
parent
5e371e8fe7
commit
8c24d49c73
2 changed files with 5 additions and 6 deletions
|
@ -386,7 +386,6 @@ bool fork_actions_make_spawn_properties(posix_spawnattr_t *attr, posix_spawn_fil
|
|||
// means that the process becomes its own
|
||||
// group leader, which is what set_child_group did
|
||||
// in this case. So we want this to be 0 if j->pgid is 0.
|
||||
//if (!j->pgid) j->pgid = getpid();
|
||||
desired_parent_group_id = j->pgid;
|
||||
}
|
||||
|
||||
|
|
10
proc.cpp
10
proc.cpp
|
@ -1168,11 +1168,11 @@ void job_continue (job_t *j, int cont)
|
|||
if( job_is_completed( j ))
|
||||
{
|
||||
|
||||
// It's possible that the job will produce output and exit before we've even read from it.
|
||||
// We'll eventually read the output, but it may be after we've executed subsequent calls
|
||||
// This is why my prompt colors kept getting screwed up - the builtin echo calls
|
||||
// were sometimes having their output combined with the set_color calls in the wrong order!
|
||||
read_try(j);
|
||||
// It's possible that the job will produce output and exit before we've even read from it.
|
||||
// We'll eventually read the output, but it may be after we've executed subsequent calls
|
||||
// This is why my prompt colors kept getting screwed up - the builtin echo calls
|
||||
// were sometimes having their output combined with the set_color calls in the wrong order!
|
||||
read_try(j);
|
||||
|
||||
|
||||
process_t *p = j->first_process;
|
||||
|
|
Loading…
Reference in a new issue