platform/upstream/curl.git
16 years agoAdded test of IPv6 scope handling
Dan Fandrich [Thu, 31 Jul 2008 02:38:51 +0000 (02:38 +0000)]
Added test of IPv6 scope handling

16 years agoFixed a couple of problems in the IPv6 scope code. First, a host name in
Dan Fandrich [Thu, 31 Jul 2008 02:18:01 +0000 (02:18 +0000)]
Fixed a couple of problems in the IPv6 scope code. First, a host name in
an URL in a Location: header didn't have the scope ID removed, so an
invalid host name was used.  Second, when the scope ID was removed, it
also removed any port number that may have existed in the URL.

16 years agos/silly/underquoted definition/
Yang Tse [Thu, 31 Jul 2008 01:41:20 +0000 (01:41 +0000)]
s/silly/underquoted definition/

16 years ago#149 fully done and verified. Removed from here now.
Yang Tse [Thu, 31 Jul 2008 01:20:25 +0000 (01:20 +0000)]
#149 fully done and verified. Removed from here now.

16 years agoFixed a couple of buffer overflows in the MS-DOS port of the curl tool.
Dan Fandrich [Thu, 31 Jul 2008 01:12:06 +0000 (01:12 +0000)]
Fixed a couple of buffer overflows in the MS-DOS port of the curl tool.
Factored out unslashquote. Added some 'const's in function parameters.

16 years agoAdded IPv6 section
Dan Fandrich [Wed, 30 Jul 2008 23:49:20 +0000 (23:49 +0000)]
Added IPv6 section

16 years agoCommitted just now and thus removed from here:
Daniel Stenberg [Wed, 30 Jul 2008 22:09:30 +0000 (22:09 +0000)]
Committed just now and thus removed from here:

145 - Phil Blundell's CURLOPT_SCOPE patch/work

16 years agoanother option added, bump counter
Daniel Stenberg [Wed, 30 Jul 2008 21:57:27 +0000 (21:57 +0000)]
another option added, bump counter

16 years ago- Phil Blundell added the CURLOPT_SCOPE option, as well as adjusted the URL
Daniel Stenberg [Wed, 30 Jul 2008 21:55:26 +0000 (21:55 +0000)]
- Phil Blundell added the CURLOPT_SCOPE option, as well as adjusted the URL
  parser to allow numerical IPv6-addresses to be specified with the scope
  given, as per RFC4007 - with a percent letter that itself needs to be URL
  escaped. For example, for an address of fe80::1234%1 the HTTP URL is:
  "http://[fe80::1234%251]/"

16 years agoFixed:
Daniel Stenberg [Wed, 30 Jul 2008 21:42:26 +0000 (21:42 +0000)]
Fixed:

147 - PHP's bug report #43158 (http://bugs.php.net/bug.php?id=43158) identifies
      a true bug in libcurl built with OpenSSL.

16 years ago- PHP's bug report #43158 (http://bugs.php.net/bug.php?id=43158) identifies a
Daniel Stenberg [Wed, 30 Jul 2008 21:24:59 +0000 (21:24 +0000)]
- PHP's bug report #43158 (bugs.php.net/bug.php?id=43158) identifies a
  true bug in libcurl built with OpenSSL. It made curl_easy_getinfo() more or
  less always return 0 for CURLINFO_SSL_VERIFYRESULT because the function that
  would set it to something non-zero would return before the assign in almost
  all error cases. The internal variable is now set to non-zero from the start
  of the function only to get cleared later on if things work out fine.

16 years ago- Made the curl tool's -w option support the %{ssl_verify_result} variable
Daniel Stenberg [Wed, 30 Jul 2008 21:24:19 +0000 (21:24 +0000)]
- Made the curl tool's -w option support the %{ssl_verify_result} variable

