blob: 80249ad8c462b96b9ee7fe097b62f483e9510506 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aa,v 1.1 2010/03/02 21:48:55 jkunz Exp $
--- 3rdparty/qserialiodevice.cpp.orig 2009-03-15 14:46:11.000000000 +0100
+++ 3rdparty/qserialiodevice.cpp
@@ -464,7 +464,7 @@ void QPseudoTtyProcess::setupChildProces
//we have to change pppd's process group because pppd terminates its process group
//when receiving SIGTERM while it is running the chat script
- int ret = ::setpgrp();
+ int ret = ::setpgid( 0, 0);
if ( ret < 0 )
perror("change process grp");
#endif
|