console message: _pinfo::dup_proc_pipe: something failed for pid 0 ...

2012-02-13 Thread Heiko Elger
Hallo, Im using a nearly upto date cygwin installation with the following snapshot. $ uname -a CYGWIN_NT-6.1-WOW64 PCFX162 1.7.11s(0.259/5/3) 20120209 16:18:27 i686 Cygwin I got once the following error on the console: 0 [main] sh 85464! _pinfo::dup_proc_pipe: something failed for pid 0: res 8

Re: sed strips CRs

2012-02-13 Thread Andrey Repin
Greetings, Nellis, Kenneth! > The standard response to issues dealing with CRLF files is to point the > user to dos2unix and text mode mounts. This should be adequate without > the hidden behavior of sed/grep/awk and probably others. While your reasoning is sound, I prefer them to behave the way

Re: Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-13 Thread Charles Wilson
On 2/13/2012 9:00 AM, Corinna Vinschen wrote: > Btw., connection sharing doesn't work on Cygwin. For this to work we > need descriptor passing over AF_LOCAL sockets, which isn't implemented > in Cygwin. Yes, please! (I know, I know, SHTDI). http://cygwin.com/ml/cygwin/2009-10/msg00397.html Se

Re: PROGRAMFILES variable is not set during openssh session

2012-02-13 Thread Andrey Repin
Greetings, Corinna Vinschen! >> PROGRAMFILES variable is not set during openssh session. >> This is very important for remote administrative tasks. > OpenSSH 6.0p1 is due soon. I asked to apply a patch upstream so that > PROGRAMFILES is added back to the environment variables passed over > to th

[ANNOUNCEMENT] Updated: git-1.7.9-1, git{k,-gui,-completion,-svn}-1.7.9-1

2012-02-13 Thread Eric Blake (cygwin)
A new release of git, 1.7.9-1, has been uploaded, and will be available for use when your mirror catches up. This leaves 1.7.5.1-1 as previous. NEWS: = This is a new upstream release, with upstream release notes attached. See also the package documentation in /usr/share/doc/git/. This releas

[ANNOUNCEMENT] Updated: subversion-1.7.3-1

2012-02-13 Thread David Rothenberger
A new version of subversion is available. NEWS: = See CHANGES (URL below) for more information about the differences between 1.7.3 and previous Subversion releases. IMPORTANT: Please read the release notes (URL below) before upgrading from a previous major release. 1.7 includes a new working

Re: sed strips CRs

2012-02-13 Thread Earnie Boyd
On Mon, Feb 13, 2012 at 2:48 PM, Paolo Bonzini wrote: > > If you meant that "rt" should be restricted to cygwin, that's also fine by > me but in general I prefer feature tests to OS tests. > Then it becomes Cygwin's problem. I'm going to quote from http://msdn.microsoft.com/en-us/library/yeby3zcb

Anunt Important

2012-02-13 Thread webmaster
http://www.max-media.ro/administratie/prahova-printre-judetele-care-au-canalizare.-meritul-ii-apartine-lui-mircea-cosma.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

[ANNOUNCEMENT] Released: R-2.14.1-2

2012-02-13 Thread marco atzeri
Versions 2.14.1-2 of R libRmath libRmath-devel for cygwin are now available in the Cygwin distribution: CHANGES Based on cygport version with minimal changes. DESCRIPTION R is a language and environment for statistical computing and graphics. R provides a wide variety

Re: sed strips CRs

2012-02-13 Thread Paolo Bonzini
On 02/13/2012 08:42 PM, John Cowan wrote: > By the way, I'm still opening the script file with "rt". I cannot think > of any case when you would want to keep CRs there. You wouldn't, but the point is that "rt" isn't defined on Posix systems. If it happens to be the same as "r", good, but that i

Re: sed strips CRs

2012-02-13 Thread John Cowan
Paolo Bonzini scripsit: > By the way, I'm still opening the script file with "rt". I cannot think > of any case when you would want to keep CRs there. You wouldn't, but the point is that "rt" isn't defined on Posix systems. If it happens to be the same as "r", good, but that isn't guaranteed.

[ANNOUNCEMENT] Updated: cppcheck-1.53-1

2012-02-13 Thread Chris Sutcliffe
Version 1.53-1 of cppcheck has been uploaded, following the upstream release. cppcheck is a tool for static C/C++ code analysis. It tries to detect bugs that your C/C++ compiler doesn't see. The goal is no false positives. cppcheck is versatile. You can check non-standard code that includes var

Re: scan-build symlink from llvm/clang does not work in GNU Make

2012-02-13 Thread Christopher Faylor
On Mon, Feb 13, 2012 at 06:40:31PM +0200, Oleksandr Gavenko wrote: > > $ cat Makefile.common > > # -e Override Makefile settings with env var to pass scan-build settings to > Make. > > .PHONY: clang > clang: > $$(realpath $$(which scan-build)) make -e -f $(MK_FILE) clean dist > > .PHONY

