Re: [1.7] Pipes intermittently lose data on Cygwin 1.7

2008-12-22 Thread Lawrence Mayer
On 081222 19:02, Allan Schrum wrote: Would it be worth trying to heavily load one of your computers to see if the problem presents itself differently? It is obvious that your systems are fast! Allan, at your suggestion, I repeated the trials on Computer 1 (details in previous post) under two

RE: [1.7] Pipes intermittently lose data on Cygwin 1.7

2008-12-22 Thread Allan Schrum
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > Behalf Of Lawrence Mayer > Sent: Monday, December 22, 2008 9:28 PM > To: cygwin@cygwin.com > Subject: Re: [1.7] Pipes intermittently lose data on Cygwin 1.7 > > On 081222 16:48, Allan Schrum wrote: >

Re: [1.7] Pipes intermittently lose data on Cygwin 1.7

2008-12-22 Thread Lawrence Mayer
On 081222 16:48, Allan Schrum wrote: The numbers 5,132,288 and 5,138,895 are multiples of 4096. Thanks for writing Allan. I think you mean 5,132,288 and 5,136,384 (the two output sizes) are multiples of 4096. Lawrence: what is the hardware that your are running this test upon? What other p

RE: [1.7] Pipes intermittently lose data on Cygwin 1.7

2008-12-22 Thread Allan Schrum
> > >> Not yet. The bug is still present in the current snapshot > >> cygwin-inst-20081220.tar.bz2. Thanks for trying to fix it and for > >> responding to my post. > > > On 081222 10:47, Christopher Faylor wrote: > > Too bad. Since I can't duplicate the problem it will be difficult to > > fix i

editrights - which permission is necessary to fork a process

2008-12-22 Thread Matthias Meyer
Hi, I want to use rsync's pre-xfer in Vista. Unfortunately it didn't work if I run the rsync daemon within in the system account. I would believe that theire are rights necessary which are not included in the system account. Nearly the same as I found in ssh-host-config for privilege separation.

Re: [1.7] Pipes intermittently lose data on Cygwin 1.7

2008-12-22 Thread Lawrence Mayer
Too bad. Since I can't duplicate the problem it will be difficult to fix it. Have you tried running the examples I provided in my original post (with foo = ~ 5MB text file) on a DOS shell (cmd.exe)? Yes. That's what I meant by "I can't duplicate the problem". Just ran current snapshot cy

Re: [1.7] Pipes intermittently lose data on Cygwin 1.7

2008-12-22 Thread Christopher Faylor
On Mon, Dec 22, 2008 at 12:06:16PM -0800, Lawrence Mayer wrote: >>> Not yet. The bug is still present in the current snapshot >>> cygwin-inst-20081220.tar.bz2. Thanks for trying to fix it and for >>> responding to my post. > >On 081222 10:47, Christopher Faylor wrote: >>Too bad. Since I can't dupl

Re: Named pipes (blocking problem)

2008-12-22 Thread John Emmas
- Original Message - From: "Larry Hall (Cygwin)" Subject: Re: Named pipes (blocking problem) I'm going to have to change my email client so I have a reason to take advantage of this great feature you've added! ;-) Glad to be of service..! ;-) -- Unsubscribe info: http://cygwin.

Re: Named pipes (blocking problem)

2008-12-22 Thread Larry Hall (Cygwin)
John Emmas wrote: - Original Message - From: "Christopher Faylor" Subject: Re: Named pipes (blocking problem) Why are you duplicating the subject in the body of the message? I know this is something that irks you and you often complain about it but in fact, it can be very helpful to p

Re: Named pipes (blocking problem)

2008-12-22 Thread John Emmas
Thanks for that link Christopher. It was very helpful. - Original Message - From: "Christopher Faylor" Subject: Re: Named pipes (blocking problem) Why are you duplicating the subject in the body of the message? I know this is something that irks you and you often complain about it

Re: Rationale for line-ending recommendation?

2008-12-22 Thread Ralph Hempel
Linus Hicks wrote: On Fri, Dec 19, 2008 at 12:02 PM, Corinna Vinschen wrote: Yeah, right, if this were in fact the 21st century, why would we ever have to deal with a 30 year old, idiotic-from-the-start text file format using two line ending chars? How quickly we forget... Great summary! I

