Changeset 250

Show
Ignore:
Timestamp:
03/31/07 13:04:34 (1 year ago)
Author:
aldacron
Message:

[DerelictUtil?]
* loader.d was ignoring the mac library name string
* added a test to check for null or empty library name strings in loader.d after the libNameString variable is set (empty strings are possible on Mac, since most of the packages currently pass an empty string to the loader)

Files:

Legend:

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

    r237 r250  
    366366                libNameString = linLibs; 
    367367            } 
     368            else version(darwin) { 
     369                libNameString = macLibs; 
     370            } 
     371             
     372            if(libNameString is null || libNameString == "") 
     373            { 
     374                throw new DerelictException("Invalid library name"); 
     375            } 
    368376        } 
    369377