all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jarek Czekalski <jarekczek@poczta.onet.pl>
To: emacs-devel@gnu.org
Subject: Re: after r114507 cannot build on msys - dup2 problem
Date: Thu, 31 Oct 2013 19:57:40 +0100	[thread overview]
Message-ID: <5272A824.3000300@poczta.onet.pl> (raw)
In-Reply-To: <83ppqlcnjn.fsf@gnu.org>


W dniu 2013-10-31 19:17, Eli Zaretskii pisze:
>
> How did you invoke the configure script?  Did you use
> nt/msysconfig.sh, or did you invoke ./configure by hand?

Probably when I did my first build (a months ago) I used the right file. 
Now I forgot and shot standard configure. Thanks for the hint. I guess I 
will remember now.

> That's it: it never runs the test program, precisely because that
> would erroneously decide that dup2 doesn't work.
>

I got it. Msdn documentation of msvcrt _dup2 says it returns 0 on 
success. Posix implementation returns the new descriptor, not 0. That's 
why standard dup2 test fails.

Jarek




  reply	other threads:[~2013-10-31 18:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-31 17:44 after r114507 cannot build on msys Jarek Czekalski
2013-10-31 18:16 ` after r114507 cannot build on msys - dup2 problem Jarek Czekalski
2013-10-31 18:17 ` after r114507 cannot build on msys Eli Zaretskii
2013-10-31 18:57   ` Jarek Czekalski [this message]
2013-10-31 19:22     ` after r114507 cannot build on msys - dup2 problem Jarek Czekalski

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=5272A824.3000300@poczta.onet.pl \
    --to=jarekczek@poczta.onet.pl \
    --cc=emacs-devel@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.