scan-build symlink from llvm/clang does not work in GNU Make

2012-02-13 Thread Oleksandr Gavenko
$ cat Makefile.common # -e Override Makefile settings with env var to pass scan-build settings to Make. .PHONY: clang clang: $$(realpath $$(which scan-build)) make -e -f $(MK_FILE) clean dist .PHONY: clang2 clang2: scan-build make -e -f $(MK_FILE) clean dist If you ru

Re: Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-13 Thread Oleksandr Gavenko
On 2012-02-13, Corinna Vinschen wrote: > On Feb 13 14:53, Corinna Vinschen wrote: >> On Feb 13 11:18, Oleksandr Gavenko wrote: >> > [...] >> > To resolve issue I comment this line in ~/.ssh/config: >> > >> > # ControlPath ~/.ssh/sock_%r@%h_%p >> > # ControlMaster auto >> >> Works for me with

Re: sed strips CRs

2012-02-13 Thread Paolo Bonzini
On 02/13/2012 04:43 PM, Earnie Boyd wrote: > > By the way, I'm still opening the script file with "rt". I cannot think of > any case when you would want to keep CRs there. The case of sed -e 's/something/nothing/g' myfile > myfile2 as it works in Cygwin today would mean that in the case of th

Re: sed strips CRs

2012-02-13 Thread Peter Rosin
Earnie Boyd skrev 2012-02-13 16:43: > On Mon, Feb 13, 2012 at 10:22 AM, Paolo Bonzini wrote: >> On 02/13/2012 03:56 PM, Corinna Vinschen wrote: >>> As long as it's consistent with coreutils I'll certainly do the change. >>> >>> Thanks! Would you mind to CC the cygwin list when the next upstr

Re: sed strips CRs

2012-02-13 Thread Earnie Boyd
On Mon, Feb 13, 2012 at 10:22 AM, Paolo Bonzini wrote: > On 02/13/2012 03:56 PM, Corinna Vinschen wrote: >> >> > As long as it's consistent with coreutils I'll certainly do the change. >> >> Thanks!  Would you mind to CC the cygwin list when the next upstream >> sed release is available? > > > Sur

Re: sed strips CRs

2012-02-13 Thread Corinna Vinschen
On Feb 13 16:22, Paolo Bonzini wrote: > On 02/13/2012 03:56 PM, Corinna Vinschen wrote: > >> As long as it's consistent with coreutils I'll certainly do the change. > > > >Thanks! Would you mind to CC the cygwin list when the next upstream > >sed release is available? > > Sure, it should be real

Re: sed strips CRs

2012-02-13 Thread Paolo Bonzini
On 02/13/2012 03:56 PM, Corinna Vinschen wrote: > As long as it's consistent with coreutils I'll certainly do the change. Thanks! Would you mind to CC the cygwin list when the next upstream sed release is available? Sure, it should be real soon now since a new release has been long overdue.

Re: File operations really slow in emacs

2012-02-13 Thread Corinna Vinschen
On Feb 13 08:31, Ryan Johnson wrote: > On 11/02/2012 5:11 AM, Corinna Vinschen wrote: > >>(\??\C:\cygwin\cygdrive,0x28BB68) > > ^^^ > > This looks suspicious. I assume you're suffering from SMB network > > scanning. > Turns out you were right after all. I have Z: mapped t

Re: sed strips CRs

