Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 37684b60995d623ad763eb94d94edeef > files > 4

jnr-posix-1.1.8-2.mga3.src.rpm

--- src/org/jruby/ext/posix/WindowsSecurityAttributes.java	2011-07-06 21:54:03.000000000 +0200
+++ src/org/jruby/ext/posix/WindowsSecurityAttributes.java-gil	2012-02-02 14:15:28.102886690 +0100
@@ -8,14 +8,14 @@
 public class WindowsSecurityAttributes extends HeapStruct {
     public final Unsigned32 length = new Unsigned32();
     public final Pointer securityDescriptor = new Pointer();
-    public final WBOOL inheritHandle = new WBOOL();
+    public final boolean inheritHandle;
 
     public WindowsSecurityAttributes() {
         super();
         
         // This seems like the sensible defaults for this.
         length.set(StructUtil.getSize(this));
-        inheritHandle.set(true);
+        inheritHandle = true;
     }
     
     public long getLength() {
@@ -23,6 +23,6 @@
     }
 
     public boolean getInheritHandle() {
-        return inheritHandle.get();
+        return inheritHandle;
     }
 }