Hi,

3.0.13 seems to have reverted parts of the Hurd patch we provided
earlier; gopher/download.c now again first checks for HAVE_GETCWD and
then HAVE_GET_CURRENT_DIR_NAME around lines 250 and 400.  As the former
is (i) defined on the Hurd but (ii) uses the undefined MAXPATHLEN macro,
it FTBFS again:

gcc -g -O2 -Wall  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS
-DCONTROLX   -DGOPHERLIB=\"//etc/gopher\"
-DGOPHERHELP=\"//etc/gopher/gopher.hlp\"
-DGLOBALRC=\"//etc/gopher/gopher.rc\"
-DREMOTERC=\"//etc/gopher/gopherremote.rc\" -c download.c
download.c: In function 'Download_file':
download.c:235: warning: null argument where non-null required (argument
2)
download.c:235: warning: null argument where non-null required (argument
2)
download.c:237: warning: null argument where non-null required (argument
2)
download.c:237: warning: null argument where non-null required (argument
2)
download.c:259: error: 'MAXPATHLEN' undeclared (first use in this
function)
download.c:259: error: (Each undeclared identifier is reported only once
download.c:259: error: for each function it appears in.)
download.c: In function 'BuiltinDownload':
download.c:405: error: 'MAXPATHLEN' undeclared (first use in this
function)
make[2]: *** [download.o] Error 1

Did you revert this by accident, or were there issues with the patch you
fixed?  We can send a new patch if you need, or just apply the reverted
hunks from the original patch in this bug report.


thanks,

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to