Changeset 2177


Ignore:
Timestamp:
6/18/2010 6:42:04 AM (5 years ago)
Author:
lowjoel
Message:

Forward-port from Eraser 6.0: Fixed potential ArgumentException? when a network path is simply remembered, but not mounted.

Location:
trunk/eraser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser

  • trunk/eraser/Eraser.Util/VolumeInfo.cs

    r2173 r2177  
    273273                                        (IntPtr)pointer, typeof(NativeMethods.NETRESOURCE)); 
    274274 
     275                                //Skip all UNC paths without a local mount point 
     276                                if (resource.lpLocalName == null) 
     277                                    continue; 
     278 
    275279                                //Ensure that the path in the resource structure ends with a trailing 
    276280                                //backslash as out volume ID ends with one. 
Note: See TracChangeset for help on using the changeset viewer.