lftp/lftp.patch

Mon, 28 Jan 2013 17:37:18 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 28 Jan 2013 17:37:18 +0100
changeset 758
a2c6460cfb16
parent 467
e2558d4b246c
permissions
-rw-r--r--

Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.

michael@466 1 Index: src/lftp_tinfo.cc
michael@466 2 --- src/lftp_tinfo.cc.orig 2008-11-27 06:56:39 +0100
michael@466 3 +++ src/lftp_tinfo.cc 2009-09-13 21:09:13 +0200
michael@466 4 @@ -23,20 +23,20 @@
michael@466 5 #include <config.h>
michael@466 6
michael@466 7 extern "C" {
michael@466 8 -#if defined(HAVE_CURSES_H)
michael@466 9 -# include <curses.h>
michael@466 10 -# if defined(HAVE_TERM_H)
michael@466 11 -# include <term.h>
michael@466 12 -# elif defined(HAVE_NCURSES_TERM_H)
michael@466 13 -# include <ncurses/term.h>
michael@466 14 -# endif
michael@466 15 -#elif defined(HAVE_NCURSES_CURSES_H)
michael@466 16 +#if defined(HAVE_NCURSES_CURSES_H)
michael@466 17 # include <ncurses/curses.h>
michael@466 18 # if defined(HAVE_NCURSES_TERM_H)
michael@466 19 # include <ncurses/term.h>
michael@466 20 # elif defined(HAVE_TERM_H)
michael@466 21 # include <term.h>
michael@466 22 # endif
michael@466 23 +#elif defined(HAVE_CURSES_H)
michael@466 24 +# include <curses.h>
michael@466 25 +# if defined(HAVE_TERM_H)
michael@466 26 +# include <term.h>
michael@466 27 +# elif defined(HAVE_NCURSES_TERM_H)
michael@466 28 +# include <ncurses/term.h>
michael@466 29 +# endif
michael@466 30 #elif defined(HAVE_TERMCAP_H)
michael@466 31 # include <termcap.h>
michael@466 32 #endif

mercurial