This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don’t treat setpgrp($nonzero) as setpgrp(1)
authorFather Chrysostomos <sprout@cpan.org>
Tue, 11 Nov 2014 02:22:43 +0000 (18:22 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 11 Nov 2014 02:22:43 +0000 (18:22 -0800)
commitbae8cfc6926f9b04d8adac6a9ee6d563cc18263f
tree6ca3581583a8e5eabf6318c844ba2f3bfba9cb9a
parentf9e95907d516e72aa3d1664d0723718e812957e6
Don’t treat setpgrp($nonzero) as setpgrp(1)

This was broken inadvertently by 92f2ac5f (5.15.3).

I really have no idea how to test this.  I only confirmed the bug and
its fix via a temporary warn statement in pp_setpgrp (obviously not
included in this commit).
pp_sys.c