This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: BUG: shmget() [was RE: shmget() not working(?)]
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 3 Jun 2004 21:28:59 +0200
- Subject: Re: BUG: shmget() [was RE: shmget() not working(?)]
- References: <380-22004643181831593@hedden.us>
- Reply-to: cygwin at cygwin dot com
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/