Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
dash
dash-0.5.7-do-not-close-stderr.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dash-0.5.7-do-not-close-stderr.patch of Package dash
diff -urNp dash-0.5.7.orig/src/jobs.c dash-0.5.7/src/jobs.c --- dash-0.5.7.orig/src/jobs.c 2011-03-15 08:45:32.000000000 +0100 +++ dash-0.5.7/src/jobs.c 2011-10-06 18:57:38.000000000 +0200 @@ -198,6 +198,9 @@ setjobctl(int on) while (!isatty(fd)) if (--fd < 0) goto out; + fd = dup(fd); + if (fd < 0) + goto out; } fd = savefd(fd, ofd); do { /* while we are in the background */
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