peteraritchie / LongPath

drop-in library to support long paths in .NET
GNU Lesser General Public License v3.0
112 stars 43 forks source link

Path.GetFileName throws if path is null #38

Closed canton7 closed 8 years ago

canton7 commented 8 years ago

System.IO.Path.GetFileName returns null if the input is null. Pri.LongPath.Path.GetFileName used to do the same (since it simply delegated to System.IO.Path.GetFileName).

However it no longer does so, since it calls Path.NormalizeLongPath which throws if its input is null.

peteraritchie commented 8 years ago

closed by 26791699cd3373e814559dc13680df5bc5d17a75

canton7 commented 8 years ago

:+1: thanks