# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/expect/setpgid.patch # Copyright (C) 2004 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- diff -urN expect-5.43.orig/exp_command.c expect-5.43/exp_command.c --- expect-5.43.orig/exp_command.c 2004-08-20 19:18:01.000000000 +0200 +++ expect-5.43/exp_command.c 2005-08-19 13:12:09.512460250 +0200 @@ -526,7 +526,7 @@ #ifdef SETPGRP_VOID (void) setpgrp(); #else - (void) setpgrp(0,0); + (void) setpgid(0,0); #endif }