Re: Cygwin IPC - ftok() returns negative values - Bug Report

2016-06-30 Thread Corinna Vinschen
On Jun 29 20:13, Stanisław Wawszczak wrote: > > > > Do you have the cygserver service running? (See > > /usr/share/doc/Cygwin/cygserver.README.) > > > > Ken > Yes, I have. And I have believed that defaults are as stated in config file, > but they aren't. > Just after uncommenting the >

RE: Cygwin IPC - ftok() returns negative values - Bug Report

2016-06-29 Thread Stanisław Wawszczak
> > Do you have the cygserver service running? (See > /usr/share/doc/Cygwin/cygserver.README.) > > Ken Yes, I have. And I have believed that defaults are as stated in config file, but they aren't. Just after uncommenting the kern.ipc.semmsl 60 config line and restarting the cygserver it

Re: Cygwin IPC - ftok() returns negative values - Bug Report

2016-06-29 Thread Ken Brown
On 6/29/2016 3:20 PM, Stanisław Wawszczak wrote: On 29/06/2016 18:06, Stanisław Wawszczak wrote: *Real question is why Cygwin's implementation of getsem() is not allowing to ask for more than nsems == 1?* Here is stated, that the platform is limiting the nsems value:

RE: Cygwin IPC - ftok() returns negative values - Bug Report

2016-06-29 Thread Stanisław Wawszczak
>On 29/06/2016 18:06, Stanisław Wawszczak wrote: >> Dear Corinna, >> >> I am sorry about confusing you. >> Simply: >> >> - Issue >> >> Call to ftok() returns negative value > > Hi Stanisław, > > may be I am missing somthing, but

Re: Cygwin IPC - ftok() returns negative values - Bug Report

2016-06-29 Thread Marco Atzeri
On 29/06/2016 18:06, Stanisław Wawszczak wrote: Dear Corinna, I am sorry about confusing you. Simply: - Issue Call to ftok() returns negative value Hi Stanisław, may be I am missing somthing, but nothing on

RE: Cygwin IPC - ftok() returns negative values - Bug Report

2016-06-29 Thread Stanisław Wawszczak
nna Vinschen Sent: Wednesday, June 29, 2016 5:15 PM To: cygwin@cygwin.com Subject: Re: Cygwin IPC - ftok() returns negative values - Bug Report On Jun 29 13:14, Stanisław Wawszczak wrote: > Dear All, >   > I have had to compile sblim-sfcbd-1.4.10 on Cygwin. It is using IPC > semaphores

Re: Cygwin IPC - ftok() returns negative values - Bug Report

2016-06-29 Thread Corinna Vinschen
On Jun 29 13:14, Stanisław Wawszczak wrote: > Dear All, >   > I have had to compile sblim-sfcbd-1.4.10 on Cygwin. It is using IPC > semaphores. > Unfortunately it is returning wrong value as the result of complicated > bit-wise logical operations. > I have tried to “hack the system” and make

Cygwin IPC - ftok() returns negative values - Bug Report

2016-06-29 Thread Stanisław Wawszczak
Dear All,   I have had to compile sblim-sfcbd-1.4.10 on Cygwin. It is using IPC semaphores. Unfortunately it is returning wrong value as the result of complicated bit-wise logical operations. I have tried to “hack the system” and make multiplication of returned value by -1, but it triggers error