2012-02-13 Thread Corinna Vinschen
[Sent again. I missed all the CC's in my previous reply. Sorry!] On Feb 13 15:37, Paolo Bonzini wrote: > On 02/13/2012 03:12 PM, Eric Blake wrote: > >But fixing this should be done upstream, and not in cygwin. > > As long as it's consistent with coreutils I'll certainly do the change. > > Paol

Re: sed strips CRs

2012-02-13 Thread Corinna Vinschen
On Feb 13 15:37, Paolo Bonzini wrote: > On 02/13/2012 03:12 PM, Eric Blake wrote: > >But fixing this should be done upstream, and not in cygwin. > > As long as it's consistent with coreutils I'll certainly do the change. > > Paolo Thanks! Would you mind to CC the cygwin list when the next upstr

RE: sed strips CRs

2012-02-13 Thread Nellis, Kenneth
From: Earnie Boyd >On Sat, Feb 11, 2012 at 12:56 PM, Corinna Vinschen wrote:> >> That's why I wrote "on systems supporting this mode".  Sed input is >> text input in the first place.  Therefore it's using textmode in the >> first place.  This is done so for a long time.  If it's not what you >> nee

Re: sed strips CRs

2012-02-13 Thread Paolo Bonzini
On 02/13/2012 03:12 PM, Eric Blake wrote: But fixing this should be done upstream, and not in cygwin. As long as it's consistent with coreutils I'll certainly do the change. Paolo -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documenta

Re: sed strips CRs

2012-02-13 Thread Earnie Boyd
On Mon, Feb 13, 2012 at 9:12 AM, Eric Blake wrote: > > Personally, I think it is a bug that upstream sed is using 't' in > fopen() in the first place.  Linux does NOT have an 'rt' mode for a > reason: 't' is non-standard.  On cygwin, the preference used in > coreutils is that you get text mode by u

Re: File operations really slow in emacs

2012-02-13 Thread Ryan Johnson
On 11/02/2012 5:11 AM, Corinna Vinschen wrote: On Feb 10 20:18, Ryan Johnson wrote: Hi all, For some reason file operations have become very slow inside emacs starting yesterday. It's especially painful when saving a file that's managed by mercurial (more than 20 seconds!), but I've seen it on

Re: sed strips CRs

2012-02-13 Thread Eric Blake
[adding bug-sed - see this thread in cygwin: http://cygwin.com/ml/cygwin/2012-02/msg00313.html] On 02/11/2012 10:19 AM, Earnie Boyd wrote: >>> By this I assume you to mean that the -b option opens the input file >>> in binary mode. But the mount table the OP showed was already in >>> binary mode.

Re: PROGRAMFILES variable is not set during openssh session

2012-02-13 Thread Corinna Vinschen
On Feb 12 20:33, ArcFi wrote: > PROGRAMFILES variable is not set during openssh session. > This is very important for remote administrative tasks. OpenSSH 6.0p1 is due soon. I asked to apply a patch upstream so that PROGRAMFILES is added back to the environment variables passed over to the child

Re: Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-13 Thread Corinna Vinschen
On Feb 13 14:53, Corinna Vinschen wrote: > On Feb 13 11:18, Oleksandr Gavenko wrote: > > [...] > > To resolve issue I comment this line in ~/.ssh/config: > > > > # ControlPath ~/.ssh/sock_%r@%h_%p > > # ControlMaster auto > > Works for me with or without these lines. Btw., connection sharing

Re: Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-13 Thread Corinna Vinschen
On Feb 13 11:18, Oleksandr Gavenko wrote: > > I can forward port from Cygwin to Debian: > > cygwin# nc -l -p 6000 > > debian1# ssh -L 7000:cygwin.host:6000 u...@cygwin.host > > debian2# telnet localhost 7000 > > But if do same in inverse direction I got: > > debian# nc -l -p 6000 > >

Re: cygwin-1.7.10-1 fork - address space needed by ... already in use

2012-02-13 Thread Scott M. Ballew
Corinna Vinschen-2 wrote: > > > Sigh. While the basename is all we need to test if a DLL is already > loaded, it's *not* enough to load a DLL which still needs loading, if > the DLLs are not in the DLL search path, as in the case of Perl libs. > I'm going to generate a new 2012-02-09 snapshot

Re: sed strips CRs

2012-02-13 Thread Earnie Boyd
On Sat, Feb 11, 2012 at 12:56 PM, Corinna Vinschen wrote: > That's why I wrote "on systems supporting this mode".  Sed input is > text input in the first place.  Therefore it's using textmode in the > first place.  This is done so for a long time.  If it's not what you > need, there's a workaround,

Re: TTY and sshpass

2012-02-13 Thread Sylvain Archenault
>Uh ok. Somehow I missed the fact that you had my workaorund applied >as well. Strange that it works for me. > >Corinna I tried Corinna patch on my machine and it worked. I don't know what Chris problem. Thanks for your help and let me know if you need something. Sylvain -- Problem reports:

Re: cygwin > 1.7.9: Segmentation faults / STATUS_STACK_OVERFLOW

2012-02-13 Thread Corinna Vinschen
On Feb 13 10:22, Manuel Wienand wrote: > Hi Corinna, > > thanks for the info about the stack sizes. > > > [...] > > pthread_attr_t attr; > > pthread_attr_init (&attr); > > pthread_attr_setstacksize (&attr, 1024 * 1024); > > > > ret = pthread_create(&threadId, &attr, callGlob,

RE: cygwin > 1.7.9: Segmentation faults / STATUS_STACK_OVERFLOW

2012-02-13 Thread Manuel Wienand
Hi Corinna, thanks for the info about the stack sizes. > [...] > pthread_attr_t attr; > pthread_attr_init (&attr); > pthread_attr_setstacksize (&attr, 1024 * 1024); > > ret = pthread_create(&threadId, &attr, callGlob, NULL); > [...] Jep, that works for me. Manuel

Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-13 Thread Oleksandr Gavenko
I can forward port from Cygwin to Debian: cygwin# nc -l -p 6000 debian1# ssh -L 7000:cygwin.host:6000 u...@cygwin.host debian2# telnet localhost 7000 But if do same in inverse direction I got: debian# nc -l -p 6000 cygwin1# ssh -L 8000:debian.host:6000 u...@debian.host bind: Add