[kaffe] CVS kaffe (robilad): davanum's fixes for cygwin

Kaffe CVS cvs-commits at kaffe.org
Fri Jul 1 04:12:22 PDT 2005


PatchSet 6675 
Date: 2005/07/01 11:06:31
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
davanum's fixes for cygwin

2005-07-01  Davanum Srinivas <dims at yahoo.com>

        * binreloc/prefix.c: (br_locate) Fix for cygwin.

        * config/i386/trampolines.S: Fixed white space.

Members: 
	ChangeLog:1.4200->1.4201 
	binreloc/prefix.c:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4200 kaffe/ChangeLog:1.4201
--- kaffe/ChangeLog:1.4200	Fri Jul  1 09:56:03 2005
+++ kaffe/ChangeLog	Fri Jul  1 11:06:31 2005
@@ -1,3 +1,9 @@
+2005-07-01  Davanum Srinivas <dims at yahoo.com>
+
+	* binreloc/prefix.c: (br_locate) Fix for cygwin.
+
+	* config/i386/trampolines.S: Fixed white space.
+
 2005-07-01  jrandom <jrandom at i2p.net>
 
 	* gnu/java/net/PlainDatagramSocketImpl.java: Removed synchronized
Index: kaffe/binreloc/prefix.c
diff -u kaffe/binreloc/prefix.c:1.2 kaffe/binreloc/prefix.c:1.3
--- kaffe/binreloc/prefix.c:1.2	Fri Dec 10 00:37:20 2004
+++ kaffe/binreloc/prefix.c	Fri Jul  1 11:06:33 2005
@@ -110,9 +110,12 @@
 
 		if (!fgets (line, sizeof (line), f))
 			continue;
-		if (!strstr (line, " r-xp ") || !strchr (line, '/'))
+		if (!strchr (line, '/'))
 			continue;
-
+#ifndef __CYGWIN__ 
+		if (!strstr (line, " r-xp "))
+			continue;
+#endif
 		sscanf (line, "%x-%x ", &start, &end);
 		if (((unsigned int) symbol) >= start && ((unsigned int) symbol) < end)
 		{



More information about the kaffe mailing list