This is the mail archive of the
mailing list for the Cygwin project.
Re: cygipc (and PostgreSQL) XP problem resolved!
On Sat, May 10, 2003 at 01:06:01PM -0400, Charles Wilson wrote:
>Corinna Vinschen wrote:
>>Is there actually a need to convert key_t to 64 bit?
>with old 32bit key_t, cygipc uses this to create a key for a given
>filepath and id#:
> key = ((st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16)
> | ((id & 0xff) << 24));
>Given the sizes of the various fields of st, there are obvious problems
>with aliasing here.
But, be advised that I'm in the process of changing the inode field to
a long long so I'm not sure that we wouldn't be just pushing this off
a little further.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html