16 years agoAdded test cases 1052 through 1055 to test uploading data from files
Dan Fandrich [Wed, 30 Jul 2008 21:04:44 +0000 (21:04 +0000)]
Added test cases 1052 through 1055 to test uploading data from files
during redirects.  Test cases 1052 and 1055 show problems (maybe the same
root cause as 1051) and are disabled.

16 years agoFactored out Curl_copy_header_value
Dan Fandrich [Wed, 30 Jul 2008 20:11:51 +0000 (20:11 +0000)]
Factored out Curl_copy_header_value

16 years agoAdd file version serial number that might be used by 'aclocal' and others.
Yang Tse [Wed, 30 Jul 2008 12:09:35 +0000 (12:09 +0000)]
Add file version serial number that might be used by 'aclocal' and others.

Keep the '#' character as the first one on the line.

16 years agoUpdate copyright year.
Yang Tse [Wed, 30 Jul 2008 08:27:02 +0000 (08:27 +0000)]
Update copyright year.

16 years agoSync comment with reality.
Yang Tse [Wed, 30 Jul 2008 08:21:25 +0000 (08:21 +0000)]
Sync comment with reality.

16 years agoAdded the problems with test cases 1041 and 1051
Dan Fandrich [Wed, 30 Jul 2008 07:31:10 +0000 (07:31 +0000)]
Added the problems with test cases 1041 and 1051

16 years agoAdded test case 1051 to test Location: following with PUT, as reported
Dan Fandrich [Wed, 30 Jul 2008 07:24:59 +0000 (07:24 +0000)]
Added test case 1051 to test Location: following with PUT, as reported
by Ben Sutcliffe.  The test when run manually shows a problem in curl,
but the test harness web server doesn't run the test correctly so it's
disabled for now.

16 years agoUndo using the sreadfrom() wrapper to replace recvfrom() in our code, for real ;-)
Yang Tse [Wed, 30 Jul 2008 06:20:43 +0000 (06:20 +0000)]
Undo using the sreadfrom() wrapper to replace recvfrom() in our code, for real ;-)

16 years ago#149 done. Awaiting autobuild verification before removing.
Yang Tse [Wed, 30 Jul 2008 05:15:51 +0000 (05:15 +0000)]
#149 done. Awaiting autobuild verification before removing.

16 years agoUndo using the sreadfrom() wrapper to replace recvfrom() in our code.
Yang Tse [Wed, 30 Jul 2008 05:10:42 +0000 (05:10 +0000)]
Undo using the sreadfrom() wrapper to replace recvfrom() in our code.

16 years ago#148 no longer blocks #144
Yang Tse [Wed, 30 Jul 2008 04:46:24 +0000 (04:46 +0000)]
#148 no longer blocks #144

16 years agoReinstate hiding aclocal 'underquoted definition' warnings.
Yang Tse [Wed, 30 Jul 2008 04:42:16 +0000 (04:42 +0000)]
Reinstate hiding aclocal 'underquoted definition' warnings.

16 years agoupdated #148
Yang Tse [Wed, 30 Jul 2008 03:24:38 +0000 (03:24 +0000)]
updated #148

16 years agoReinstate the 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4' way of
Yang Tse [Wed, 30 Jul 2008 03:10:03 +0000 (03:10 +0000)]
Reinstate the 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4' way of
including our local m4/reentrant.m4 file. This even takes care of including the
file in the distribution tarball.

16 years agoShow autom4te and aclocal versions.
Yang Tse [Wed, 30 Jul 2008 01:17:15 +0000 (01:17 +0000)]
Show autom4te and aclocal versions.

Set SED for Solaris to gsed if available.

16 years agoMinor Symbian updates.
Dan Fandrich [Wed, 30 Jul 2008 00:10:32 +0000 (00:10 +0000)]
Minor Symbian updates.

16 years agoFixed --use-ascii to properly convert text files on Symbian OS, MS-DOS
Dan Fandrich [Wed, 30 Jul 2008 00:09:02 +0000 (00:09 +0000)]
Fixed --use-ascii to properly convert text files on Symbian OS, MS-DOS
and OS/2.

