mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Removed unused commented out code and fixed some indentation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user