On Tue, Sep 13, 2011 at 2:50 PM, Eric Blake <ebl...@redhat.com> wrote:
> On 09/13/2011 06:47 AM, Bastien ROUCARIES wrote:
>>
>> PATH_MAX is this value for win32 name not for kernel name like \\?\c\.
>> It is 32k in this case.
>
> When using kernel APIs (like cygwin does), then yes, the limit is 32k. But
> when using Windows APIs (like mingw and MSVC do), then you are better off
> using 260, which is the limit of windows APIs for all programs that do not
> bypass windows APIs in favor of kernel APIs.  I see nothing to change here;
> gnulib is correct in using 260.

Not sure according to
http://msdn.microsoft.com/en-us/library/aa365247%28v=vs.85%29.aspx#nt_namespaces

You could use this syntax with win32 api. I used it for opening long
path and it used byapache on windows. However it will need some
surgery in order to be used (convert utf8 to ucs2)
>
> --
> Eric Blake   ebl...@redhat.com    +1-801-349-2682
> Libvirt virtualization library http://libvirt.org
>

Reply via email to