diff --git a/CHANGES b/CHANGES index b31e455..81095b5 100644 --- a/CHANGES +++ b/CHANGES @@ -95,6 +95,8 @@ corrections: Thanks to Jim Zimmerman for reporting. porting: + Performed changes for Fedora release 19 + Cedril Priscal ported socat to Android (using Googles cross compiler). The port includes the socat_buildscript_for_android.sh script diff --git a/procan-cdefs.c b/procan-cdefs.c index f7442f9..9e401c7 100644 --- a/procan-cdefs.c +++ b/procan-cdefs.c @@ -1,5 +1,5 @@ /* source: procan-cdefs.c */ -/* Copyright Gerhard Rieger 2008 */ +/* Copyright Gerhard Rieger */ /* Published under the GNU General Public License V.2, see file COPYING */ /* a function that prints compile time parameters */ @@ -20,7 +20,7 @@ int procan_cdefs(FILE *outfile) { fprintf(outfile, "#define FD_SETSIZE %u\n", FD_SETSIZE); #endif #ifdef NFDBITS - fprintf(outfile, "#define NFDBITS "F_Zu"\n", NFDBITS); + fprintf(outfile, "#define NFDBITS %u\n", (unsigned int)NFDBITS); #endif #ifdef O_RDONLY fprintf(outfile, "#define O_RDONLY %u\n", O_RDONLY); diff --git a/test.sh b/test.sh index 260fe4d..e009c70 100755 --- a/test.sh +++ b/test.sh @@ -153,7 +153,8 @@ esac # for some tests we need a second local IPv4 address case "$UNAME" in Linux) - BROADCASTIF=eth0 + BROADCASTIF=$(ip r get 8.8.8.8 |grep ' dev ' |sed 's/.*\/dev/null 2>"${te}0" &