summaryrefslogtreecommitdiff
path: root/recipes/classpath/files/miscompilation-0.93.patch
blob: 99db6f3003fcb6453d62e7b3daf07521e3251adc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: classpath-0.93/native/jni/java-io/java_io_VMFile.c
===================================================================
--- classpath-0.93.orig/native/jni/java-io/java_io_VMFile.c	2006-09-23 07:17:45.000000000 +0200
+++ classpath-0.93/native/jni/java-io/java_io_VMFile.c	2008-11-14 13:41:27.000000000 +0100
@@ -239,7 +239,7 @@
 {
 #ifndef WITHOUT_FILESYSTEM
   const char *filename;
-  int result;
+  volatile int result;
 
   /* Don't use the JCL convert function because it throws an exception
      on failure */