bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Wget 1.11.4 and FTP Server from Windows Server 2008 R2


From: Tim Ruehsen
Subject: Re: [Bug-wget] Wget 1.11.4 and FTP Server from Windows Server 2008 R2
Date: Thu, 4 Oct 2012 15:53:35 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-3-amd64; KDE/4.8.4; x86_64; ; )

> 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

[Prev in Thread] Current Thread [Next in Thread]