16 years agoUpdtae #148 with link to start of thread
Yang Tse [Tue, 29 Jul 2008 23:56:01 +0000 (23:56 +0000)]
Updtae #148 with link to start of thread

16 years agoUpdated #144
Yang Tse [Tue, 29 Jul 2008 23:51:01 +0000 (23:51 +0000)]
Updated #144

Added #148 and # 149

16 years ago56. When libcurl sends CURLOPT_POSTQUOTE commands when connected to a SFTP
Daniel Stenberg [Tue, 29 Jul 2008 21:51:47 +0000 (21:51 +0000)]
56. When libcurl sends CURLOPT_POSTQUOTE commands when connected to a SFTP
  server using the multi interface, the commands are not being sent correctly
  and instead the connection is "cancelled" (the operation is considered done)
  prematurely. There is a half-baked (busy-looping) patch provided in the bug
  report but it cannot be accepted as-is. See
  http://curl.haxx.se/bug/view.cgi?id=2006544

16 years agoAdded:
Daniel Stenberg [Tue, 29 Jul 2008 21:39:05 +0000 (21:39 +0000)]
Added:

146 - Yehoshua Hershberg's re-using of connections that failed with
      CURLE_PEER_FAILED_VERIFICATION

147 - PHP's bug report #43158 (http://bugs.php.net/bug.php?id=43158) identifies
      a true bug in libcurl built with OpenSSL.

16 years agoDocument that PKG_CONFIG_PATH is the preferred way to configure with
Dan Fandrich [Tue, 29 Jul 2008 20:59:51 +0000 (20:59 +0000)]
Document that PKG_CONFIG_PATH is the preferred way to configure with
OpenSSL.

16 years agoFor testing purposes on SunOS systems; directly feed acinclude.m4 with
Yang Tse [Tue, 29 Jul 2008 19:31:34 +0000 (19:31 +0000)]
For testing purposes on SunOS systems; directly feed acinclude.m4 with
reentrant.m4 and remove reentrant.m4 before calling aclocal.

16 years agoFor debugging purposes, show all sed's available in PATH on SunOS systems.
Yang Tse [Tue, 29 Jul 2008 19:01:34 +0000 (19:01 +0000)]
For debugging purposes, show all sed's available in PATH on SunOS systems.

16 years agoReturn an error code when extra files are found in filecheck:
Dan Fandrich [Tue, 29 Jul 2008 18:57:01 +0000 (18:57 +0000)]
Return an error code when extra files are found in filecheck:

16 years agoEliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4
Dan Fandrich [Tue, 29 Jul 2008 18:26:35 +0000 (18:26 +0000)]
Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4
address in an IPv6 capable libcurl.

16 years agoAdd quoting for the AC_DEFINE arguments.
Yang Tse [Tue, 29 Jul 2008 18:23:11 +0000 (18:23 +0000)]
Add quoting for the AC_DEFINE arguments.

16 years agoAlso remove the whitespace.
Yang Tse [Tue, 29 Jul 2008 18:01:29 +0000 (18:01 +0000)]
Also remove the whitespace.

16 years agoAlso remove the extra quoting.
Yang Tse [Tue, 29 Jul 2008 17:45:33 +0000 (17:45 +0000)]
Also remove the extra quoting.

16 years agoReplace some '@%:@' quadigraphs by its actual representation '#'.
Yang Tse [Tue, 29 Jul 2008 16:29:34 +0000 (16:29 +0000)]
Replace some '@%:@' quadigraphs by its actual representation '#'.

This quadigraph used before a C preprocessor 'define' directive could
be fooling M4, when processing this file, and make it think that the
line contains a pure M4 'define' macro.

