Re: Portable shell code between Cygwin and Linux

2011-08-08 Thread Andrey Repin
Greetings, Sven Köhler! >> alias vpnup='exec sudo openvpn --config $HOME/config/client.vpn --writepid >> /tmp/openvpn.pid &' >> >> that's where his problem began, IMO. > I don't know, why you pointed that out. It's of no use to feed a path > like $HOME/something to a pure win32 binary. You DON

gdb-7.3.50-1 and insight

2011-08-08 Thread Arthur Norman
The package no longer contains the "insight" graphical debugger. Time permitting, there will be a separate package introduced for insight. I try to write my code so that it never has bugs - and certainly never the sort that need gdb. However when I have problems I find insight very much my fav

Re: Portable shell code between Cygwin and Linux

2011-08-08 Thread Sven Köhler
Am 08.08.2011 10:14, schrieb Andrey Repin: > Greetings, Sven Köhler! > >>> alias vpnup='exec sudo openvpn --config $HOME/config/client.vpn --writepid >>> /tmp/openvpn.pid &' >>> >>> that's where his problem began, IMO. > >> I don't know, why you pointed that out. It's of no use to feed a path >>

Re: emacs and large-address awareness under recent snapshots

2011-08-08 Thread Ken Brown
On 8/7/2011 6:38 PM, Ken Brown wrote: I've built cygwin1.dll from the latest CVS and confirmed that the problem is fixed. Unfortunately, I've just discovered a second problem, also starting with the 2011-07-21 snapshot, that only shows up when I try to start emacs under X (with emacs large addre

Re: Portable shell code between Cygwin and Linux

2011-08-08 Thread Eric Blake
On 08/07/2011 07:20 PM, Sven Köhler wrote: pathconvert() { echo "$1" } (There's one issue here: I would like to write echo -- "$1", but echo doesn't understand --. Bummer.) echo _cannot_ be used to portably echo arbitrary strings. For that, you need printf: pathconvert() { printf '

Re: Portable shell code between Cygwin and Linux

2011-08-08 Thread Eliot Moss
On 8/8/2011 5:11 AM, Sven Köhler wrote: Am 08.08.2011 10:14, schrieb Andrey Repin: Greetings, Sven Köhler! alias vpnup='exec sudo openvpn --config $HOME/config/client.vpn --writepid /tmp/openvpn.pid&' that's where his problem began, IMO. I don't know, why you pointed that out. It's of no

Re: emacs and large-address awareness under recent snapshots

2011-08-08 Thread Corinna Vinschen
On Aug 7 18:38, Ken Brown wrote: > On 8/7/2011 4:02 PM, Corinna Vinschen wrote: > >What I did now is to change Cygwin to return always RLIM_INFINITY in > >a call to getrlimit(RLIMIT_AS). This seems to be more correct anyway, > >given the definition in SUSv4(*): > > > > "If a call to getrlimit()

Re: emacs and large-address awareness under recent snapshots

2011-08-08 Thread Corinna Vinschen
On Aug 8 09:22, Ken Brown wrote: > I attached gdb to the running process and got some more information. > It turns out that this has nothing to do with X. It's just that > starting emacs under X causes emacs to try to allocate memory, and > this makes the problem show up very quickly. > > It loo

Re: emacs and large-address awareness under recent snapshots

2011-08-08 Thread Ken Brown
On 8/8/2011 11:50 AM, Corinna Vinschen wrote: On Aug 8 09:22, Ken Brown wrote: I attached gdb to the running process and got some more information. It turns out that this has nothing to do with X. It's just that starting emacs under X causes emacs to try to allocate memory, and this makes the

Re: New problem with 20110803

2011-08-08 Thread Christopher Faylor
On Sun, Aug 07, 2011 at 12:29:30PM +0200, Corinna Vinschen wrote: >On Aug 7 03:51, Yaakov (Cygwin/X) wrote: >> There's another problem with the 20110803 snapshot. When a fork fails >> with the following message: >> >>0 [main] cmake 5088 child_info_fork::abort: address space >> needed by

Re: emacs and large-address awareness under recent snapshots

2011-08-08 Thread Corinna Vinschen
On Aug 8 12:05, Ken Brown wrote: > On 8/8/2011 11:50 AM, Corinna Vinschen wrote: > >On Aug 8 09:22, Ken Brown wrote: > >>I attached gdb to the running process and got some more information. > >>It turns out that this has nothing to do with X. It's just that > >>starting emacs under X causes emac

Re: sshd on win7

2011-08-08 Thread Alexey Luchko
Hi! Today I tried login to sshd running as windows service. ssh client told: """ user@localhost's password: Last login: Mon Aug 8 19:21:03 2011 from ::1 /bin/bash: Permission denied Connection to localhost closed. """ However, /bin/bash exists and the user is able to run it and the privilege

Re: fork: child -1 - died waiting for longjmp before initialization

2011-08-08 Thread Brian Ford
On Thu, 4 Aug 2011, Corinna Vinschen wrote: > On Aug 4 15:05, Freidin, Alex (Alex) wrote: > > After search and trial, I found that it's caused by NVIDIA graphics > > driver for NVS 4200M laptop graphics card. The laptops had version > > 8.17.12.6696 of the driver installed and after upgrading the

Re: emacs and large-address awareness under recent snapshots

2011-08-08 Thread Achim Gratz
Corinna Vinschen <...> writes: > still tries to workaround some old problem in the Cygwin sbrk > implementation in Cygwin 1.5. Unfortunately the comment doesn't contain > any hint as to what exact problem this code is trying to workaround. Apologies if that's obvious and you've already checked th

Re: emacs and large-address awareness under recent snapshots

2011-08-08 Thread Ken Brown
On 8/8/2011 2:20 PM, Achim Gratz wrote: Corinna Vinschen<...> writes: still tries to workaround some old problem in the Cygwin sbrk implementation in Cygwin 1.5. Unfortunately the comment doesn't contain any hint as to what exact problem this code is trying to workaround. Apologies if that's

Re: emacs and large-address awareness under recent snapshots

2011-08-08 Thread Ken Brown
On 8/8/2011 4:16 PM, Ken Brown wrote: On 8/8/2011 2:20 PM, Achim Gratz wrote: Corinna Vinschen<...> writes: still tries to workaround some old problem in the Cygwin sbrk implementation in Cygwin 1.5. Unfortunately the comment doesn't contain any hint as to what exact problem this code is try

Re: Portable shell code between Cygwin and Linux

2011-08-08 Thread Gary Johnson
On 2011-08-07, Eliot Moss wrote: > On 8/7/2011 9:16 PM, Sven Köhler wrote: > >Am 30.07.2011 14:14, schrieb Andrey Repin: > >>Greetings, Corinna Vinschen! > >> > For every shell code that I write, I'd like it to be portable both to > Cygwin > on Windows, and to Ubuntu Linux for example.

Re: emacs and large-address awareness under recent snapshots

2011-08-08 Thread Eliot Moss
On 8/8/2011 5:17 PM, Ken Brown wrote: do newsize *= 2; while ((__malloc_size_t) BLOCK ((char *) result + size) > newsize); My guess now is that there was some invalid pointer arithmetic somewhere that led to this, but I don't have time at the moment to look for it. I'll do it later (or tomorro

Re: segfault Xserver...current version (1.10, not 1.8)

2011-08-08 Thread Linda Walsh
Jon TURNEY wrote:. Does this mean that the xorg-server version reported by cygcheck is incorrect because you've installed the tar file by hand? --- apparently. I just cannot understand how you could paste your cygcheck.out, but not mention that important fact. I cannot