> I couldn't build 6e4c3ab for MinGW without reverting the recent commit
> 67e6027 "Add support for file names longer than MAX_FILE" from Tim
> Ruehsen. I have no pathconf() here and it looks like gnulib doesn't offer
> it for mingw or msvc. I'm not suggesting it should be reverted in the main
> repo but there would have to be _PC_NAME_MAX and pathconf() substitutes
> for windows.

Hi Ray,

since I have no Win Env, could you check if something like this works ?

#ifdef WINDOWS
 ret = PATH_MAX;
#else
 ret = pathconf (*p ? p : ".", name);
#endif

It is in utils.c/get_max_length().

I read the following link, but it is not quite clear, how to go on.
http://stackoverflow.com/questions/833291/is-there-an-equivalent-to-winapis-
max-path-under-linux-unix

Regards, Tim

Reply via email to