zsh-workers
 help / color / mirror / code / Atom feed
* typeset -F3 SECONDS doesn't work the first time
@ 2012-06-26 16:26 Mikael Magnusson
  2012-06-27 17:50 ` Bart Schaefer
  0 siblings, 1 reply; 8+ messages in thread
From: Mikael Magnusson @ 2012-06-26 16:26 UTC (permalink / raw)
  To: zsh workers

I think the code in typeset_single() near
  if (!readonly && !strcmp(pname, "SECONDS"))
is to blame, it does something magic if you're changing the type of
$SECONDS and then returns without checking any other options given to
typeset. I tried removing the return pm; and setting err=0; but that
segfaults.

-- 
Mikael Magnusson


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

end of thread, other threads:[~2012-06-28 22:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-26 16:26 typeset -F3 SECONDS doesn't work the first time Mikael Magnusson
2012-06-27 17:50 ` Bart Schaefer
2012-06-27 17:58   ` Mikael Magnusson
2012-06-28 16:54     ` Bart Schaefer
2012-06-28 17:04       ` Mikael Magnusson
2012-06-28 18:06         ` Bart Schaefer
2012-06-28 18:11           ` Mikael Magnusson
2012-06-28 22:00             ` Bart Schaefer

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).