Re: problem with mmap and fork()

2019-02-22 Thread Doug Henderson
On Fri, 22 Feb 2019 at 17:01, Glyn Gowing <> wrote: > I have a program (attached) that works correctly on my mac but does > not work with Cygwin on Windows 10. I'm running the latest version of > What happens in the buggy execution is that the child obtains a lock > before the parent releases it.

Re: reporting per error message request for hdparm on Windows 10 Pro

2019-02-22 Thread Rootless
Data on the drive: c:\Program Files (x86)\hdparm>hdparm -I /dev/sdb 1 [main] hdparm 25220 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com /dev/sdb: ATA device, with non-removable media Model Number:

Re: reporting per error message request for hdparm on Windows 10 Pro

2019-02-22 Thread cygwinautoreply
>c:\Program Files (x86)\hdparm>hdparm -Z /dev/sdb > 0 [main] hdparm 19868 find_fast_cwd: WARNING: Couldn't compute >FAST_CWD pointer. Please report this problem to >the public mailing list cygwin@cygwin.com >/dev/sdb: > disabling Seagate auto powersaving mode > HDIO_DRIVE_CMD(seagatepwrsave)

reporting per error message request for hdparm on Windows 10 Pro

2019-02-22 Thread Rootless
c:\Program Files (x86)\hdparm>hdparm -Z /dev/sdb 0 [main] hdparm 19868 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com /dev/sdb: disabling Seagate auto powersaving mode HDIO_DRIVE_CMD(seagatepwrsave) failed

problem with mmap and fork()

2019-02-22 Thread Glyn Gowing
Hello everyone, I have a program (attached) that works correctly on my mac but does not work with Cygwin on Windows 10. I'm running the latest version of Cygwin (downloaded the updates two days ago) and using gcc as the c compiler. What happens in the buggy execution is that the child obtains a l

Re: Question about D-Bus and cygrunsrv

2019-02-22 Thread René Berber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2/22/2019 3:55 AM, Corinna Vinschen wrote: >>> On 20 Feb 2019, at 21:50, Mike Brady >>> wrote: >>> >>> Hi there. I'm trying to set up Shairport Sync as a CYGWIN >>> service, and I'm trying to use cygrunsrv. >>> >>> Briefly, I can get everyth

Re: A little improvement for setmode(fd, 0)?

2019-02-22 Thread Corinna Vinschen
On Feb 22 16:43, Michael Haubenwallner wrote: > Hi Corinna, > > sorry to be annoying, but I'm still not completely happy with the > setmode(fd, 0) API yet: > > Using setmode(fd, 0), beyond "I am aware that not everything is binary", > an application's point of view when ported to Cygwin is someth

A little improvement for setmode(fd, 0)?

2019-02-22 Thread Michael Haubenwallner
Hi Corinna, sorry to be annoying, but I'm still not completely happy with the setmode(fd, 0) API yet: Using setmode(fd, 0), beyond "I am aware that not everything is binary", an application's point of view when ported to Cygwin is something like: "For this (maybe bidirectional) file descriptor, w

Re: sshd: computer name's case must match?

2019-02-22 Thread Bill Stewart
On Fri, Feb 22, 2019 at 2:36 AM Corinna Vinschen wrote: > The case-insensitivity patch has been accepted now so the upcoming > OpenSSH 8.0 will allow case-insensitive user and group names. This is greatly appreciated - thank you! Bill -- Problem reports: http://cygwin.com/problems.html FA

Re: Question about D-Bus and cygrunsrv

2019-02-22 Thread Mike Brady
Thanks for the response, Corinna, and the suggestion. I will do that and come back to you guys. Mike > On 22 Feb 2019, at 09:55, Corinna Vinschen wrote: > > Hey Mike, > > On Feb 21 16:56, Mike Brady wrote: >> Hello again. Further to the rather vague email below, here is a link to what >> I d

Re: Question about D-Bus and cygrunsrv

2019-02-22 Thread Corinna Vinschen
Hey Mike, On Feb 21 16:56, Mike Brady wrote: > Hello again. Further to the rather vague email below, here is a link to what > I did to install Shairport Sync on a fresh Cygwin installation: > > https://github.com/mikebrady/shairport-sync/blob/development/CYGWIN.md >

Re: Very slow start of cygwin-3.0.0-1 (32-bit)

2019-02-22 Thread Corinna Vinschen
On Feb 21 20:39, Achim Gratz wrote: > cyg...@roche.com writes: > > I am using Cygwin (32-bit) on 64-bit Windows 10 computer. This > >computer is member of a big AD domain. My account is member of a lot of > >AD groups. > > I think I'm seeing the same problem as you. If you start the shell from >

Re: sshd: computer name's case must match?

2019-02-22 Thread Corinna Vinschen
On Feb 21 13:08, Bill Stewart wrote: > On Thu, Feb 14, 2019 at 9:04 AM Bill Stewart wrote: > > > From an OpenSSH perspective, IMO, it would seem that the most > > straightforward solution would be, if possible, for sshd to ignore > > username case for incoming connections when it's running on Wind