Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
sysvinit
killproc-2.18-open_flags.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File killproc-2.18-open_flags.dif of Package sysvinit
--- startproc.c +++ startproc.c 2014-05-27 12:08:10.498235871 +0000 @@ -624,7 +624,7 @@ static int do_start(const char *inname, char * redirect; if (!(redirect = getenv("REDIRECT"))) redirect = "/dev/tty"; - if ((tty = open(redirect,O_WRONLY|O_NONBLOCK,0)) < 0) + if ((tty = open(redirect,O_RDWR|O_NONBLOCK,0)) < 0) error(LSB_PROOF," cannot open %s: %s\n", redirect, strerror(errno)); dup2(tty, fileno(stdin)); dup2(tty, fileno(stdout));
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