Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 10 May 2003 13:16:29 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cygipc (and PostgreSQL) XP problem resolved! Message-ID: <20030510171629.GB11448@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20030507133326 DOT GA1824 AT tishler DOT net> <3EB9A54B DOT 8060500 AT ece DOT gatech DOT edu> <20030508135217 DOT GD512 AT tishler DOT net> <3EBB22F5 DOT 4000801 AT ece DOT gatech DOT edu> <1052541657 DOT 1675 DOT 5 DOT camel AT localhost> <3EBC8ED0 DOT 4040906 AT ece DOT gatech DOT edu> <20030510072239 DOT GA19367 AT cygbert DOT vinschen DOT de> <1052554219 DOT 1824 DOT 14 DOT camel AT localhost> <20030510082949 DOT GD19367 AT cygbert DOT vinschen DOT de> <3EBD3179 DOT 6070004 AT ece DOT gatech DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EBD3179.6070004@ece.gatech.edu> User-Agent: Mutt/1.4.1i 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? >> >>Corinna >> > >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. cgf -- 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/