Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 2169

Show
Ignore:
Timestamp:
05/05/07 17:31:23 (2 years ago)
Author:
Gregor
Message:

patches/GDC-0.24-SVN.diff: No longer tries to patch the patch file.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/patches/GDC-0.24-SVN.diff

    r2168 r2169  
    6161  
    6262 /** 
    63 Index: patches/GDC-0.24-SVN.diff 
    64 =================================================================== 
    65 --- patches/GDC-0.24-SVN.diff   (revision 2167) 
    66 +++ patches/GDC-0.24-SVN.diff   (working copy) 
    67 @@ -1,6 +1,6 @@ 
    68  Index: object.di 
    69  =================================================================== 
    70 ---- object.di  (revision 2118) 
    71 +--- object.di  (revision 2167) 
    72  +++ object.di  (working copy) 
    73  @@ -47,13 +47,10 @@ 
    74       // 8:       // has constructors 
    75 @@ -18,7 +18,7 @@ 
    76   struct OffsetTypeInfo 
    77  Index: lib/common/tango/core/Thread.d 
    78  =================================================================== 
    79 ---- lib/common/tango/core/Thread.d (revision 2118) 
    80 +--- lib/common/tango/core/Thread.d (revision 2167) 
    81  +++ lib/common/tango/core/Thread.d (working copy) 
    82  @@ -831,7 +831,8 @@ 
    83               { 
    84 @@ -42,47 +42,21 @@ 
    85               } 
    86  Index: lib/compiler/gdc/genobj.d 
    87  =================================================================== 
    88 ---- lib/compiler/gdc/genobj.d  (revision 2118) 
    89 +--- lib/compiler/gdc/genobj.d  (revision 2167) 
    90  +++ lib/compiler/gdc/genobj.d  (working copy) 
    91 -@@ -155,6 +155,41 @@ 
    92 -     //  4:                      // has offTi[] member 
    93 -     void *deallocator; 
    94 +@@ -156,7 +156,6 @@ 
    95 +     //  8:                      // has constructors 
    96 +     void*       deallocator; 
    97       OffsetTypeInfo[] offTi; 
    98 -+    void function(Object) defaultConstructor;   // default Constructor 
    99 -+ 
    100 -+    /** 
    101 -+     * Search all modules for ClassInfo corresponding to classname. 
    102 -+     * Returns: null if not found 
    103 -+     */ 
    104 -+    static ClassInfo find(char[] classname) 
    105 -+    { 
    106 -+        foreach (m; ModuleInfo.modules()) 
    107 -+        { 
    108 -+            //writefln("module %s, %d", m.name, m.localClasses.length); 
    109 -+            foreach (c; m.localClasses) 
    110 -+            { 
    111 -+                //writefln("\tclass %s", c.name); 
    112 -+                if (c.name == classname) 
    113 -+                    return c; 
    114 -+            } 
    115 -+        } 
    116 -+        return null; 
    117 -+    } 
    118 -+ 
    119 -+    /** 
    120 -+     * Create instance of Object represented by 'this'. 
    121 -+     */ 
    122 -+    Object create() 
    123 -+    { 
    124 -+        if (flags & 8 && !defaultConstructor) 
    125 -+            return null; 
    126 -+        Object o = _d_newclass(this); 
    127 -+        if (flags & 8 && defaultConstructor) 
    128 -+        { 
    129 -+            defaultConstructor(o); 
    130 -+        } 
    131 -+        return o; 
    132 -+    } 
    133 +-/+ 
    134 +     void function(Object) defaultConstructor;   // default Constructor 
    135 +  
    136 +     /** 
    137 +@@ -192,7 +191,6 @@ 
    138 +         } 
    139 +         return o; 
    140 +     } 
    141 +-+/ 
    142   } 
    143    
    144 -  
    145 + /**