Yang Tse
1bc490077a
Make sure that configure process tests are done with the same _REENTRANT
...
setting as the one actually used when finally building the library.
2008-07-22 19:04:16 +00:00
Yang Tse
7d773abe50
checks for gethostbyaddr_r with 7 and 8 args now also done with -D_REENTRANT
...
checks for gethostbyname_r with 5 and 6 args now also done with -D_REENTRANT
2008-07-22 18:56:46 +00:00
Yang Tse
f22114aeed
minor reordering in OS/400 config/setup files
2008-07-22 00:12:06 +00:00
Yang Tse
0919de4511
Change recvfrom's sixth argument data type to the 'historically standard' 'int'
...
data type for systems where this sixth argument is prototyped as a void pointer.
Start of thread: http://curl.haxx.se/mail/lib-2008-07/0153.html
2008-07-21 18:24:32 +00:00
Gisle Vanem
3e5292a052
Undefine 'byte' due to dict.c.
2008-07-21 15:39:54 +00:00
Yang Tse
2066d60b16
use prototypes to improve getservbyport_r detection
2008-07-21 14:01:46 +00:00
Yang Tse
51e84c77e7
fix compiler warning: implicit conversion from "long" to "int"
2008-07-21 09:23:56 +00:00
Yang Tse
775d9e0615
fix compiler warning: comparison between signed and unsigned
2008-07-21 03:59:23 +00:00
Yang Tse
a20d55fb64
Adjust recvfrom's sixth arg data type definition for NetWare (LIBC)
2008-07-21 03:50:02 +00:00
Yang Tse
1b37baf656
Use the sreadfrom() wrapper to replace recvfrom() in our code.
2008-07-21 03:06:07 +00:00
Yang Tse
bffe69a151
when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this will
...
now cause the definition of RECVFROM_TYPE_ARG2_IS_VOID, RECVFROM_TYPE_ARG5_IS_VOID
or RECVFROM_TYPE_ARG6_IS_VOID, as appropriate.
2008-07-21 00:36:55 +00:00
Yang Tse
71525352f0
Adjust DEC/Compaq C compiler settings
2008-07-20 17:18:29 +00:00
Yang Tse
facc5f7ec5
Remove showing additional info needed to debug configure
...
failure to properly detect recvfrom arg types on Solaris
2008-07-20 09:51:52 +00:00
Yang Tse
184229b1e5
Added "pointer to void" as another data type to check for the sixth argument of
...
function recvfrom as a result of the info additionally logged when running on a
Solaris system.
The compiler error showed that the prototype being used on Solaris was the one
declared in line 427 of "/usr/include/sys/socket.h" as:
function(int,
pointer to void,
unsigned int,
int,
pointer to struct sockaddr,
pointer to void) returning int
2008-07-20 09:46:52 +00:00
Yang Tse
3e488c4f19
Temporarily show additional info needed to debug configure
...
failure to properly detect recvfrom arg types on Solaris
2008-07-19 18:32:27 +00:00
Yang Tse
3f84e373ac
Adjust DEC/Compaq C compiler settings
2008-07-19 11:27:45 +00:00
Patrick Monnerat
ac6d6ec2f1
README.OS400 update for new string options.
2008-07-18 14:46:52 +00:00
Patrick Monnerat
f11d5d9de8
README.OS400 update for new string options.
2008-07-18 14:43:17 +00:00
Dan Fandrich
ed2dbefa73
Fixed the XML syntax of a few test files.
2008-07-17 22:39:23 +00:00
Yang Tse
39f23aec6b
RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now defined
...
to the data type pointed by its respective argument and not the pointer type.
2008-07-17 03:07:54 +00:00
Yang Tse
362422641e
fix comment
2008-07-16 19:24:03 +00:00
Yang Tse
a9dc900515
Configure process now checks availability of recvfrom() socket function and
...
finds out its return type and the types of its arguments. Added definitions
for non-configure systems config files, and introduced macro sreadfrom which
will be used on udp sockets as a recvfrom() wrapper.
2008-07-16 19:16:41 +00:00
Yang Tse
3a705696af
Initial DEC/Compaq C compiler detection and flags
2008-07-16 14:17:56 +00:00
Yang Tse
2cfb8a2bf0
Improved configure detection of number of arguments for getservbyport_r
2008-07-16 12:26:09 +00:00
Yang Tse
21ee1c2d01
Allow --enable-largefile and --disable-largefile configurations.
...
Configure process no longer needs nor checks size of curl_off_t.
Library will now be built with _REENTRANT symbol defined.
2008-07-15 16:43:39 +00:00
Yang Tse
a00febe1a0
add comment for include paths
2008-07-15 13:54:30 +00:00
Yang Tse
1e7125ae7b
add comment for include paths
2008-07-15 05:46:49 +00:00
Dan Fandrich
aa4a7471dd
Added test1042 and test1043 to test -C - on HTTP.
2008-07-15 04:12:15 +00:00
Dan Fandrich
69a03ce23c
Added test1040 and test1041 to test -C - on HTTP. Test 1041 failed so it's
...
added to DISABLED.
2008-07-15 03:36:38 +00:00
Yang Tse
0f50cd7623
Move _REENTRANT definition earlier in lib/setup.h
2008-07-14 17:31:39 +00:00
Yang Tse
669c555874
Removed inclusion of remaining system header files from configuration files.
...
These are included from lib/setup.h or specific source code file.
2008-07-14 16:58:34 +00:00
Yang Tse
1cfb73a129
Inclusion of <extra/stricmp.h> and <extra/strdup.h> is moved to lib/setup.h
2008-07-14 16:10:29 +00:00
Yang Tse
2a585c2fba
Remove duplicate file inclusions. These are already done in lib/setup.h
...
and lib/setup_once.h
2008-07-14 15:58:02 +00:00
Yang Tse
32a83128e6
Remove duplicate file inclusions. These are already done in lib/setup.h
2008-07-14 15:30:26 +00:00
Yang Tse
fe7bb33af8
HTTP_ONLY definition check in lib/setup.h is now done once that configuration
...
file has been included. In this way if symbol is defined in the config file
it will no longer be ignored.
2008-07-14 12:39:50 +00:00
Yang Tse
da6fa34f02
fix multiple header inclusion prevention definition
2008-07-11 18:59:00 +00:00
Yang Tse
37a358ab93
move multiple header inclusion prevention definition to top of file
2008-07-11 18:52:35 +00:00
Yang Tse
3452c8d693
Added missing multiple header inclusion prevention definition
2008-07-11 18:42:30 +00:00
Dan Fandrich
336992cc54
Fixed test 553 to pass the torture test.
2008-07-11 18:23:06 +00:00
Dan Fandrich
13afcbd1eb
Avoid a potential zombie process when killing an old ftpserver
2008-07-11 17:18:37 +00:00
Daniel Stenberg
e58a3fd0aa
document the exit codes 82 and 83 that are new in 7.19.0
2008-07-11 10:50:30 +00:00
Daniel Stenberg
57625b6c4c
indent and comment cleanup (no code change)
2008-07-11 09:18:30 +00:00
Daniel Stenberg
0d058d2174
- Daniel Fandrich found out we didn't pass on the user-agent properly when
...
doing "proxy-tunnels" with non-HTTP prototols and that was simply because
the code assumed the user-agent was only needed for HTTP.
2008-07-11 09:08:27 +00:00
Dan Fandrich
8d49a8f278
Added test cases 1038 and 1039 to test Adrian Kreher's report that ftp
...
uploads with -C - didn't resume properly, but the tests pass.
2008-07-11 05:08:06 +00:00
Dan Fandrich
b4b6cfdb1c
Changed slightly the SFTP quote commands chmod, chown and chgrp to only
...
set the attribute that has changed instead of all possible ones. Hopefully,
this will solve the "Permission denied" problem that Nagarajan Sreenivasan
reported when setting some modes, but regardless, it saves a protocol
round trip in the chmod case.
2008-07-11 04:38:11 +00:00
Daniel Stenberg
6b7ccde156
(Added in the section for CURLOPT_DNS_CACHE_TIMEOUT, pointed out on the
...
curl-library list on July 9th 2008 by Mathew Hounsell)
NOTE: the name resolve functions of various libc implementations don't re-read
name server information unless explicitly told so (by for example calling
Ires_init(3). This may cause libcurl to keep using the older server even
if DHCP has updated the server info, and this may look like a DNS cache issue
to the casual libcurl-app user.
2008-07-10 22:24:11 +00:00
Daniel Stenberg
9b0fd007fd
--remote-name-all
2008-07-10 20:29:27 +00:00
Dan Fandrich
6f3ef94836
Fixed another OOM problem, this time with test 64.
2008-07-10 18:15:22 +00:00
Yang Tse
08ac9866e0
Peter Lamberg filed bug report #2015126 : "poll gives WSAEINVAL when POLLPRI
...
is set in fdset.events" (http://curl.haxx.se/bug/view.cgi?id=2015126 ) which
exactly pinpointed the problem only triggered on Windows Vista, provided
reference to docs and also a fix. There is much work behind Peter Lamberg's
excellent bug report. Thank You!
2008-07-10 18:01:44 +00:00
Daniel Stenberg
a17fadea3a
updated to match current reality
2008-07-10 13:40:59 +00:00