Re: /dev/null regression in Cygwin 3.6.1

2025年04月20日 Thread Takashi Yano via Cygwin
On 2025年4月20日 19:15:42 +0200 Bruno Haible wrote:> Hi,> > Takashi Yano wrote:>>>> Thanks for the new testcase. I think the issue has been fixed in:>>>> cygwin-3.7.0-0.68.g37c49decc835 (Test)>>> >>> Thanks.>>> >>>> Please test.>>> >>> Sorry, I don't know how to bui

Re: /dev/null regression in Cygwin 3.6.1

2025年04月20日 Thread Bruno Haible via Cygwin
Hi, Takashi Yano wrote:>>> Thanks for the new testcase. I think the issue has been fixed in:>>> cygwin-3.7.0-0.68.g37c49decc835 (Test)>> >> Thanks.>> >>> Please test.>> >> Sorry, I don't know how to build Cygwin from git. I can only test>> releases.> > Now, cygwin-3.7.0-0.68

Re: /dev/null regression in Cygwin 3.6.1

2025年04月19日 Thread Takashi Yano via Cygwin
On 2025年4月15日 11:33:55 +0200 Bruno Haible wrote:> Takashi Yano wrote:>> Thanks for the new testcase. I think the issue has been fixed in:>> cygwin-3.7.0-0.68.g37c49decc835 (Test)> > Thanks.> >> Please test.> > Sorry, I don't know how to build Cygwin from git. I can only test> rel

Re: /dev/null regression in Cygwin 3.6.1

2025年04月15日 Thread Brian Inglis via Cygwin
On 2025年04月15日 06:58, Takashi Yano via Cygwin wrote: On 2025年4月15日 06:43:33 -0600 Brian Inglis via Cygwin wrote: On 2025年04月15日 03:33, Bruno Haible via Cygwin wrote: Takashi Yano wrote: Thanks for the new testcase. I think the issue has been fixed in: cygwin-3.7.0-0.68.g37c49decc835 (Test

Re: /dev/null regression in Cygwin 3.6.1

2025年04月15日 Thread Takashi Yano via Cygwin
On 2025年4月15日 21:58:19 +0900 Takashi Yano via Cygwin wrote:> On 2025年4月15日 06:43:33 -0600> Brian Inglis via Cygwin wrote:>> On 2025年04月15日 03:33, Bruno Haible via Cygwin wrote:>>> Takashi Yano wrote:>>>> Thanks for the new testcase. I think the issue has been fixed in:>>>

Re: /dev/null regression in Cygwin 3.6.1

2025年04月15日 Thread Takashi Yano via Cygwin
On 2025年4月15日 06:43:33 -0600 Brian Inglis via Cygwin wrote:> On 2025年04月15日 03:33, Bruno Haible via Cygwin wrote:>> Takashi Yano wrote:>>> Thanks for the new testcase. I think the issue has been fixed in:>>> cygwin-3.7.0-0.68.g37c49decc835 (Test)>> >> Thanks.>> >>> Please test.

Re: /dev/null regression in Cygwin 3.6.1

2025年04月15日 Thread Brian Inglis via Cygwin
On 2025年04月15日 03:33, Bruno Haible via Cygwin wrote: Takashi Yano wrote: Thanks for the new testcase. I think the issue has been fixed in: cygwin-3.7.0-0.68.g37c49decc835 (Test) Thanks. Please test. Hi Takashi, Could you please deploy your CI test build so Bruno can select it from a mirror

Re: /dev/null regression in Cygwin 3.6.1

2025年04月15日 Thread Bruno Haible via Cygwin
Takashi Yano wrote:> Thanks for the new testcase. I think the issue has been fixed in:> cygwin-3.7.0-0.68.g37c49decc835 (Test) Thanks.> Please test. Sorry, I don't know how to build Cygwin from git. I can only test releases. Bruno -- Problem reports: https://cygwin.com/problems.ht

Re: /dev/null regression in Cygwin 3.6.1

2025年04月15日 Thread Takashi Yano via Cygwin
On 2025年4月14日 15:03:16 +0200 Bruno Haible wrote:> Here's a smaller reproducer.> > foo.c > #include > #include > #include > > int main ()> {> HANDLE h = (HANDLE) _get_osfhandle (0);> fprintf (stderr, "h = 0x%08x\n", h);>

RE: [EXTERNAL] Re: /dev/null regression in Cygwin 3.6.1

2025年04月14日 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> (correct me if I'm wrong), READING from /dev/null is> undefined and may result in undetermined behavior. That's an incorrect recollection of facts, unfortunately. Reading from /dev/null should result in an immediate EOF (0 returned from read()).> But "< /dev/null" literally means "don't read

Re: /dev/null regression in Cygwin 3.6.1

2025年04月14日 Thread Jeremy Drake via Cygwin
On 2025年4月14日, Bruno Haible via Cygwin wrote:> Especially since this commit modified select.cc, removing a comment> /* TODO: Buffer really full or non-Cygwin reader? */> and here we are exactly in that case: a non-Cygwin process reading from> Cygwin's /dev/null. That's Cygwin's select

Re: /dev/null regression in Cygwin 3.6.1

2025年04月14日 Thread Bruno Haible via Cygwin
Here's a smaller reproducer. foo.c #include #include #include int main () { HANDLE h = (HANDLE) _get_osfhandle (0); fprintf (stderr, "h = 0x%08x\n", h); fprintf (stderr, "FileType is CHAR ? %d\n", GetFileType (h) == FILE_TYPE_CHA

Re: /dev/null regression in Cygwin 3.6.1

2025年04月14日 Thread Andrey Repin via Cygwin
Greetings, Bruno Haible!> In Gnulib, we have a unit test that compiles the program below as a> native Windows program (either with mingw or with MSVC), that exercises> the Gnulib select() function> >

Re: /dev/null regression in Cygwin 3.6.1

2025年04月14日 Thread Takashi Yano via Cygwin
Hi Bruno, On 2025年4月12日 15:21:12 +0200 Bruno Haible wrote:> Hi,> > In Gnulib, we have a unit test that compiles the program below as a> native Windows program (either with mingw or with MSVC), that exercises> the Gnulib select() function> >

/dev/null regression in Cygwin 3.6.1

2025年04月12日 Thread Bruno Haible via Cygwin
Hi, In Gnulib, we have a unit test that compiles the program below as a native Windows program (either with mingw or with MSVC), that exercises the Gnulib select() function