Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
uucp
wait-for-correct-parent.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wait-for-correct-parent.patch of Package uucp
Description: wait for correct parent to die Author: Jörg Sommer <joerg@jo-so.de> Index: uucp-1.07/unix/detach.c =================================================================== --- unix/detach.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) --- unix/detach.c +++ unix/detach.c 2019-03-02 15:37:21.850946777 +0000 @@ -98,10 +98,8 @@ usysdep_detach () if (ipid != 0) _exit (EXIT_SUCCESS); - /* We'll always wind up as a child of process number 1, right? - Right? We have to wait for our parent to die before - reenabling SIGHUP. */ - while (getppid () != 1) + /* We have to wait for our parent to die before reenabling SIGHUP. */ + while (getppid () == igrp) sleep (1); ipid = getpid ();
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