Re: Problem redirecting stderr to pipe in subprocess

2011-10-09 Thread Christopher Faylor
On Sat, Oct 08, 2011 at 05:39:20PM -0400, Ken Brown wrote: >Attached is a slight modification of the STC, in which I set stdin for >the bash subprocess to /dev/null. With this modification, the program >works as expected (and as on Linux) with cygwin-1.7.9, but the same >problem as before occur

Re: Problem redirecting stderr to pipe in subprocess

2011-10-09 Thread jan.kolar
Ken Brown-6 wrote: > > On 10/9/2011 4:10 PM, jan.kolar wrote: >> >> >> Ken Brown-6 wrote: >>> >>> The attached STC arose from my attempt to understand the problem >>> discussed starting in >>> >>> http://cygwin.com/ml/cygwin/2011-09/msg00405.html . >>> >>> I'm starting a new thread because t

Re: Problem redirecting stderr to pipe in subprocess

2011-10-09 Thread Ken Brown
On 10/9/2011 4:10 PM, jan.kolar wrote: Ken Brown-6 wrote: The attached STC arose from my attempt to understand the problem discussed starting in http://cygwin.com/ml/cygwin/2011-09/msg00405.html . I'm starting a new thread because there appears to be a Cygwin problem having nothing to d

Re: Problem redirecting stderr to pipe in subprocess

2011-10-09 Thread Ken Brown
On 10/9/2011 4:03 PM, jan.kolar wrote: Make sure the results are as you state, and not just random. ./a0.exe # does it fail ? ./a1.exe # does it work ? ./a0.exe # does it fail ? ./a1.exe # does it work ? If you're asking whether the results are repeatable, the answer is yes. Ken -- Pr

Re: Problem redirecting stderr to pipe in subprocess

2011-10-09 Thread jan.kolar
Ken Brown-6 wrote: > > The attached STC arose from my attempt to understand the problem > discussed starting in > >http://cygwin.com/ml/cygwin/2011-09/msg00405.html . > > I'm starting a new thread because there appears to be a Cygwin problem > having nothing to do with emacs. > > The ST

Re: Problem redirecting stderr to pipe in subprocess

2011-10-09 Thread jan.kolar
Ken Brown-6 wrote: > > On 10/8/2011 11:35 AM, Ken Brown wrote: > ched is a slight modification of the STC, in which I set stdin for > the bash subprocess to /dev/null. With this modification, the program > works as expected (and as on Linux) with cygwin-1.7.9, but the same > problem as befo

Re: 1.7.9: login via ssh allows Administrator privileges

2011-10-09 Thread Michael Hoffman
Christian Franke t-online.de> writes: > Michael Hoffman wrote: > > When I log in via ssh I find I have Administrator privileges: > > > > [snip] > > > > Is there a way to turn this off or remove myself from the Administrators and > > root groups? I prefer not to have administrative access unless I

Re: stdio.h: broken standard compliance.

2011-10-09 Thread Kaz Kylheku
On Sun, 09 Oct 2011 11:08:58 -0700, Kaz Kylheku wrote: > reason, I cannot get a warning about fileno from this test case if > I add a reference to it. I will try to produce a minimal repro test > case for that. In my real program I have -Wall, and I'm not taking the function pointers. With -Wal

Re: locale

2011-10-09 Thread Andy Koppe
On 9 October 2011 11:37, Jan Kolar wrote: > > Re: /cygwin-patches/ Add locale.exe option for querying Windows UI languages >> >> Corinna Vinschen-2 wrote in >> h t t p : old nabble com >>  Add-locale.exe-option-for-querying-Windows-UI-languages-to32614984.html >> >> Therefore, afaics, it would be b

Re: openSSH

2011-10-09 Thread Andrey Repin
Greetings, Thorsten Kampe! >> 4) What files from the ssh-user-config is it necessary to move to the > other machine? > None. Just re-run ssh-user-config. You'd want to move your keys... -- WBR, Andrey Repin (anrdae...@freemail.ru) 09.10.2011, <18:56> Sorry for my terrible english... -- Prob

Re: 1.7.9: login via ssh allows Administrator privileges

2011-10-09 Thread Andrey Repin
Greetings, Michael Hoffman! > Is there a way to turn this off or remove myself from the Administrators and > root groups? I prefer not to have administrative access unless I explicitly > request it. Then don't work as user from Administrators group. Simple. -- WBR, Andrey Repin (anrdae...@freem

Re: 1.7.9: login via ssh allows Administrator privileges

2011-10-09 Thread Christian Franke
Michael Hoffman wrote: When I log in via ssh I find I have Administrator privileges: $ id -a uid=1000(Michael) gid=513(None) groups=513(None),545(Users) $ ssh localhost # id -a uid=1000(Michael) gid=513(None) groups=513(None),0(root),544(Administrators),545(Users) Is there a way to turn this

locale

2011-10-09 Thread Jan Kolar
Re: /cygwin-patches/ Add locale.exe option for querying Windows UI languages Corinna Vinschen-2 wrote in h t t p : old nabble com Add-locale.exe-option-for-querying-Windows-UI-languages-to32614984.html Therefore, afaics, it would be better if we change locale to use the GetFooDefaultUILanguag