This is the mail archive of the cygwin@sources.redhat.com 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]

Re: Possible bug and solution for shmget with a FIXED attribute


On Thu, Feb 22, 2001 at 10:13:31PM -0500, Gene Spleen wrote:
> In mmap.cc, the function fhandler_disk_file::mmap has as its first
> paramater addr, the requested address for a memory attachment.  Actually, 
> this is the ADDRESS of the value for the memory location requested for this 
> attachment.  See this, the call to MapViewOfFileEx looks like it should 
> change it's addr parameter to *addr.  Thoughts?

I don't know if that helps in your case but it's definitly an oversight
in the code. I have checked in a patch.

Thanks for the hint,
Corinna

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

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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