Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zsh bugfixes released by RedHat

2014-11-06 16:56 GMT+01:00 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>:
> https://rhn.redhat.com/errata/RHBA-2014-1806.html
> Anybody know if these are new patches invented by RedHat,
> or something they selectively picked up from our git?
> I don't immediately recognize the descriptions in the errata.

The syntax fix is a combination of commit
8879c46a4897a0e347455334fc6b6732c203a220 and commit
9a044f1a6ad4ecfdfeff2f89e1685a1d622cb029, both in git.

The malloc workaround is attached and *not* in git. Its name suggests
it's only a workaround, maybe the reason no patch was sent upstream?

Best regards,

--- zsh-4.3.10/Src/exec.c.open  2009-03-16 23:57:07.000000000 +0530
+++ zsh-4.3.10/Src/exec.c       2014-04-09 19:41:25.829453955 +0530
@@ -4080,7 +4080,9 @@ execshfunc(Shfunc shf, LinkList args)
        sfcontext = SFC_DIRECT;
     doshfunc(shf, args, 0);
     sfcontext = osfc;
+    queue_signals();
+    unqueue_signals(); 
     cmdstack = ocs;
     cmdsp = ocsp;

Messages sorted by: Reverse Date, Date, Thread, Author