zsh-workers
 help / color / mirror / code / Atom feed
* getarg() called twice?
@ 2015-12-06 10:59 Sebastian Gniazdowski
  2015-12-06 23:19 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Gniazdowski @ 2015-12-06 10:59 UTC (permalink / raw)
  To: Zsh hackers list

[-- Attachment #1: Type: text/plain, Size: 121 bytes --]

Hello,
I attach animated gif that shows getarg() being called twice with no reason


Best regards,
Sebastian Gniazdowski

[-- Attachment #2: twice.gif --]
[-- Type: image/gif, Size: 1144156 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: getarg() called twice?
  2015-12-06 10:59 getarg() called twice? Sebastian Gniazdowski
@ 2015-12-06 23:19 ` Bart Schaefer
  2015-12-07  5:00   ` Sebastian Gniazdowski
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2015-12-06 23:19 UTC (permalink / raw)
  To: Zsh hackers list

On Dec 6, 11:59am, Sebastian Gniazdowski wrote:
} 
} I attach animated gif that shows getarg() being called twice with no reason

So (>) is the new subscript flag you added.  I have tried an example
similar to yours (can't try an identical one because I can't cut and
paste from an animated gif) with several of the existing subscript
flags, and I can't get GDB to hit a breakpoint in getarg() more than
one time per expansion within "zsh -f".

I suspect therefore that this is either a side-effect of your new code,
or it's a side-effect of something in your shell environment (precmd,
preexec, etc.)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: getarg() called twice?
  2015-12-06 23:19 ` Bart Schaefer
@ 2015-12-07  5:00   ` Sebastian Gniazdowski
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Gniazdowski @ 2015-12-07  5:00 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: Zsh hackers list

On 7 December 2015 at 00:19, Bart Schaefer <schaefer@brasslantern.com> wrote:
> I suspect therefore that this is either a side-effect of your new code,
> or it's a side-effect of something in your shell environment (precmd,
> preexec, etc.)

It was preexec. Sorry for bothering you.

Best regards,
Sebastian Gniazdowski


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-07  5:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-06 10:59 getarg() called twice? Sebastian Gniazdowski
2015-12-06 23:19 ` Bart Schaefer
2015-12-07  5:00   ` Sebastian Gniazdowski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).