Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bad optimisations: (Was: Test version zsh-3.1.6-test-1)
- X-seq: zsh-workers 7170
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Bad optimisations: (Was: Test version zsh-3.1.6-test-1)
- Date: Fri, 16 Jul 1999 10:45:19 +0200
- In-reply-to: "Sven Wischnowsky"'s message of "Fri, 16 Jul 1999 11:12:52 DFT." <199907160912.LAA18749@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Sven Wischnowsky wrote:
> Playing some more: both
>
> firstarg = (*args && **args == '?' ? *args++ : *args);
>
> and
>
> if (*args && **args == '?')
> firstarg = *args++;
> else
> firstarg = *args;
>
> work around the bug, too. Should I send a patch for one of these? They
> probably keep the code better readable (although they don't look much
> less silly).
That might look a bit neater. You'd better send it relative to the altered
code, so I don't have to spend all of 30 seconds backing that off.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author