Loading CHANGES +7 −0 Original line number Original line Diff line number Diff line Loading @@ -8,6 +8,13 @@ Daniel (24 November 2005) - Doug Kaufman provided a set of patches to make curl build fine on DJGPP again using configure. - Yang Tse provided a whole series of patches to clear up compiler warnings on MSVC 6. Daniel (17 November 2005) Daniel (17 November 2005) - I extended a patch from David Shaw to make libcurl _always_ provide an error - I extended a patch from David Shaw to make libcurl _always_ provide an error string in the given error buffer to address the flaw mention on 21 sep 2005. string in the given error buffer to address the flaw mention on 21 sep 2005. Loading RELEASE-NOTES +2 −1 Original line number Original line Diff line number Diff line Loading @@ -19,6 +19,7 @@ This release includes the following changes: This release includes the following bugfixes: This release includes the following bugfixes: o builds fine on DJGPP o CURLOPT_ERRORBUFFER is now always filled in on errors o CURLOPT_ERRORBUFFER is now always filled in on errors o curl outputs error on bad --limit-rate units o curl outputs error on bad --limit-rate units o fixed libcurl's use of poll() on cygwin o fixed libcurl's use of poll() on cygwin Loading Loading @@ -52,6 +53,6 @@ advice from friends like these: Dave Dribin, Bradford Bruce, Temprimus, Ofer, Dima Barsky, Amol Pattekar, Jaz Dave Dribin, Bradford Bruce, Temprimus, Ofer, Dima Barsky, Amol Pattekar, Jaz Fresh, tommink[at]post.pl, Gisle Vanem, Nis Jorgensen, Vilmos Nebehaj, Fresh, tommink[at]post.pl, Gisle Vanem, Nis Jorgensen, Vilmos Nebehaj, Dmitry Bartsevich, David Lang, Eugene Kotlyarov, Jan Kunder, Yang Tse, Dmitry Bartsevich, David Lang, Eugene Kotlyarov, Jan Kunder, Yang Tse, Quagmire, Albert Chin, David Shaw Quagmire, Albert Chin, David Shaw, Doug Kaufman Thanks! (and sorry if I forgot to mention someone) Thanks! (and sorry if I forgot to mention someone) configure.ac +13 −2 Original line number Original line Diff line number Diff line Loading @@ -1504,6 +1504,13 @@ dnl Checks for library functions. dnl AC_PROG_GCC_TRADITIONAL dnl AC_PROG_GCC_TRADITIONAL AC_TYPE_SIGNAL AC_TYPE_SIGNAL dnl AC_FUNC_VPRINTF dnl AC_FUNC_VPRINTF case $host in *msdosdjgpp) ac_cv_func_pipe=no skipcheck_pipe=yes AC_MSG_NOTICE([skip check for pipe on msdosdjgpp]) ;; esac AC_CHECK_FUNCS( strtoll \ AC_CHECK_FUNCS( strtoll \ socket \ socket \ select \ select \ Loading Loading @@ -1542,6 +1549,7 @@ dnl if found [], [], dnl if not found, $ac_func is the name we check for dnl if not found, $ac_func is the name we check for func="$ac_func" func="$ac_func" if test "skipcheck_$func" != "yes"; then AC_MSG_CHECKING([deeper for $func]) AC_MSG_CHECKING([deeper for $func]) AC_TRY_LINK( [], AC_TRY_LINK( [], [ $func ();], [ $func ();], Loading @@ -1551,7 +1559,7 @@ dnl if not found, $ac_func is the name we check for AC_DEFINE_UNQUOTED($def, 1, [If you have $func]), AC_DEFINE_UNQUOTED($def, 1, [If you have $func]), AC_MSG_RESULT(but still no) AC_MSG_RESULT(but still no) ) ) fi ) ) dnl For some reason, the check above doesn't properly detect select() with dnl For some reason, the check above doesn't properly detect select() with Loading Loading @@ -1589,6 +1597,9 @@ AC_CHECK_DECL(basename, , #ifdef HAVE_LIBGEN_H #ifdef HAVE_LIBGEN_H #include <libgen.h> #include <libgen.h> #endif #endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif ) ) AC_MSG_CHECKING([if we are Mac OS X (to disable poll)]) AC_MSG_CHECKING([if we are Mac OS X (to disable poll)]) Loading lib/setup.h +3 −0 Original line number Original line Diff line number Diff line Loading @@ -200,6 +200,7 @@ typedef unsigned char bool; #define sread(x,y,z) read_s(x,y,z) #define sread(x,y,z) read_s(x,y,z) #define swrite(x,y,z) write_s(x,y,z) #define swrite(x,y,z) write_s(x,y,z) #define select(n,r,w,x,t) select_s(n,r,w,x,t) #define select(n,r,w,x,t) select_s(n,r,w,x,t) #define ioctl(x,y,z) ioctlsocket(x,y,(char *)(z)) #define IOCTL_3_ARGS #define IOCTL_3_ARGS #include <tcp.h> #include <tcp.h> #ifdef word #ifdef word Loading Loading @@ -229,7 +230,9 @@ typedef unsigned char bool; #endif #endif #define DIR_CHAR "/" #define DIR_CHAR "/" #ifndef DOT_CHAR #define DOT_CHAR "." #define DOT_CHAR "." #endif #ifdef DJGPP #ifdef DJGPP #undef DOT_CHAR #undef DOT_CHAR Loading lib/transfer.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -214,7 +214,7 @@ CURLcode Curl_readrewind(struct connectdata *conn) if(data->set.ioctl) { if(data->set.ioctl) { curlioerr err; curlioerr err; err = data->set.ioctl(data, CURLIOCMD_RESTARTREAD, err = (data->set.ioctl) (data, CURLIOCMD_RESTARTREAD, data->set.ioctl_client); data->set.ioctl_client); infof(data, "the ioctl callback returned %d\n", (int)err); infof(data, "the ioctl callback returned %d\n", (int)err); Loading Loading
CHANGES +7 −0 Original line number Original line Diff line number Diff line Loading @@ -8,6 +8,13 @@ Daniel (24 November 2005) - Doug Kaufman provided a set of patches to make curl build fine on DJGPP again using configure. - Yang Tse provided a whole series of patches to clear up compiler warnings on MSVC 6. Daniel (17 November 2005) Daniel (17 November 2005) - I extended a patch from David Shaw to make libcurl _always_ provide an error - I extended a patch from David Shaw to make libcurl _always_ provide an error string in the given error buffer to address the flaw mention on 21 sep 2005. string in the given error buffer to address the flaw mention on 21 sep 2005. Loading
RELEASE-NOTES +2 −1 Original line number Original line Diff line number Diff line Loading @@ -19,6 +19,7 @@ This release includes the following changes: This release includes the following bugfixes: This release includes the following bugfixes: o builds fine on DJGPP o CURLOPT_ERRORBUFFER is now always filled in on errors o CURLOPT_ERRORBUFFER is now always filled in on errors o curl outputs error on bad --limit-rate units o curl outputs error on bad --limit-rate units o fixed libcurl's use of poll() on cygwin o fixed libcurl's use of poll() on cygwin Loading Loading @@ -52,6 +53,6 @@ advice from friends like these: Dave Dribin, Bradford Bruce, Temprimus, Ofer, Dima Barsky, Amol Pattekar, Jaz Dave Dribin, Bradford Bruce, Temprimus, Ofer, Dima Barsky, Amol Pattekar, Jaz Fresh, tommink[at]post.pl, Gisle Vanem, Nis Jorgensen, Vilmos Nebehaj, Fresh, tommink[at]post.pl, Gisle Vanem, Nis Jorgensen, Vilmos Nebehaj, Dmitry Bartsevich, David Lang, Eugene Kotlyarov, Jan Kunder, Yang Tse, Dmitry Bartsevich, David Lang, Eugene Kotlyarov, Jan Kunder, Yang Tse, Quagmire, Albert Chin, David Shaw Quagmire, Albert Chin, David Shaw, Doug Kaufman Thanks! (and sorry if I forgot to mention someone) Thanks! (and sorry if I forgot to mention someone)
configure.ac +13 −2 Original line number Original line Diff line number Diff line Loading @@ -1504,6 +1504,13 @@ dnl Checks for library functions. dnl AC_PROG_GCC_TRADITIONAL dnl AC_PROG_GCC_TRADITIONAL AC_TYPE_SIGNAL AC_TYPE_SIGNAL dnl AC_FUNC_VPRINTF dnl AC_FUNC_VPRINTF case $host in *msdosdjgpp) ac_cv_func_pipe=no skipcheck_pipe=yes AC_MSG_NOTICE([skip check for pipe on msdosdjgpp]) ;; esac AC_CHECK_FUNCS( strtoll \ AC_CHECK_FUNCS( strtoll \ socket \ socket \ select \ select \ Loading Loading @@ -1542,6 +1549,7 @@ dnl if found [], [], dnl if not found, $ac_func is the name we check for dnl if not found, $ac_func is the name we check for func="$ac_func" func="$ac_func" if test "skipcheck_$func" != "yes"; then AC_MSG_CHECKING([deeper for $func]) AC_MSG_CHECKING([deeper for $func]) AC_TRY_LINK( [], AC_TRY_LINK( [], [ $func ();], [ $func ();], Loading @@ -1551,7 +1559,7 @@ dnl if not found, $ac_func is the name we check for AC_DEFINE_UNQUOTED($def, 1, [If you have $func]), AC_DEFINE_UNQUOTED($def, 1, [If you have $func]), AC_MSG_RESULT(but still no) AC_MSG_RESULT(but still no) ) ) fi ) ) dnl For some reason, the check above doesn't properly detect select() with dnl For some reason, the check above doesn't properly detect select() with Loading Loading @@ -1589,6 +1597,9 @@ AC_CHECK_DECL(basename, , #ifdef HAVE_LIBGEN_H #ifdef HAVE_LIBGEN_H #include <libgen.h> #include <libgen.h> #endif #endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif ) ) AC_MSG_CHECKING([if we are Mac OS X (to disable poll)]) AC_MSG_CHECKING([if we are Mac OS X (to disable poll)]) Loading
lib/setup.h +3 −0 Original line number Original line Diff line number Diff line Loading @@ -200,6 +200,7 @@ typedef unsigned char bool; #define sread(x,y,z) read_s(x,y,z) #define sread(x,y,z) read_s(x,y,z) #define swrite(x,y,z) write_s(x,y,z) #define swrite(x,y,z) write_s(x,y,z) #define select(n,r,w,x,t) select_s(n,r,w,x,t) #define select(n,r,w,x,t) select_s(n,r,w,x,t) #define ioctl(x,y,z) ioctlsocket(x,y,(char *)(z)) #define IOCTL_3_ARGS #define IOCTL_3_ARGS #include <tcp.h> #include <tcp.h> #ifdef word #ifdef word Loading Loading @@ -229,7 +230,9 @@ typedef unsigned char bool; #endif #endif #define DIR_CHAR "/" #define DIR_CHAR "/" #ifndef DOT_CHAR #define DOT_CHAR "." #define DOT_CHAR "." #endif #ifdef DJGPP #ifdef DJGPP #undef DOT_CHAR #undef DOT_CHAR Loading
lib/transfer.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -214,7 +214,7 @@ CURLcode Curl_readrewind(struct connectdata *conn) if(data->set.ioctl) { if(data->set.ioctl) { curlioerr err; curlioerr err; err = data->set.ioctl(data, CURLIOCMD_RESTARTREAD, err = (data->set.ioctl) (data, CURLIOCMD_RESTARTREAD, data->set.ioctl_client); data->set.ioctl_client); infof(data, "the ioctl callback returned %d\n", (int)err); infof(data, "the ioctl callback returned %d\n", (int)err); Loading