Re: Pipes truncating data in cygwin from main and cygwin-3_4-branch

2023-08-14 Thread Takashi Yano via Cygwin
On Tue, 15 Aug 2023 09:53:16 +0900 キャロウ マーク wrote: > > On Aug 15, 2023, at 9:30, Takashi Yano wrote: > > > > Your test case does not work in command prompt as well. > > > > Try > > type testfile | test-pipe sizeoftestfile > > in command prompt. It will fail. > > Interesting. > > > > > New pip

Re: Pipes truncating data in cygwin from main and cygwin-3_4-branch

2023-08-14 Thread キャロウ マーク via Cygwin
> On Aug 15, 2023, at 9:30, Takashi Yano wrote: > > Your test case does not work in command prompt as well. > > Try > type testfile | test-pipe sizeoftestfile > in command prompt. It will fail. Interesting. > > New pipe implementation since cygwin 3.4.x provides the pipes > more similar to

Re: Pipes truncating data in cygwin from main and cygwin-3_4-branch

2023-08-14 Thread Takashi Yano via Cygwin
On Mon, 14 Aug 2023 20:51:39 +0900 キャロウ マーク wrote: > I have a problem that looks like pipes are truncating data when I cat a file > to my program’s stdin. A simple `cat foo | cat > bar` works fine. bar ends up > identical to foo. It is more complicated than that. My application is doing > this >

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 14 21:42, Martin Wege via Cygwin wrote: > Maybe MinGW compat is broken in 3.5.0-0.388.g1a646ad7970a? There's no Mingw compatibility stuff in Cygwin. Mingw are just non-Cygwin binaries, just like any other native Windows tool. Corinna -- Problem reports: https://cygwin.com/problems

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 14 19:29, Roland Mainz via Cygwin wrote: > On Mon, Aug 14, 2023 at 6:25 PM Roland Mainz wrote: > > On Mon, Aug 14, 2023 at 12:21 PM Corinna Vinschen via Cygwin > > wrote: > > > On Aug 11 13:36, Mainz, Roland via Cygwin wrote: > [snip] > > > > In our case we have a project with both custom

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Martin Wege via Cygwin
On Mon, Aug 14, 2023 at 7:30 PM Roland Mainz via Cygwin wrote: > > On Mon, Aug 14, 2023 at 6:25 PM Roland Mainz wrote: > > On Mon, Aug 14, 2023 at 12:21 PM Corinna Vinschen via Cygwin > > wrote: > > > On Aug 11 13:36, Mainz, Roland via Cygwin wrote: > [snip] > > > > In our case we have a project

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Roland Mainz via Cygwin
On Mon, Aug 14, 2023 at 6:25 PM Roland Mainz wrote: > On Mon, Aug 14, 2023 at 12:21 PM Corinna Vinschen via Cygwin > wrote: > > On Aug 11 13:36, Mainz, Roland via Cygwin wrote: [snip] > > > In our case we have a project with both custom binaries and sources > > > both hosted on the filesystem as

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Roland Mainz via Cygwin
On Mon, Aug 14, 2023 at 12:21 PM Corinna Vinschen via Cygwin wrote: > > On Aug 11 13:36, Mainz, Roland via Cygwin wrote: > > Hi! > > > > > > > > Cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 has some weird > > path problems with network filesystems on Windows 10. Previous stable > > ve

Pipes truncating data in cygwin from main and cygwin-3_4-branch

2023-08-14 Thread キャロウ マーク via Cygwin
Hi, I have a problem that looks like pipes are truncating data when I cat a file to my program’s stdin. A simple `cat foo | cat > bar` works fine. bar ends up identical to foo. It is more complicated than that. My application is doing this std::stringstream buffer; buffer << std::cin.rdbuf(); st

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 11 13:36, Mainz, Roland via Cygwin wrote: > Hi! > > > > Cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 has some weird > path problems with network filesystems on Windows 10. Previous stable > version of Cygwin (4.7.x ?) worked fine. 3.4.7 > In our case we have a project with b

Re: how to set mount posix=1 option for an existing bind mount?

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 11 17:37, Cedric Blancher via Cygwin wrote: > On Tue, 8 Aug 2023 at 20:53, Corinna Vinschen > wrote: > > > > On Aug 8 16:52, Cedric Blancher via Cygwin wrote: > > > Good afternoon! > > > > > > How do I set mount posix=1 option for an existing bind mount? mount -o > > > remount does not wo

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-14 Thread Martin Wege via Cygwin
On Mon, Aug 14, 2023 at 9:35 AM Brian Inglis wrote: > > On 2023-08-13 11:40, Martin Wege via Cygwin wrote: > > On Sun, Aug 13, 2023 at 12:53 AM Roland Mainz via Cygwin wrote: > >> On Mon, Aug 7, 2023 at 7:38 AM KAVALAGIOS Panagiotis (EEAS) via Cygwin > >> wrote: > On Sat, Jul 29, 2023 at 6:1

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-14 Thread Brian Inglis via Cygwin
On 2023-08-13 11:40, Martin Wege via Cygwin wrote: On Sun, Aug 13, 2023 at 12:53 AM Roland Mainz via Cygwin wrote: On Mon, Aug 7, 2023 at 7:38 AM KAVALAGIOS Panagiotis (EEAS) via Cygwin wrote: On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz wrote: Is there an official way to enter the Cygwin comm