termux-packages/packages/gdb/gdbsupport-job-control.cc.p...

13 lines
568 B
Diff
Raw Permalink Normal View History

diff -u -r ../gdb-10.1/gdbsupport/job-control.cc ./gdbsupport/job-control.cc
--- ../gdb-10.1/gdbsupport/job-control.cc 2021-03-16 13:34:33.387547455 +0530
+++ ./gdbsupport/job-control.cc 2021-03-16 13:34:43.315547451 +0530
2020-02-15 23:58:09 +01:00
@@ -48,7 +48,7 @@
/* The call setpgid (0, 0) is supposed to work and mean the same
thing as this, but on Ultrix 4.2A it fails with EPERM (and
setpgid (getpid (), getpid ()) succeeds). */
- retval = setpgid (getpid (), getpid ());
+ retval = setpgid (0, 0);
#else
#ifdef HAVE_SETPGRP
#ifdef SETPGRP_VOID