Re: std.utf.toUTF16z and windows unicode path limits

2014-03-19 Thread Jay Norwood
How funny ... The win7 gui copy and paste failed to copy a folder with a deep directory structure ... putting up a message dialog about the pathnmames being too long! A d parallel copy rewrite works.

Re: std.utf.toUTF16z and windows unicode path limits

2014-03-18 Thread Jay Norwood
On Tuesday, 18 March 2014 at 02:02:04 UTC, Vladimir Panteleev wrote: http://d.puremagic.com/issues/show_bug.cgi?id=8967 ok, thanks. I was able to work around my issues The basic solution, as you indicated, is to prefix any long paths. Also the prefix is only usable on an absolute path.

std.utf.toUTF16z and windows unicode path limits

2014-03-17 Thread Jay Norwood
I ran into a problem with the std.file.remove() operation being limited by the windows ascii maxpath of around 260 characters, even though the low level code is calling the unicode version of windows delete, which has the capability to go up to 32k. The trick appears to be that the unicode

Re: std.utf.toUTF16z and windows unicode path limits

2014-03-17 Thread Walter Bright
I didn't know this. Please file a bugzilla enhancement request for it, and we'll see about fixing it. On 3/17/2014 6:34 PM, Jay Norwood wrote: I ran into a problem with the std.file.remove() operation being limited by the windows ascii maxpath of around 260 characters, even though the low

Re: std.utf.toUTF16z and windows unicode path limits

2014-03-17 Thread Vladimir Panteleev
On Tuesday, 18 March 2014 at 01:34:44 UTC, Jay Norwood wrote: I ran into a problem with the std.file.remove() operation being limited by the windows ascii maxpath of around 260 characters, http://d.puremagic.com/issues/show_bug.cgi?id=8967