From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: Unable to execute Cygwin application within UDF format
Date: Sat, 28 May 2022 23:25:19 +0900 [thread overview]
Message-ID: <20220528232519.5221a03d560fa140e59d1aeb@nifty.ne.jp> (raw)
In-Reply-To: <04783b49-9bd0-da03-805b-d30e6363b7b6@cornell.edu>
On Sat, 28 May 2022 09:22:12 -0400
Ken Brown wrote:
> On 5/27/2022 8:36 AM, Takashi Yano wrote:
> > diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc
> > index 01b49468e..34c9e2bc7 100644
> > --- a/winsup/cygwin/cygheap.cc
> > +++ b/winsup/cygwin/cygheap.cc
> > @@ -183,6 +183,11 @@ init_cygheap::init_installation_root ()
> > if (p)
> > p = wcschr (p + 1, L'\\'); /* Skip share name */
> > }
> > + else
> > + {
> > + len = 4;
> > + p = installation_root_buf + 4;
> > + }
> > }
> > installation_root_buf[1] = L'?';
> > RtlInitEmptyUnicodeString (&installation_key, installation_key_buf,
>
> This looks right to me. I would just suggest an explanatory comment, something
> like this:
>
> + else /* Long path prefix followed by drive letter path */
Thanks for the advice. I will submit the patch to cygwin-patches
mailing list.
--
Takashi Yano <takashi.yano@nifty.ne.jp>
next prev parent reply other threads:[~2022-05-28 14:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-27 3:36 Sam Lin
2022-05-27 4:31 ` Takashi Yano
2022-05-27 8:43 ` Takashi Yano
2022-05-27 8:47 ` Sam Lin
2022-05-27 9:18 ` Takashi Yano
2022-05-27 10:51 ` Takashi Yano
2022-05-27 12:28 ` Takashi Yano
2022-05-27 12:36 ` Takashi Yano
2022-05-28 13:22 ` Ken Brown
2022-05-28 14:25 ` Takashi Yano [this message]
2022-05-27 17:41 ` Sam Edge
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=20220528232519.5221a03d560fa140e59d1aeb@nifty.ne.jp \
--to=takashi.yano@nifty.ne.jp \
--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).