Daniel Stenberg
18be9882f7
Removed superfluous check of clist->name, as in this code path that pointer
...
has already been dereferenced so it is bound to be valid. Pointed out to us
by coverity.com
2008-10-13 21:03:12 +00:00
Dan Fandrich
a102c2c22b
Don't rely on shell support to run multiple precheck tests
2008-10-13 20:41:02 +00:00
Yang Tse
ae75462254
make naming scheme more consistent across whole file
2008-10-13 19:32:11 +00:00
Yang Tse
3ad956e73f
Adjust GCC warnings:
...
Disable following warnings when cross-compiling with a gcc older
than 3.0, to avoid warnings from third party system headers:
-Wmissing-prototypes
-Wunused
-Wshadow
2008-10-13 17:06:06 +00:00
Yang Tse
d6114165d3
attempt to fix or allow further detection of an elusive icc SIGSEGV
2008-10-13 06:23:42 +00:00
Yang Tse
c3a959cc37
There's no guarantee that a socket was involved at this point, so avoid displaying any error code.
...
And on the other hand a message after setsockopt() certainly must use SOCKERRNO.
2008-10-13 06:16:02 +00:00
Yang Tse
ca70beec47
Adjust GCC --enable-warnings:
...
Do not enable -pedantic when cross-compiling with a gcc older
than 3.0, to avoid warnings from third party system headers.
2008-10-13 00:43:30 +00:00
Yang Tse
758939215d
adjust SGI MIPSpro C detection
2008-10-12 22:52:25 +00:00
Yang Tse
ab861e56f1
LCC compiler adjustments:
...
Highest warning level is double -A, next is single -A.
Due to the big number of warnings these trigger on third
party header files it is impratical for us to use any of
them here. If you want them simply define it in CPPFLAGS.
2008-10-12 16:57:40 +00:00
Dan Fandrich
8eb64ad600
Changed Curl_strlcat to strlcat, which is the one guaranteed to exist
2008-10-12 15:17:15 +00:00
Dan Fandrich
d74d3fe851
Ensure the IPv6 stack is operational before running this test (other tests
...
use the startup of the IPv6 test server as a substitute check for this).
2008-10-12 05:27:26 +00:00
Yang Tse
fefc6a7e6b
remove extra space
2008-10-11 18:04:39 +00:00
Yang Tse
a119114ad7
split SGI compiler check. One for MIPS C and another for MIPSpro C
2008-10-11 16:59:44 +00:00
Yang Tse
430b1a22db
LCC compiler adjustments:
...
Warning level reduced from double -A to single -A
2008-10-11 16:19:35 +00:00
Yang Tse
a754ea1326
fix compiler warning
2008-10-11 15:32:32 +00:00
Yang Tse
2ecf22e37e
fix compiler warning: explicit conversion of a 64-bit integral type to a smaller integral type
2008-10-11 01:56:04 +00:00
Dan Fandrich
9dcd0756ba
Fixed some compiler warnings with CURL_DISABLE_HTTP
2008-10-10 19:10:44 +00:00
Yang Tse
c455254fd1
attempt to fix or allow further detection of an elusive icc SIGSEGV
2008-10-10 17:25:53 +00:00
Patrick Monnerat
bb1f6e6818
_ Adapt OS400 EBCDIC wrappers to new options.
...
_ Update RPG binding accordingly.
_ Fix new options comments.
2008-10-10 15:54:07 +00:00
Yang Tse
0722e91eb9
Initial attempt to detect Tiny C compiler
2008-10-10 10:31:16 +00:00
Yang Tse
c859a6f365
Initial attempt to detect LCC compiler
2008-10-10 10:06:25 +00:00
Yang Tse
ef49850789
1) fix bug in CONVERT_INCLUDE_TO_ISYSTEM
...
2) Disable SGI remark: controlling expression is constant
2008-10-10 09:14:18 +00:00
Yang Tse
4f6f334f41
simplify SGI C compiler check
2008-10-10 05:09:28 +00:00
Dan Fandrich
8cd76d3921
Allow compilation when no IPv6 stack is available.
2008-10-10 03:46:32 +00:00
Yang Tse
885805b5df
move struct namebuf6 declaration out of Curl_ip2addr6()
2008-10-10 03:01:50 +00:00
Yang Tse
d61f260372
HP C adjustments:
...
Due to the HP-UX socklen_t issue it is insane to use the +w1 warning level.
It generates more than 1100 warnings on socklen_t related statements.
Until the issue is somehow fixed we will just use the +w2 warning level.
2008-10-10 02:32:46 +00:00
Yang Tse
d0a48627b2
fix compiler warning
2008-10-10 02:14:46 +00:00
Yang Tse
4b8f13e902
Add debug tracing for COMPILER_WORKS_IFELSE
2008-10-10 00:07:41 +00:00
Dan Fandrich
5b9a57f536
Get rid of some more code in the CURL_DISABLE_HTTP case
2008-10-09 22:14:38 +00:00
Daniel Stenberg
ba9963b8fa
I replaced the use of 'struct tm' with a private clone of that struct simply
...
because the struct is declared on the stack and not all members are used so
we could just as well make struct with only struct members we actually need.
2008-10-09 21:57:51 +00:00
Dan Fandrich
6887106ff7
Fixed a leftover reference to CURLOPT_FTP_SSL (thanks to Carlos Alloatti
...
for spotting it).
2008-10-09 20:03:04 +00:00
Yang Tse
98416a4fab
configure will also warn on 'strict compiler warning' rejected options
2008-10-09 19:55:18 +00:00
Dan Fandrich
fad3288d20
Fixed the --interface option to work with IPv6 connections on glibc
...
systems supporting getifaddrs(). Also fixed a problem where an IPv6
address could be chosen instead of an IPv4 one for --interface when it
involved a name lookup.
2008-10-09 19:23:50 +00:00
Dan Fandrich
5ecff1e4c3
Added HTTP as a required feature
2008-10-09 18:53:17 +00:00
Dan Fandrich
bfeae0b5f5
Update docs now that SFTP supports file ranges.
2008-10-09 18:47:02 +00:00
Yang Tse
1c5336cd57
convert rejected compiler options messages into a warnings
2008-10-09 15:06:20 +00:00
Yang Tse
43c2cf4edb
remove extra whitespace from string in SGI C check
2008-10-09 13:11:10 +00:00
Dan Fandrich
f6d80d66a2
Added tests 633 through 637 to test the new file range support for SFTP.
...
All but the first test cause an infinite loop or other failure and so
are added to DISABLED.
2008-10-09 05:16:06 +00:00
Yang Tse
b2ca0babeb
oops
2008-10-09 03:05:48 +00:00
Yang Tse
ed4ae322f5
Initial attempt to detect SGI C compiler
2008-10-09 03:02:25 +00:00
Yang Tse
4f924ab07e
HP C adjustments:
...
Disallow run-time dereferencing of null pointers.
Disable some remarks:
#4227 : padding struct with n bytes to align member.
#4255 : padding size of struct with n bytes to alignment boundary.
2008-10-09 00:50:50 +00:00
Yang Tse
ebadeff0ca
fix compiler warning: zero used for undefined preprocessing identifier
2008-10-09 00:07:56 +00:00
Daniel Stenberg
830018aa38
- Bug #2152270 ( http://curl.haxx.se/bug/view.cgi?id=2152270 ) identified and
...
fixed a CURLINFO_REDIRECT_URL memory leak and an additional wrong-doing:
Any subsequent transfer with a redirect leaks memory, eventually crashing
the process potentially.
Any subsequent transfer WITHOUT a redirect causes the most recent redirect
that DID occur on some previous transfer to still be reported.
2008-10-08 22:01:23 +00:00
Dan Fandrich
8dfddd279b
Added tests 1082 through 1085 to test symbolic --interface parameters
2008-10-08 21:46:55 +00:00
Daniel Stenberg
544f2f74df
- Igor filed bug #2111613 ( http://curl.haxx.se/bug/view.cgi?id=2111613 ) that
...
eventually identified a flaw in how the multi_socket interface in some cases
missed to call the timeout callback when easy interfaces are removed and
added within the same millisecond.
2008-10-08 21:42:29 +00:00
Dan Fandrich
450348d6bd
Fixed a memory leak in the new CURLOPT_USERPWD handling
2008-10-08 20:14:46 +00:00
Yang Tse
5928ea9c7a
improve presentation of accepted/rejected debug/optimizer options
2008-10-08 19:38:01 +00:00
Yang Tse
4754880099
fix missing null-pointer check
2008-10-08 18:32:06 +00:00
Yang Tse
1fea66e527
refactoring of COMPILER_BASIC_OPTS
2008-10-08 16:12:10 +00:00
Daniel Stenberg
806a3163ba
179 - "[PATCH] Colon in username"
...
was committed just now!
2008-10-08 10:40:51 +00:00