zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <borsenkow.msk@sni.de>
To: "ZSH workers mailing list" <zsh-workers@math.gatech.edu>
Subject: RE: zftp problem (OS dependent)
Date: Thu, 24 Dec 1998 14:10:17 +0300	[thread overview]
Message-ID: <001f01be2f2d$fd08aab0$21c9ca95@mowp.siemens.ru> (raw)
In-Reply-To: <001501be2eaa$13c41c50$21c9ca95@mowp.siemens.ru>



> -----Original Message-----
> From:
> Sent: Wednesday, December 23, 1998 10:26 PM
> To: ZSH workers mailing list
> Subject: zftp problem (OS dependent)
>
>
> I just found a very nice problem here ...
>
> Obviously, my system has a bug, that does not allow zftp open to be called
> second time :-) The problem is related to fcntl(x, F_DUPFD, ...)
> If I remove
> zfmoved(), it works nicely. If zmovefd() is used, the first time I can
> connect; but after that, all connects fail with
>
> "address family is not supported by protocol family"
>
> I admit, that it is OS bug, but it is probably won't be fixed soon ... Is
> there any possible workaround?
>
>


Sorry for followup ...

It looks, that we can duplicate connected socket. It means, that zfmovefd()
should be called after connect succeeds. It seems to be safe, as if connect
fails, we close fd anyway.

Merry Christmas to everybody

/andrej


       reply	other threads:[~1998-12-24 11:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <001501be2eaa$13c41c50$21c9ca95@mowp.siemens.ru>
1998-12-24 11:10 ` Andrej Borsenkow [this message]
1999-01-09 16:01   ` PATCH: 3.1.5-pws-4: " Peter Stephenson
1998-12-23 19:26 Andrej Borsenkow

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='001f01be2f2d$fd08aab0$21c9ca95@mowp.siemens.ru' \
    --to=borsenkow.msk@sni.de \
    --cc=zsh-workers@math.gatech.edu \
    /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).