Re: Rationale for line-ending recommendation?

2008-12-22 Thread Christopher Faylor
On Mon, Dec 22, 2008 at 02:12:11PM -0500, Linus Hicks wrote: >On Fri, Dec 19, 2008 at 12:02 PM, Corinna Vinschen wrote: >> >> Yeah, right, if this were in fact the 21st century, why would we ever >> have to deal with a 30 year old, idiotic-from-the-start text file format >> using two line ending ch

Re: Named pipes (blocking problem)

2008-12-22 Thread Christopher Faylor
On Mon, Dec 22, 2008 at 07:04:59PM -, John Emmas wrote: > - Original Message - From: "Christopher Faylor" > Sent: 22 December 2008 18:41 > Subject: Re: Named pipes (blocking problem) Why are you duplicating the subject in the body of the message? >>Cygwin tries to emulate linux/POSIX.

Re: Rationale for line-ending recommendation?

2008-12-22 Thread Linus Hicks
On Fri, Dec 19, 2008 at 12:02 PM, Corinna Vinschen wrote: > > Yeah, right, if this were in fact the 21st century, why would we ever > have to deal with a 30 year old, idiotic-from-the-start text file format > using two line ending chars? How quickly we forget... The first devices that had any und

Re: Named pipes (blocking problem)

2008-12-22 Thread John Emmas
- Original Message - From: "Christopher Faylor" Sent: 22 December 2008 18:41 Subject: Re: Named pipes (blocking problem) Cygwin tries to emulate linux/POSIX. CreateNamedPipe is not a linux/POSIX function. Cygwin does not implement Windows functions. So, no, Cygwin does not implement

Re: [1.7] Pipes intermittently lose data on Cygwin 1.7

2008-12-22 Thread Christopher Faylor
On Mon, Dec 22, 2008 at 10:31:50AM -0800, Lawrence Mayer wrote: >> On Sat, Dec 20, 2008 at 12:31:26PM -0800, Lawrence Mayer wrote: >>> This bug appears specific to Cygwin 1.7 pipes on Win32 DOS (cmd.exe or >>> command.exe). Cygwin 1.7 pipes on bash 3.2.48-21 or zsh 4.3.9-1 seem to >>> work fine. >

Re: Named pipes (blocking problem)

2008-12-22 Thread Christopher Faylor
On Mon, Dec 22, 2008 at 06:23:40PM -, John Emmas wrote: > - Original Message - From: "Christopher Faylor" > Sent: 22 December 2008 17:28 > Subject: Re: Named pipes (blocking problem) >> >> If the OP is creating a pipe using CreateNamedPipe and then trying to >> somehow read it using Cyg

Re: [1.7] Pipes intermittently lose data on Cygwin 1.7

2008-12-22 Thread Lawrence Mayer
On Sat, Dec 20, 2008 at 12:31:26PM -0800, Lawrence Mayer wrote: This bug appears specific to Cygwin 1.7 pipes on Win32 DOS (cmd.exe or command.exe). Cygwin 1.7 pipes on bash 3.2.48-21 or zsh 4.3.9-1 seem to work fine. On 081222 09:31, Christopher Faylor wrote: This may be fixed in the current

Re: Named pipes (blocking problem)

2008-12-22 Thread John Emmas
Many thanks guys - the blocking pipes are being created with PIPE_WAIT and without FILE_FLAG_OVERLAPPED and they successfully block if I build under VC++ but not when I build under Cygwin. I must confess, I don't understand the subtle difference between asynchronous operation and nonblocking oper

Re: [1.7] Pipes intermittently lose data on Cygwin 1.7

2008-12-22 Thread Christopher Faylor
On Sat, Dec 20, 2008 at 12:31:26PM -0800, Lawrence Mayer wrote: > This bug appears specific to Cygwin 1.7 pipes on Win32 DOS (cmd.exe or > command.exe). Cygwin 1.7 pipes on bash 3.2.48-21 or zsh 4.3.9-1 seem to > work fine. This may be fixed in the current Cygwin snapshot. I think I closed up a

Re: Named pipes (blocking problem)

