On Tue, Sep 13, 2011 at 5:33 PM, Bruno Haible wrote:
> Bastien ROUCARIES wrote:
>> 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)
>
> Yes, and this surgery
Bastien ROUCARIES wrote:
> 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)
Yes, and this surgery would be overkill for gnulib. 99.9% of all users
and applicat
On 09/13/2011 07:07 AM, Bastien ROUCARIES wrote:
On Tue, Sep 13, 2011 at 2:50 PM, Eric Blake 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
On Tue, Sep 13, 2011 at 2:50 PM, Eric Blake 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
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
PATH_MAX is this value for win32 name not for kernel name like \\?\c\.
It is 32k in this case.
Bastien
On Tue, Sep 13, 2011 at 1:08 PM, Bruno Haible wrote:
> Another PATH_MAX related compilation failure on MSVC occurs in lib/stat.c:
>
> stat.c(76) : fatal error C1189: #error : "Please port this
Another PATH_MAX related compilation failure on MSVC occurs in lib/stat.c:
stat.c(76) : fatal error C1189: #error : "Please port this replacement to your
platform"
make[4]: *** [stat.obj] Error 2
This fixes it.
2011-09-13 Bruno Haible
stat: Support for MSVC.
* lib/stat.c:
lib/tmpfile.c and lib/tmpdir.c give compilation errors on MSVC 9,
because PATH_MAX is not defined.
Also, mingw defines PATH_MAX in , but to a wrong value (259
instead of 260). Same mistake as on HP-UX.
This fixes it:
2011-09-13 Bruno Haible
pathmax: Support for native Windows