delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/10/22:56:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3EBDBB79.2070807@ece.gatech.edu>
Date: Sat, 10 May 2003 22:54:49 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030401
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygipc (and PostgreSQL) XP problem resolved!
References: <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> <20030510171629 DOT GB11448 AT redhat DOT com> <3EBD3896 DOT 8000202 AT ece DOT gatech DOT edu> <20030510174455 DOT GB12325 AT redhat DOT com> <20030510175116 DOT GS19367 AT cygbert DOT vinschen DOT de> <3EBD44FE DOT 9030801 AT ece DOT gatech DOT edu> <20030511002000 DOT GC17951 AT redhat DOT com>
In-Reply-To: <20030511002000.GC17951@redhat.com>

Christopher Faylor wrote:

> On Sat, May 10, 2003 at 02:29:18PM -0400, Charles Wilson wrote:
> 
>>OTOH, maybe ftok() should just use hash_path_name() and not st.ino. 
>>That returns a 32bit value...
> 
> 
> Not anymore.

Now that's cheating!  I didn't just randomly say it returns a 32bit type 
-- I actually checked, darnit...  <g>

--Chuck


diff -u -r1.249 -r1.250
--- path.cc     27 Apr 2003 03:09:17 -0000      1.249
+++ path.cc     11 May 2003 00:10:10 -0000      1.250
@@ -3185,7 +3185,7 @@
     the directory.  FIXME: Not bullet-proof. */
  /* Cygwin internal */

-unsigned long __stdcall
+ino_t __stdcall
  hash_path_name (ino_t hash, const char *name)
  {
    if (!*name)



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019