16 years agoTests done using 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4
Yang Tse [Tue, 29 Jul 2008 02:26:21 +0000 (02:26 +0000)]
Tests done using 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4
in top Makefile.am triggered a problem that prevented aclocal from running
successfully on SunOS 5.10 with GNU m4 1.4.5 and GNU Autoconf 2.61

A tarball which reproduces mentioned problem is the one dated July-28-2008
http://cool.haxx.se/curl-daily/curl-7.19.0-20080728.tar.gz

We actually don't need all the bells and whistles that the above mechanism
provides. We only need to include our m4/reentrant.m4 file in acinclude.m4
so here we go with this simpler mechanism.

16 years agoignore *.dist files
Yang Tse [Tue, 29 Jul 2008 02:05:07 +0000 (02:05 +0000)]
ignore *.dist files

16 years agoAdded test case 1050 to test --ftp-port with an IPv6 address.
Dan Fandrich [Tue, 29 Jul 2008 01:05:28 +0000 (01:05 +0000)]
Added test case 1050 to test --ftp-port with an IPv6 address.
Made --interface tests less restrictive on host address.

16 years agoI removed: "139 - Christopher Palow's CURLM_EASY_HANDLE_EXISTS patch" simply
Daniel Stenberg [Mon, 28 Jul 2008 21:53:25 +0000 (21:53 +0000)]
I removed: "139 - Christopher Palow's CURLM_EASY_HANDLE_EXISTS patch" simply
because at the current point in time I think the benefit of adding that new
return code is very slim and it is a lot of work to introduce new return codes
(for docs and maintenance etc)

I added "145 - Phil Blundell's CURLOPT_SCOPE patch/work" since I want it
sorted/committed.

16 years agoAdded test cases 1045 through 1049 as simple tests of --interface using the
Dan Fandrich [Mon, 28 Jul 2008 18:39:32 +0000 (18:39 +0000)]
Added test cases 1045 through 1049 as simple tests of --interface using the
localhost interface.

16 years agoFixed display of the interface bind address in the trace output when it's
Dan Fandrich [Mon, 28 Jul 2008 18:35:34 +0000 (18:35 +0000)]
Fixed display of the interface bind address in the trace output when it's
an IPv6 address.

16 years agoEnsure that buildconf runs from the subdirectory where configure.ac lives
Yang Tse [Mon, 28 Jul 2008 16:17:51 +0000 (16:17 +0000)]
Ensure that buildconf runs from the subdirectory where configure.ac lives

16 years agoRemove files generated on previous buildconf/configure run,
Yang Tse [Mon, 28 Jul 2008 15:15:13 +0000 (15:15 +0000)]
Remove files generated on previous buildconf/configure run,
and for debugging purposes show ACLOCAL_FLAGS.

16 years agofor debugging purposes show ACLOCAL_FLAGS
Yang Tse [Mon, 28 Jul 2008 15:13:31 +0000 (15:13 +0000)]
for debugging purposes show ACLOCAL_FLAGS

16 years agoignore another file that might be generated
Yang Tse [Mon, 28 Jul 2008 12:36:51 +0000 (12:36 +0000)]
ignore another file that might be generated

16 years agoThese lines were unintentionally removed in previous commit
Yang Tse [Sun, 27 Jul 2008 23:43:53 +0000 (23:43 +0000)]
These lines were unintentionally removed in previous commit

16 years agoPartially undo change that prevented SED, GREP, EGREP and AR from being changed by...
Yang Tse [Sun, 27 Jul 2008 22:25:07 +0000 (22:25 +0000)]
Partially undo change that prevented SED, GREP, EGREP and AR from being changed by libtool or autoconf.

16 years agoAssert that SED and GREP are set
Yang Tse [Sun, 27 Jul 2008 21:47:22 +0000 (21:47 +0000)]
Assert that SED and GREP are set

16 years agoRequire autoconf 2.57 or newer
Yang Tse [Sun, 27 Jul 2008 20:29:04 +0000 (20:29 +0000)]
Require autoconf 2.57 or newer