2008-12-22 Thread Christopher Faylor
On Mon, Dec 22, 2008 at 05:03:02PM +, Dave Korn wrote: >John Emmas wrote: >> I'm trying to build a program that implements inter-process communication >> using named pipes. Because the code needs to also work under Windows >> (MSVC++) it uses CreateNamedPipe(...) to create the pipes (described

Re: Named pipes (blocking problem)

2008-12-22 Thread Dave Korn
John Emmas wrote: > I'm trying to build a program that implements inter-process communication > using named pipes. Because the code needs to also work under Windows > (MSVC++) it uses CreateNamedPipe(...) to create the pipes (described here):- > > http://msdn.microsoft.com/en-us/library/aa365150(V

Named pipes (blocking problem)

2008-12-22 Thread John Emmas
I'm trying to build a program that implements inter-process communication using named pipes. Because the code needs to also work under Windows (MSVC++) it uses CreateNamedPipe(...) to create the pipes (described here):- http://msdn.microsoft.com/en-us/library/aa365150(VS.85).aspx If I understan

Re: Unusual environemtal variables

2008-12-22 Thread Mark J. Reed
Eric Blake: > That is inherently non-portable. POSIX states that "Other characters may > be permitted by an implementation; applications shall tolerate the > presence of such names," but does not require applications to be able to > create such names. Right. Ehud Karni: > This behavior (acceptin

Re: Want to compile GCC 4.3.2 / 4.4.0 under cygwin.

2008-12-22 Thread Hongyi Zhao
On Mon, 22 Dec 2008 07:19:44 -0700, Eric Blake wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >According to Hongyi Zhao on 12/22/2008 6:54 AM: >> Hi all, >> >> I've tried to compile GCC 4.3.2 / 4.4.0 under my CYGWIN_NT-5.1 >> 1.5.25(0.156/4/2) but failed. Can anyone have the successfu

Re: Want to compile GCC 4.3.2 / 4.4.0 under cygwin.

2008-12-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Hongyi Zhao on 12/22/2008 6:54 AM: > Hi all, > > I've tried to compile GCC 4.3.2 / 4.4.0 under my CYGWIN_NT-5.1 > 1.5.25(0.156/4/2) but failed. Can anyone have the successful > experience on doing this? Yes, as evidenced by the fact tha

Want to compile GCC 4.3.2 / 4.4.0 under cygwin.

2008-12-22 Thread Hongyi Zhao
Hi all, I've tried to compile GCC 4.3.2 / 4.4.0 under my CYGWIN_NT-5.1 1.5.25(0.156/4/2) but failed. Can anyone have the successful experience on doing this? Would anyone kindly give me some hints? Thanks in advance. -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :. -- Uns

Re: GTK+ externals are unresolved

2008-12-22 Thread M . O . D .
> gcc -o murg murg.c `pkg-config --cflags --libs gtk+-2.0` This worked, and it sounded so similar to what Greg Chicares recommended earlier that I went back to his message and rearranged the command again as he described, and that also worked this time. I don't know how I dorked that up the fir

RE: source for tree command?

2008-12-22 Thread Thorsten Kampe
* Phil Betts (Mon, 22 Dec 2008 12:48:31 -)> > Steve Lefevre wrote on Sunday, December 14, 2008 11:02 PM:: > > > Larry Hall (Cygwin) wrote: > >> Steve Lefevre wrote: > >>> Hello - > >>> I'm desperately looking for a source for the tree command in cygwin. > >>> It isn't listed separately in an

RE: source for tree command?

2008-12-22 Thread Phil Betts
Steve Lefevre wrote on Sunday, December 14, 2008 11:02 PM:: > Larry Hall (Cygwin) wrote: >> Steve Lefevre wrote: >>> Hello - >>> >>> I'm desperately looking for a source for the tree command in cygwin. >>> It isn't listed separately in any of the package sources that I >>> looked at. I tried goog

Re: is it an FAQ: cygwin startup sequence

2008-12-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Kermit Tensmeyer on 12/21/2008 5:56 PM: + how does the directory structure get setup? (is /usr/local/bin being recreated from somewhere else? > The default mount setup sets up /usr/local/bin as a mount to /usr/bin. > >> I was