[ANNOUNCEMENT] Updated: Perl distributions

2022-05-28 Thread Achim Gratz


The following Perl distributions have been updated to their latest
release version available on CPAN:

x86/x86_64
--
perl-Cpanel-JSON-XS-4.29-1
perl-Text-CSV_XS-1.48-1

noarch
--
perl-Mojolicious-9.26-1


-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

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


Updated: Perl distributions

2022-05-28 Thread Achim Gratz


The following Perl distributions have been updated to their latest
release version available on CPAN:

x86/x86_64
--
perl-Cpanel-JSON-XS-4.29-1
perl-Text-CSV_XS-1.48-1

noarch
--
perl-Mojolicious-9.26-1


-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Re: [PATCH] Cygwin: cygheap: Fix the issue of cygwin1.dll in the root directory.

2022-05-28 Thread Ken Brown

On 5/28/2022 10:20 AM, Takashi Yano wrote:

- After the commit 6d898f43, cygwin fails to start if cygwin1.dll
   is placed in the root directory. This patch fixes the issue.
Addresses: https://cygwin.com/pipermail/cygwin/2022-May/251548.html
---
  winsup/cygwin/cygheap.cc | 5 +
  1 file changed, 5 insertions(+)

diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc
index 01b49468e..1a817b743 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 /* Long path prefix followed by drive letter path */
+   {
+ len = 4;
+ p += 4;
+   }
  }
installation_root_buf[1] = L'?';
RtlInitEmptyUnicodeString (_key, installation_key_buf,


LGTM.

Ken


Re: Unable to execute Cygwin application within UDF format

2022-05-28 Thread Takashi Yano
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 (_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 

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


[PATCH] Cygwin: cygheap: Fix the issue of cygwin1.dll in the root directory.

2022-05-28 Thread Takashi Yano
- After the commit 6d898f43, cygwin fails to start if cygwin1.dll
  is placed in the root directory. This patch fixes the issue.
Addresses: https://cygwin.com/pipermail/cygwin/2022-May/251548.html
---
 winsup/cygwin/cygheap.cc | 5 +
 1 file changed, 5 insertions(+)

diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc
index 01b49468e..1a817b743 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 /* Long path prefix followed by drive letter path */
+   {
+ len = 4;
+ p += 4;
+   }
 }
   installation_root_buf[1] = L'?';
   RtlInitEmptyUnicodeString (_key, installation_key_buf,
-- 
2.36.1



Re: Unable to execute Cygwin application within UDF format

2022-05-28 Thread Ken Brown

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 (_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 */

Ken

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


Re: [ITA] ncurses

2022-05-28 Thread Jon Turney

On 27/05/2022 06:16, Brian Inglis wrote:

On 2022-05-26 19:28, Brian Inglis wrote:

On 2022-05-26 13:35, Jon Turney wrote:

On 23/05/2022 06:13, Brian Inglis wrote:

I'd like to adopt orphaned package ncurses:
https://cygwin.com/packages/summary/ncurses-src.html
The builds were tested in GitHub Actions CI using the scallywag ncurses
repo playground branch; see:



Thanks.
Unfortunately, this crossed with a NMU of ncurses that I did 
recently, so I don't know what you want to do about that.



No problem. I've been working on playground. I'll pull master and merge.



I added this to your authorized packages.


As you also announced the NMUs for tack and dialog, I'd like to adopt 
those too, as I've already got a few others from 
td-ntwagud1...@public.gmane.org


Done. Thanks.