public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Alexey Pavlov <alexpux@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Adding MSYS functionality to Cygwin
Date: Wed, 19 Jun 2013 13:02:00 -0000	[thread overview]
Message-ID: <CABEPuQJF51dJ72mv=A_MS3AOR8Lq_Htt9=D98fB_xSB3jCszEA@mail.gmail.com> (raw)
In-Reply-To: <20130619101227.GL1620@calimero.vinschen.de>

2013/6/19 Corinna Vinschen :
> On Jun 19 10:53, Алексей Павлов wrote:
>> Today I investigate in this direction and find that logic works well
>> except one line in spawn.cc that I think can be fixed without break
>> anything.
>>
>> Index: cygwin/spawn.cc
>> ===================================================================
>> RCS file: /cvs/src/src/winsup/cygwin/spawn.cc,v
>> retrieving revision 1.345
>> diff -u -p -r1.345 spawn.cc
>> --- cygwin/spawn.cc 3 May 2013 19:39:01 -0000 1.345
>> +++ cygwin/spawn.cc 19 Jun 2013 05:53:36 -0000
>> @@ -406,7 +406,7 @@ child_info_spawn::worker (const char *pr
>> }
>> else
>> {
>> - if (wascygexec)
>> + if (real_path.iscygexec ())
>
> Line 374:
>
>   wascygexec = real_path.iscygexec ();
>
> Do you have an example why your change should make a difference?
>
My opinion is next:
wascygexec is initialized before calling av::fixup that determine is
executable depends on Cygwin1.dll and always (for me) is 0. But in
av::fixup real_path.iscygexec () can be changed.
And code always go to condition with one_line.fromargv.

Regards, Alexey.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2013-06-19 11:04 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-18 18:59 Алексей Павлов
2013-06-18 19:10 ` Christopher Faylor
2013-06-18 19:30 ` Warren Young
2013-06-18 19:31   ` Алексей Павлов
2013-06-18 22:12     ` Warren Young
2013-06-18 22:35       ` Warren Young
2013-06-18 23:51       ` Warren Young
2013-06-19  2:03       ` Christopher Faylor
2013-06-19  7:17         ` Алексей Павлов
2013-06-19  8:15           ` Alexey Pavlov
2013-06-19 11:04           ` Corinna Vinschen
2013-06-19 13:02             ` Alexey Pavlov [this message]
2013-06-19 17:31         ` Warren Young
2013-06-19 17:57           ` Christopher Faylor
2013-06-20  3:30             ` Charles Wilson
2013-06-20 13:12               ` Earnie Boyd
2013-06-20 17:13                 ` Corinna Vinschen
2013-06-19 13:41       ` Charles Wilson
2013-06-19 18:38         ` Warren Young
2013-06-19 19:27           ` Yaakov (Cygwin/X)
2013-06-20 18:11             ` cygport limitations (was: Adding MSYS functionality to Cygwin) Warren Young
2013-06-20 18:44               ` Corinna Vinschen
2013-06-21  4:41                 ` Andrew Schulman
2013-06-21  8:06                   ` Corinna Vinschen
2013-06-21 16:55                     ` Christopher Faylor
2013-06-21 20:35                       ` Andrew Schulman
2013-06-21 21:01                         ` Christopher Faylor
2013-06-24  9:13                       ` Corinna Vinschen
2013-06-24 11:31                         ` Earnie Boyd
2013-06-24 11:56                           ` Corinna Vinschen
2013-06-25 11:12                             ` Csaba Raduly
2013-06-25 12:06                               ` Earnie Boyd
2013-06-21 18:07                 ` cygport limitations Warren Young
2013-06-21 18:38                   ` Warren Young
2013-06-21 19:31                     ` Yaakov (Cygwin/X)
2013-06-24  9:17                       ` Corinna Vinschen
2013-06-20 19:11               ` Yaakov (Cygwin/X)
2013-06-21  7:26                 ` Warren Young
2013-06-20 22:31               ` David Stacey
2013-06-18 21:22   ` Adding MSYS functionality to Cygwin Christopher Faylor
2013-06-18 21:29     ` Warren Young
2013-06-19  2:05       ` Christopher Faylor
2013-06-19  9:05         ` Corinna Vinschen
2013-06-19  9:29           ` Corinna Vinschen
2013-06-19 17:03             ` Warren Young
2013-06-19 17:36               ` Corinna Vinschen
2013-06-18 21:33 ` Charles Wilson
2013-06-19  2:06   ` Christopher Faylor
2013-06-19 13:59     ` Charles Wilson
2013-06-19 15:56 ` Earnie Boyd
2013-06-19 20:25   ` Corinna Vinschen

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='CABEPuQJF51dJ72mv=A_MS3AOR8Lq_Htt9=D98fB_xSB3jCszEA@mail.gmail.com' \
    --to=alexpux@gmail.com \
    --cc=cygwin@cygwin.com \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).