Changeset 280

Show
Ignore:
Timestamp:
01/07/08 07:29:33 (6 months ago)
Author:
aldacron
Message:

* fixes for the latest version of Tango (0.99.4 Frank)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/DerelictUtil/derelict/util/wrapper.d

    r261 r280  
    5555    version(Tango) 
    5656    { 
    57         return toUtf8z(str); 
     57        return toStringz(str); 
    5858    } 
    5959    else 
  • trunk/buildme.d

    r271 r280  
    4141    { 
    4242        import tango.text.Ascii; 
    43         import tango.text.String; 
    4443        import tango.text.Util; 
    4544        import tango.io.File; 
     
    203202        version(Tango) 
    204203        { 
    205            bool filter(FilePath p, bool isDir) 
    206            { 
    207                char[] name = p.name; 
    208                if(isDir && name[0] != '.') 
    209                    return true; 
    210                 return false;   
    211            } 
     204            bool filter(FilePath p, bool isDir) 
     205            { 
     206                char[] name = p.name; 
     207                if(isDir && name[0] != '.') 
     208                    return true; 
     209                return false; 
     210            } 
    212211            scope dir = new FilePath("."); 
    213212            foreach(p; dir.toList(&filter)) 
     
    399398    version(Tango) 
    400399    { 
    401         scope s = new String!(char)(a); 
    402         return s.compare(b); 
     400        return compare(a,b); 
    403401    } 
    404402    else 
     
    430428    version(Tango) 
    431429    { 
    432         return toUtf8z(str); 
     430        return toStringz(str); 
    433431    } 
    434432    else 
     
    481479        write(name, cast(void[])contents); 
    482480    } 
    483  
    484 
    485  
     481