16 years agoWhen calling aclocal, user defined ACLOCAL_FLAGS will now precede ours.
Yang Tse [Sun, 27 Jul 2008 18:10:54 +0000 (18:10 +0000)]
When calling aclocal, user defined ACLOCAL_FLAGS will now precede ours.

16 years agoFor debugging purposes, run aclocal in verbose mode on SunOS systems.
Yang Tse [Sun, 27 Jul 2008 17:24:37 +0000 (17:24 +0000)]
For debugging purposes, run aclocal in verbose mode on SunOS systems.

16 years agomove ACLOCAL_AMFLAGS after AUTOMAKE_OPTIONS
Yang Tse [Sun, 27 Jul 2008 16:37:02 +0000 (16:37 +0000)]
move ACLOCAL_AMFLAGS after AUTOMAKE_OPTIONS

16 years agosetup.h handles definition of _REENTRANT based on NEED_REENTRANT
Yang Tse [Sun, 27 Jul 2008 03:16:37 +0000 (03:16 +0000)]
setup.h handles definition of _REENTRANT based on NEED_REENTRANT
definition which might be defined in config.h or config-*.h files

16 years agoRemove explicit inclusion of our m4 files first. It was interesting as a test,
Yang Tse [Sun, 27 Jul 2008 02:41:13 +0000 (02:41 +0000)]
Remove explicit inclusion of our m4 files first. It was interesting as a test,
but it breaks aclocal execution on some systems, with the following error:

Can't locate object method "rel2abs" via package "File::Spec" at /usr/local/bin/aclocal line 256.

16 years agoAdded feature in runtests.pl to select tests based on key word.
Dan Fandrich [Sun, 27 Jul 2008 02:34:27 +0000 (02:34 +0000)]
Added feature in runtests.pl to select tests based on key word.

16 years agoEliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4
Dan Fandrich [Sun, 27 Jul 2008 02:20:34 +0000 (02:20 +0000)]
Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4
address in an IPv6 capable libcurl.

16 years agoAnother step towards detecting if _REENTRANT is already defined or actually
Yang Tse [Sun, 27 Jul 2008 01:36:33 +0000 (01:36 +0000)]
Another step towards detecting if _REENTRANT is already defined or actually
needed, and being able to define it if appropriate for further configure tests
as well as for the generated config file.

16 years ago- David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to buffer
Daniel Stenberg [Sat, 26 Jul 2008 21:15:47 +0000 (21:15 +0000)]
- David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to buffer
  overrun" (http://curl.haxx.se/bug/view.cgi?id=2026240) identifying two
  problems, and providing the fix for them:

  - CURL_READFUNC_PAUSE did in fact not pause the _sending_ of data that it is
    designed for but paused _receiving_ of data!

  - libcurl didn't internally set the read counter to zero when this return
    code was detected, which would potentially lead to junk getting sent to
    the server.

16 years agoAdded test 1044 to test large file support in ftp with -I.
Dan Fandrich [Sat, 26 Jul 2008 20:09:36 +0000 (20:09 +0000)]
Added test 1044 to test large file support in ftp with -I.

16 years agoExplicitly include our m4 files first. This might minimize the impact
Yang Tse [Sat, 26 Jul 2008 14:45:16 +0000 (14:45 +0000)]
Explicitly include our m4 files first. This might minimize the impact
that other package's underquoted m4 function definitions have on ours.

16 years agosimplify multi '#' char comment line
Yang Tse [Sat, 26 Jul 2008 12:11:22 +0000 (12:11 +0000)]
simplify multi '#' char comment line

16 years agoAdd a 3 argument check for getprotobyname_r
Yang Tse [Sat, 26 Jul 2008 01:24:50 +0000 (01:24 +0000)]
Add a 3 argument check for getprotobyname_r

