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 ();
