zsh-workers
 help / color / mirror / code / Atom feed
From: George <tetsujin@scope-eye.net>
To: Sebastian Gniazdowski <psprint@zdharma.org>, zsh-workers@zsh.org
Subject: Re: Building a new ZSH module outside the ZSH source tree
Date: Fri, 26 May 2017 01:54:15 -0400	[thread overview]
Message-ID: <1495778055.3340.207.camel@scope-eye.net> (raw)
In-Reply-To: <etPan.5926d563.515f007c.1a9@MacMini.local>

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

On Thu, 2017-05-25 at 15:00 +0200, Sebastian Gniazdowski wrote:
> > 
> > One thing: from Zsh 5.2 there was introduced addmodulefd() call. Created file descriptors should be registered with it. So module will need
> > #ifdefs disabling this call to properly load on zsh-5.0.8 or similar. I think what the addmodulefd() does isn't actually or fully used within
> > shell, the fd-management still actually relies on dup, dup2 knowing which FDs are taken and which are free. Am I right, could someone clarify?
> > 
> > 
Interesting. Thanks for the heads up, my familiarity with the zsh codebase is pretty limited at this point, but handling FDs (and correctly) will be
important for what I have in mind, so this is useful information, and a detail I could have easily overlooked.##SELECTION_END##

      reply	other threads:[~2017-05-26  5:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-24 18:57 tetsujin
2017-05-24 21:19 ` Bart Schaefer
2017-05-24 22:41   ` tetsujin
2017-05-25 13:00     ` Sebastian Gniazdowski
2017-05-26  5:54       ` George [this message]

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=1495778055.3340.207.camel@scope-eye.net \
    --to=tetsujin@scope-eye.net \
    --cc=psprint@zdharma.org \
    --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).