16 years agoadditional debug logging of getprotobyname_r on Tru64 and AIX
Yang Tse [Sat, 26 Jul 2008 01:00:41 +0000 (01:00 +0000)]
additional debug logging of getprotobyname_r on Tru64 and AIX

16 years agoNo longer hide aclocal 'underquoted definition' warnings.
Yang Tse [Sat, 26 Jul 2008 00:19:03 +0000 (00:19 +0000)]
No longer hide aclocal 'underquoted definition' warnings.

http://sources.redhat.com/automake/automake.html#Extending-aclocal documents
that starting with Automake 1.8, aclocal will warn about all underquoted calls
to AC_DEFUN due to the fact that in a single aclocal run it might include more
than once all .m4 files which it finds available, this includes .m4 files from
other software packages.

If the first argument to AC_DEFUN is underquoted and the same macro is included
more than once, successive inclusions after the first one will expand the macro
instead of assuming it is the same as the first one included.

16 years agomove reentrant.m4 to the m4 subdirectory to avoid infinite loop inclusion problem
Yang Tse [Fri, 25 Jul 2008 13:21:14 +0000 (13:21 +0000)]
move reentrant.m4 to the m4 subdirectory to avoid infinite loop inclusion problem

16 years agoadd checks for strtok_r and getprotobyname_r
Yang Tse [Thu, 24 Jul 2008 18:02:44 +0000 (18:02 +0000)]
add checks for strtok_r and getprotobyname_r

16 years agoAnother step towards detecting if _REENTRANT is already defined or actually
Yang Tse [Thu, 24 Jul 2008 15:20:35 +0000 (15:20 +0000)]
Another step towards detecting if _REENTRANT is already defined or actually
needed, and being able to define it if appropriate for further configure tests
as well as for the generated config file.

Introduced reentrant.m4 intended for our reentrant related autotools/m4 macros.

16 years agoignore curllib.vcproj
Yang Tse [Thu, 24 Jul 2008 15:11:24 +0000 (15:11 +0000)]
ignore curllib.vcproj

16 years agoChanged the long logfile elision code in runtests.pl to properly handle
Dan Fandrich [Thu, 24 Jul 2008 02:16:48 +0000 (02:16 +0000)]
Changed the long logfile elision code in runtests.pl to properly handle
lines ending in \r.

16 years agoMention that the test harness can't check every possible feature.
Dan Fandrich [Wed, 23 Jul 2008 23:03:52 +0000 (23:03 +0000)]
Mention that the test harness can't check every possible feature.

16 years agoEliminated references to TRUE and FALSE since those identifiers aren't
Dan Fandrich [Wed, 23 Jul 2008 22:02:03 +0000 (22:02 +0000)]
Eliminated references to TRUE and FALSE since those identifiers aren't
defined by the libcurl API. Also changed curl_easy_setopt examples to
pass longs where appropriate.

16 years ago- I went over the curl_easy_setopt man page and replaced most references to
Daniel Stenberg [Wed, 23 Jul 2008 20:53:04 +0000 (20:53 +0000)]
- I went over the curl_easy_setopt man page and replaced most references to
  non-zero with the fixed value of 1. We should strive at making options
  support '1' for enabling them mentioned explicitly, as that then will allow
  us for to extend them in the future without breaking older programs.

16 years agoSimplified Minix compile instructions and added some special cases.
Dan Fandrich [Wed, 23 Jul 2008 18:17:25 +0000 (18:17 +0000)]
Simplified Minix compile instructions and added some special cases.

16 years agoreorder argument number detection for getservbyport_r to
Yang Tse [Wed, 23 Jul 2008 04:20:39 +0000 (04:20 +0000)]
reorder argument number detection for getservbyport_r to
actually verify if the test is properly working

16 years agocleanup duplicate line
Yang Tse [Tue, 22 Jul 2008 19:13:35 +0000 (19:13 +0000)]
cleanup duplicate line

