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

Ticket #622: tango-io-assertfalse.patch

File tango-io-assertfalse.patch, 1.3 kB (added by afb, 1 year ago)

tango-io-assertfalse.patch

  • tango/io/vfs/VFS.d

    old new  
    857857                expand  (len + end_); 
    858858 
    859859                // slide tail around to insert or remove space 
     860                version (GNU) 
     861                assert(0); 
     862                else 
    860863                memmove (fp.ptr+tail+len, fp.ptr+tail, end_ +1 - tail); 
    861864 
    862865                // copy replacement 
     866                version (GNU) 
     867                assert(0); 
     868                else 
    863869                memmove (fp.ptr + head, sub.ptr, sub.length); 
    864870 
    865871                // adjust length 
  • tango/io/FilePath.d

    old new  
    839839                expand  (len + end_); 
    840840 
    841841                // slide tail around to insert or remove space 
     842                version (GNU) 
     843                assert(0); 
     844                else 
    842845                memmove (fp.ptr+tail+len, fp.ptr+tail, end_ +1 - tail); 
    843846 
    844847                // copy replacement 
     848                version (GNU) 
     849                assert(0); 
     850                else 
    845851                memmove (fp.ptr + head, sub.ptr, sub.length); 
    846852 
    847853                // adjust length