This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: cygipc (and PostgreSQL) XP problem resolved!


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/


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