Fix from Jeff Garzik for inet_ntop prototype errors on some Linux

distributions: we were failing to define HAVE_INET_NTOP, so our
prototype in rsync.h came through.

Also rerun autoheader, and have comment for HAVE_SOCKADDR_STORAGE.
This commit is contained in:
Martin Pool committed 2001-12-18 01:32:27 +00:00
1 parent 9e696bd468
commit 9fecec5e85
2 files changed
+28 -16

No files matched your search

+22 -11
View File
@@ -1,5 +1,26 @@
rsync 2.5.1 (sometime in 2001?)
BUG FIXES:
* Fix for segfault in --daemon mode configuration parser by Paul
Mackerras.
* Correct string<->address parsing for both IPv4 and 6. Thankyou
to YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro "itojun"
Hagino.
* Various fixes for IPv6 support by Dave Dykstra.
* rsync.1 typo fix by Matt Kraai.
* Test suite typo fixes by Tom Schmidt.
* rsync.1 grammar and clarity improvements. Thanks to Edward
Welbourne.
* Correction to ./configure tests for inet_ntop. Thankyou to Jeff
Garzik.
ENHANCEMENTS:
* --progress and -P now show estimated data transfer rate (in a
@@ -10,14 +31,4 @@ rsync 2.5.1 (sometime in 2001?)
useful when running on Unix under daemontools, AIX's SRC, or a
debugger. Thanks to Max Bowsher and Jos Backus.
BUG FIXES:
* Correct string<->address parsing for both IPv4 and 6. Thankyou
to YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro "itojun"
Hagino.
* rsync.1 typo fix by Matt Kraai.
* Fix for segfault in rsyncd.conf parser by Paul Mackerras.
* Test suite typo fixes Tom Schmidt.
* Clearer error messages for some conditions.
+6 -5
View File
@@ -270,11 +270,11 @@ AC_CHECK_LIB(resolv, inet_ntop)
AC_MSG_NOTICE([Looking in libraries: $LIBS])
AC_CHECK_FUNC(inet_ntop, , AC_LIBOBJ(lib/inet_ntop))
AC_CHECK_FUNC(inet_pton, , AC_LIBOBJ(lib/inet_pton))
AC_CHECK_FUNCS(inet_ntop, , AC_LIBOBJ(lib/inet_ntop))
AC_CHECK_FUNCS(inet_pton, , AC_LIBOBJ(lib/inet_pton))
AC_CHECK_FUNC(getaddrinfo, , AC_LIBOBJ(lib/getaddrinfo))
AC_CHECK_FUNC(getnameinfo, , AC_LIBOBJ(lib/getnameinfo))
AC_CHECK_FUNCS(getaddrinfo, , AC_LIBOBJ(lib/getaddrinfo))
AC_CHECK_FUNCS(getnameinfo, , AC_LIBOBJ(lib/getnameinfo))
AC_CHECK_MEMBER([struct sockaddr.sa_len],
[ AC_DEFINE(HAVE_SOCKADDR_LEN) ],
@@ -289,7 +289,8 @@ AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/socket.h>],
[struct sockaddr_storage x;],
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_SOCKADDR_STORAGE),
AC_DEFINE(HAVE_SOCKADDR_STORAGE, 1,
[Define if you have strct sockaddr_storage.] ),
AC_MSG_RESULT(no))
# if we can't find strcasecmp, look in -lresolv (for Unixware at least)