Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
shells
ksh
ksh93-foreground-prgrp.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ksh93-foreground-prgrp.dif of Package ksh
--- src/cmd/ksh93/sh/jobs.c +++ src/cmd/ksh93/sh/jobs.c 2012-02-08 10:52:14.000000000 +0000 @@ -845,7 +845,9 @@ static void job_reset(register struct pr { /* save the terminal state for current job */ #ifdef SIGTSTP - job_fgrp(pw,tcgetpgrp(job.fd)); + pid_t tgrp; + if((tgrp=tcgetpgrp(job.fd))!=job.mypid) + job_fgrp(pw,tgrp); if(tcsetpgrp(job.fd,job.mypid) !=0) return; #endif /* SIGTSTP */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor