* [gentoo-commits] gentoo-x86 commit in app-shells/bash/files: bash-4.3-lastpipe-nested-pipe-segfault.patch
@ 2014-07-08 8:54 Lars Wendler (polynomial-c)
0 siblings, 0 replies; only message in thread
From: Lars Wendler (polynomial-c) @ 2014-07-08 8:54 UTC (permalink / raw
To: gentoo-commits
polynomial-c 14/07/08 08:54:50
Added: bash-4.3-lastpipe-nested-pipe-segfault.patch
Log:
Revbump to fix a segfault in lastpipe mode. Removed old
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Revision Changes Path
1.1 app-shells/bash/files/bash-4.3-lastpipe-nested-pipe-segfault.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.3-lastpipe-nested-pipe-segfault.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.3-lastpipe-nested-pipe-segfault.patch?rev=1.1&content-type=text/plain
Index: bash-4.3-lastpipe-nested-pipe-segfault.patch
===================================================================
*** ../bash-4.3-patched/execute_cmd.c 2014-01-31 10:54:52.000000000 -0500
--- execute_cmd.c 2014-06-19 08:05:49.000000000 -0400
***************
*** 2410,2414 ****
lstdin = wait_for (lastpid);
#if defined (JOB_CONTROL)
! exec_result = job_exit_status (lastpipe_jid);
#endif
unfreeze_jobs_list ();
--- 2425,2438 ----
lstdin = wait_for (lastpid);
#if defined (JOB_CONTROL)
! /* If wait_for removes the job from the jobs table, use result of last
! command as pipeline's exit status as usual. The jobs list can get
! frozen and unfrozen at inconvenient times if there are multiple pipelines
! running simultaneously. */
! if (INVALID_JOB (lastpipe_jid) == 0)
! exec_result = job_exit_status (lastpipe_jid);
! else if (pipefail_opt)
! exec_result = exec_result | lstdin; /* XXX */
! /* otherwise we use exec_result */
!
#endif
unfreeze_jobs_list ();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-08 8:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-08 8:54 [gentoo-commits] gentoo-x86 commit in app-shells/bash/files: bash-4.3-lastpipe-nested-pipe-segfault.patch Lars Wendler (polynomial-c)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox