Re: Cygwin 1.7.x on Windows 7: Exit statuses of Win32 executables are sometimes wrong

2011-04-29 Thread John Dong
Hi Edward, Yeah, I forgot to mention that I tried scripting it in a batch file outside cygwin in much the same way as your script, and it ran for a day or two without fail. I can keep that going for longer just in case it fails less frequently, but I don't think it's a Windows / MSVCRT bug. J

Re: Cygwin 1.7.x on Windows 7: Exit statuses of Win32 executables are sometimes wrong

2011-04-29 Thread Edward McGuire
On Fri, Apr 29, 2011 at 13:35, John Dong wrote: >I've tried using a different shell (like dash), but it doesn't make a >difference, leading me to suspect this to be a lower-level issue within the >Cygwin DLL. Have you tried it with the stock Windows command processor? Something like this (untest

Re: False positive from access("/proc/registry/...", F_OK)

2011-04-29 Thread Christian Franke
Corinna Vinschen wrote: On Apr 27 12:26, Christian Franke wrote: Problem was likely introduced by fhandler_registry.cc change 1.52: fhandler_registry::exists () ... if (!val_only) hKey = open_key (path, KEY_READ, wow64, false); - if (hKey != (HKEY) INVALID_HANDLE_VALUE) +

Re: CYGWIN withholds error message when trying to run 64-bit binary on 32-bit PC

2011-04-29 Thread John Ottusch
> > THe problem is that the Win32 error code ERROR_EXE_MACHINE_TYPE_MISMATCH > isn't mapped to a POSIX errno. Thus it's converted to the default EACCES. > I checked in a patch to CVS which maps the error code to ENOEXEC. > > Corinna > Mucho thanko. I'll look forward to the next CYGWIN rele

[ANNOUNCEMENT] Updated: httping 1.4.4-2 -- Ping-like program for http-requests

2011-04-29 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://freshmeat.net/projects/httping License : GPL Show how long it takes to connect to a hostname or remote url; send a request and retrieve the reply (only the headers). CHANGES SINCE LAST RELEASE == - Cygwin: remove

Re: CYGWIN withholds error message when trying to run 64-bit binary on 32-bit PC

2011-04-29 Thread Corinna Vinschen
On Apr 29 17:52, John Ottusch wrote: > I have a Windows console application that I build in both 32-bit and 64-bit > versions. They both have the same name (fsr.exe). > > The 32-bit version runs from a CYGWIN bash shell console window on a 32-bit PC > and a 64-bit PC. The 64-bit version runs from

'About GNU Pascal' translation

2011-04-29 Thread Bohdan Zograf
Hi! I'm willing to translate publication located at http://www.gnu-pascal.de/gpc/h-about.html to the Belorussian language (my mother tongue). What I'm asking for is your written permission, so you don't mind after I'll post the translation to my blog. The translation is intended only for web,

Cygwin 1.7.x on Windows 7: Exit statuses of Win32 executables are sometimes wrong

2011-04-29 Thread John Dong
Hi, Cygwin on Windows 7, seems to exhibit a rather peculiar behavior: Sometimes the exit status of a Win32 process is incorrectly captured by Cygwin. I'm running Cygwin 1.7.9(0.237/5/3) on Windows 7 64-bit, but I've reproduced this behavior with every release of Cygwin 1.7 on both 32-bit and 64

Re: Request: LFTP Update to 4.2.2

2011-04-29 Thread Chris Sutcliffe
On 29 April 2011 14:10, Chris Sutcliffe wrote: > I'm still getting the error and I've attached my cygcheck.out.  I've > tried uninstalling my anti-virus software and that didn't help either. >  I'm at a loss as to what else to check.  Everything else Cygwin > related seems to be working OK. Issue

Re: Request: LFTP Update to 4.2.2

2011-04-29 Thread Chris Sutcliffe
On 27 April 2011 10:20, Andrew Schulman wrote: >> On 26 April 2011 21:52, Chris Sutcliffe wrote: >> > Seems like this build is broken, no matter what I try with it, I get >> > the results similar to the following: >> > >> >    493 [main] lftp 4024 exception::handle: Exception: >> > STATUS_ACCESS_V

CYGWIN withholds error message when trying to run 64-bit binary on 32-bit PC

2011-04-29 Thread John Ottusch
I have a Windows console application that I build in both 32-bit and 64-bit versions. They both have the same name (fsr.exe). The 32-bit version runs from a CYGWIN bash shell console window on a 32-bit PC and a 64-bit PC. The 64-bit version runs from a Cygwin bash shell console window only on a 64

Re: Bump! SSH works great, SFTP with a keypair fails. Please take a look at this log...

2011-04-29 Thread Larry Hall (Cygwin)
On 4/28/2011 11:54 PM, Jason Schamp wrote: sftp-server.exe has the privileged server and domain users in the NTFS security and the privilege server has modify rights. If the users are domain users, is the user running the service a domain privileged account? -- Larry _

Re: Enable logging remote ssh contacts

2011-04-29 Thread Cyrille Lefevre
Le 29/04/2011 10:44, Corinna Vinschen a écrit : On Apr 29 01:21, Fokke Nauta wrote: I can't reproduce the SEGV. However, your expression is wrong anyway: - (getfacl messages | echo group:Users:r--) typo, sorry - setfacl -m -f - typo yet, I would like to say -r -f - humm, what is the

Re: Enable logging remote ssh contacts

2011-04-29 Thread Fokke Nauta
Corinna Vinschen-2 wrote: > > On Apr 29 02:02, Fokke Nauta wrote: >> Corinna Vinschen-2 wrote: >> > Fortunately you can also use the gid instead of the group name: >> > >> > (getfacl messages ; echo group:545:r--) | setfacl -f - >> > >> > >> > Corinna >> > >> >> Hi, >> >> Thanks. >> E

Re: Enable logging remote ssh contacts

2011-04-29 Thread Corinna Vinschen
On Apr 29 02:02, Fokke Nauta wrote: > Corinna Vinschen-2 wrote: > > Fortunately you can also use the gid instead of the group name: > > > > (getfacl messages ; echo group:545:r--) | setfacl -f - > > > > > > Corinna > > > > Hi, > > Thanks. > Entering "(getfacl messages ; echo group:545:r-

Re: Enable logging remote ssh contacts

2011-04-29 Thread Fokke Nauta
Corinna Vinschen-2 wrote: > > On Apr 29 01:21, Fokke Nauta wrote: >> Cyrille Lefevre wrote: >> > no, setfacl %-| >> > >> > (getfacl messages | echo group:Users:r--) | setfacl -m -f - messages >> > >> > PS : replace Users by the equivalents group on your system >> (Utilisateurs >> > in french

Re: Enable logging remote ssh contacts

2011-04-29 Thread Corinna Vinschen
On Apr 29 01:21, Fokke Nauta wrote: > Cyrille Lefevre wrote: > > no, setfacl %-| > > > > (getfacl messages | echo group:Users:r--) | setfacl -m -f - messages > > > > PS : replace Users by the equivalents group on your system (Utilisateurs > > in french under Vista, don't know under XP ?) > > we

Re: Enable logging remote ssh contacts

2011-04-29 Thread Fokke Nauta
Cyrille Lefevre wrote: > > > Le 28/04/2011 14:29, Fokke Nauta a écrit : > Hi, >> Thanks for your help and explanation. > > you're welcome... > >> For a beginning: "syslogd must be started before sshd... does it ?" >> It does. I can read the file /var/log/messages from the Cygwin shell and >>

[ANNOUNCEMENT] New package: dos2unix-5.3-1

2011-04-29 Thread Erwin Waterlander
Version 5.3-1 of dos2unix has been uploaded. DESCRIPTION: = This is an update of Benjamin Lin's implementations of dos2unix and unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos are part of several Linux distributions such as RedHat, Fedora, Suse, Gentoo and others. Th