zsh-workers
 help / color / mirror / code / Atom feed
From: Stephane Chazelas <stephane.chazelas@gmail.com>
To: zsh-workers@zsh.org
Subject: [bug] "zmodload -F zsh/system -p:errnos" disables $sysparams instead of $errnos
Date: Wed, 7 Sep 2016 10:39:18 +0100	[thread overview]
Message-ID: <20160907093918.GB11851@chaz.gmail.com> (raw)

/not/ related to the other $errnos issue I just raised,
on Debian amd64 with the git head like for the 5.2 installed
there:

$ zmodload zsh/system
$ zmodload -Fl zsh/system
+b:syserror
+b:sysread
+b:syswrite
+b:sysopen
+b:sysseek
+b:zsystem
+f:systell
+p:errnos
+p:sysparams
$ zmodload -F zsh/system -p:errnos
$ zmodload -Fl zsh/system
+b:syserror
+b:sysread
+b:syswrite
+b:sysopen
+b:sysseek
+b:zsystem
+f:systell
+p:errnos      !!!
-p:sysparams   !!!
$ echo $+errnos $+sysparams
1 0

That could be a regression as it worked OK with 4.3.12-dev-1-cvs
on Ubuntu 12.04.

After fixing the other issue (using gcc -E -P), this issue
remains.

-- 
Stephane


             reply	other threads:[~2016-09-07  9:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-07  9:39 Stephane Chazelas [this message]
2016-09-07 10:35 ` Peter Stephenson
2016-09-07 13:39   ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160907093918.GB11851@chaz.gmail.com \
    --to=stephane.chazelas@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).