Share

IBM Jikes Compiler for the Java Language

Tracker: Bugs

5 Need to remove cygwin hack - ID: 1202863
Last Update: Comment added ( nobody )

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


Davanum Srinivas ( dims ) - 2005-05-16 14:32

5

Open

None

Nobody/Anonymous

parser

None

Public


Comments ( 3 )




Date: 2005-12-25 16:15
Sender: nobody

Logged In: NO

It's been 6+ months, can someone please help with this patch?

thanks,
dims


Date: 2005-12-07 10:01
Sender: ringler

Logged In: YES
user_id=730046

Cool, thanks a lot, dims. I've been trying to build jikes
from cvs under cygwin for a while. Without success. With
your patches it finally worked!


Date: 2005-06-03 21:53
Sender: dims

Logged In: YES
user_id=215478

Did anyone take a look at this?

thanks,
dims


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.