16 years agoMake sure that configure process tests are done with the same _REENTRANT
Yang Tse [Tue, 22 Jul 2008 19:04:16 +0000 (19:04 +0000)]
Make sure that configure process tests are done with the same _REENTRANT
setting as the one actually used when finally building the library.

16 years agochecks for gethostbyaddr_r with 7 and 8 args now also done with -D_REENTRANT
Yang Tse [Tue, 22 Jul 2008 18:56:46 +0000 (18:56 +0000)]
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

16 years agominor reordering in OS/400 config/setup files
Yang Tse [Tue, 22 Jul 2008 00:12:06 +0000 (00:12 +0000)]
minor reordering in OS/400 config/setup files

16 years agoChange recvfrom's sixth argument data type to the 'historically standard' 'int'
Yang Tse [Mon, 21 Jul 2008 18:24:32 +0000 (18:24 +0000)]
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

16 years agoUndefine 'byte' due to dict.c.
Gisle Vanem [Mon, 21 Jul 2008 15:39:54 +0000 (15:39 +0000)]
Undefine 'byte' due to dict.c.

16 years agouse prototypes to improve getservbyport_r detection
Yang Tse [Mon, 21 Jul 2008 14:01:46 +0000 (14:01 +0000)]
use prototypes to improve getservbyport_r detection

16 years agofix compiler warning: implicit conversion from "long" to "int"
Yang Tse [Mon, 21 Jul 2008 09:23:56 +0000 (09:23 +0000)]
fix compiler warning: implicit conversion from "long" to "int"

16 years agofix compiler warning: comparison between signed and unsigned
Yang Tse [Mon, 21 Jul 2008 03:59:23 +0000 (03:59 +0000)]
fix compiler warning: comparison between signed and unsigned

16 years agoAdjust recvfrom's sixth arg data type definition for NetWare (LIBC)
Yang Tse [Mon, 21 Jul 2008 03:50:02 +0000 (03:50 +0000)]
Adjust recvfrom's sixth arg data type definition for NetWare (LIBC)

16 years agoUse the sreadfrom() wrapper to replace recvfrom() in our code.
Yang Tse [Mon, 21 Jul 2008 03:06:07 +0000 (03:06 +0000)]
Use the sreadfrom() wrapper to replace recvfrom() in our code.

16 years agowhen recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this will
Yang Tse [Mon, 21 Jul 2008 00:36:55 +0000 (00:36 +0000)]
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.

16 years agoAdjust DEC/Compaq C compiler settings
Yang Tse [Sun, 20 Jul 2008 17:18:29 +0000 (17:18 +0000)]
Adjust DEC/Compaq C compiler settings

16 years agoRemove showing additional info needed to debug configure
Yang Tse [Sun, 20 Jul 2008 09:51:52 +0000 (09:51 +0000)]
Remove showing additional info needed to debug configure
failure to properly detect recvfrom arg types on Solaris

16 years agoAdded "pointer to void" as another data type to check for the sixth argument of
Yang Tse [Sun, 20 Jul 2008 09:46:52 +0000 (09:46 +0000)]
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

16 years agoTemporarily show additional info needed to debug configure
Yang Tse [Sat, 19 Jul 2008 18:32:27 +0000 (18:32 +0000)]
Temporarily show additional info needed to debug configure
failure to properly detect recvfrom arg types on Solaris

16 years agoAdjust DEC/Compaq C compiler settings
Yang Tse [Sat, 19 Jul 2008 11:27:45 +0000 (11:27 +0000)]
Adjust DEC/Compaq C compiler settings

16 years agoREADME.OS400 update for new string options.
Patrick Monnerat [Fri, 18 Jul 2008 14:46:52 +0000 (14:46 +0000)]
README.OS400 update for new string options.

16 years agoREADME.OS400 update for new string options.
Patrick Monnerat [Fri, 18 Jul 2008 14:43:17 +0000 (14:43 +0000)]
README.OS400 update for new string options.