* src/sysdep.c (narrow_foreground_group): Don't abort if inherited_pgroup
is zero.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-306
int me = getpid ();
setpgrp (0, inherited_pgroup);
+#if 0
+ /* XXX inherited_pgroup should not be zero here, but GTK seems to
+ mess this up. */
if (! inherited_pgroup)
abort (); /* Should not happen. */
+#endif
if (inherited_pgroup != me)
EMACS_SET_TTY_PGRP (fd, &me); /* XXX This only works on the controlling tty. */
setpgrp (0, me);