summaryrefslogtreecommitdiffstats
path: root/recipes-core/classpath/classpath-initial-0.93/miscompilation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/classpath/classpath-initial-0.93/miscompilation.patch')
-rw-r--r--recipes-core/classpath/classpath-initial-0.93/miscompilation.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-core/classpath/classpath-initial-0.93/miscompilation.patch b/recipes-core/classpath/classpath-initial-0.93/miscompilation.patch
new file mode 100644
index 0000000..99db6f3
--- /dev/null
+++ b/recipes-core/classpath/classpath-initial-0.93/miscompilation.patch
@@ -0,0 +1,13 @@
1Index: classpath-0.93/native/jni/java-io/java_io_VMFile.c
2===================================================================
3--- classpath-0.93.orig/native/jni/java-io/java_io_VMFile.c 2006-09-23 07:17:45.000000000 +0200
4+++ classpath-0.93/native/jni/java-io/java_io_VMFile.c 2008-11-14 13:41:27.000000000 +0100
5@@ -239,7 +239,7 @@
6 {
7 #ifndef WITHOUT_FILESYSTEM
8 const char *filename;
9- int result;
10+ volatile int result;
11
12 /* Don't use the JCL convert function because it throws an exception
13 on failure */