folks,
need to remove the cygwin hack or at lease add a #ifdef
for it. causes problems with newer versions of cygwin.
thanks,
dims
Index: src/platform.cpp
===================================================================
RCS file: /cvsroot/jikes/jikes/src/platform.cpp,v
retrieving revision 1.47
diff -u -r1.47 platform.cpp
--- src/platform.cpp 23 Mar 2004 14:03:56 -0000
1.47
+++ src/platform.cpp 16 May 2005 14:28:13 -0000
@@ -201,15 +201,6 @@
int SystemStat(const char* name, struct stat* stat_struct)
{
int result = ::stat(name, stat_struct);
-#ifdef HAVE_SYS_CYGWIN_H
- //
- // Up through cygwin 1.3.10, the hash function
which determines inodes
- // was not strong enough, so java/net and java/nio
occasionally get the
- // same inode without this hack.
- //
- if (result == 0)
- stat_struct -> st_ino += name[strlen(name) - 1];
-#endif // HAVE_SYS_CYGWIN_H
return result;
}
Thanks,
dims
Nobody/Anonymous
parser
None
Public
|
Date: 2005-12-25 16:15 Logged In: NO |
|
Date: 2005-12-07 10:01 Logged In: YES |
|
Date: 2005-06-03 21:53 Logged In: YES |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use