[Issue 7002] std.path needs a isValidFilePath function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 27 20:40:11 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=7002



--- Comment #5 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-11-27 20:39:12 PST ---
One more thing, your solution doesn't work because a user might pass a
different dir separator, IOW on Windows this would pass while it should be
rejected:
C:\dir\name/

It needs to be in the library so people don't reinvent it all the damn time.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list