]> git.pld-linux.org Git - packages/smalltalk.git/blob - smalltalk-aligned.patch
- BR: texinfo
[packages/smalltalk.git] / smalltalk-aligned.patch
1 fault_address isn't always aligned properly for reading of pointer
2 (i.e. OOP, which is struct OOP *) - so read only one byte.
3 --- smalltalk-2.1.8/libgst/oop.c.orig   2004-01-09 13:05:15.000000000 +0100
4 +++ smalltalk-2.1.8/libgst/oop.c        2004-07-15 16:58:13.000000000 +0200
5 @@ -856,7 +856,7 @@
6      }
7  
8    /* Try accessing the page */
9 -  (void) *(volatile OOP *) fault_address;
10 +  (void) *(volatile char *) fault_address;
11    reentering = 0;
12  
13  #if defined (MMAN_DEBUGGING)
This page took 0.029993 seconds and 3 git commands to generate.