This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BUG: shmget() [was RE: shmget() not working(?)]


On Jun  3 14:18, Jerry D. Hedden wrote:
> shmget() is not able to 'find' an existing shared memory segment
> unless the 'flags' argument is set to '0'.  This is a bug.  If
> flags = 0666 (or at least compatible with the permissions set
> when the segment was created), it should still be able to find
> and use the segment.

Yes, it's a bug.  And I already found the cause, I used an internal flag
value which matches the upper permission bit.  Urgh.  This requires not
only another Cygserver, but also a new Cygwin DLL.

Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]