You can subscribe to this list here.
2006 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Wes C. <wes...@us...> - 2010-07-20 18:21:17
|
Update of /cvsroot/libsnet/libsnet In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv22895 Modified Files: snet.c Log Message: suppress errant warning (per Patrick McNeal) Index: snet.c =================================================================== RCS file: /cvsroot/libsnet/libsnet/snet.c,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** snet.c 4 Sep 2008 18:08:07 -0000 1.57 --- snet.c 20 Jul 2010 18:21:09 -0000 1.58 *************** *** 794,798 **** struct timeval default_tv; extern int errno; ! int oflags, dontblock = 0; if (( tv == NULL ) && ( sn->sn_flag & SNET_READ_TIMEOUT )) { --- 794,798 ---- struct timeval default_tv; extern int errno; ! int oflags = 0, dontblock = 0; if (( tv == NULL ) && ( sn->sn_flag & SNET_READ_TIMEOUT )) { |
From: Wes C. <wes...@us...> - 2008-09-04 18:08:12
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21570 Modified Files: snet.c Log Message: set SNET_ZLIB flag after sanity checks (Maarten Thibaut) Index: snet.c =================================================================== RCS file: /cvsroot/libsnet/libsnet/snet.c,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** snet.c 27 Aug 2008 20:03:02 -0000 1.56 --- snet.c 4 Sep 2008 18:08:07 -0000 1.57 *************** *** 648,657 **** #ifdef HAVE_ZLIB int len = 0; - #endif /* HAVE_ZLIB */ if ( sn->sn_flag & SNET_ZLIB ) { return( -1 ); } - sn->sn_flag |= SNET_ZLIB; if ( type != SNET_ZLIB ) { --- 648,655 ---- *************** *** 659,663 **** } - #ifdef HAVE_ZLIB memset( &sn->sn_zistream, 0, sizeof( sn->sn_zistream )); if ( inflateInit( &sn->sn_zistream ) != Z_OK ) { --- 657,660 ---- |
From: Wes C. <wes...@us...> - 2008-08-27 20:03:06
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29132 Modified Files: snet.c Log Message: fixed strcpy of extraneous null termination (heap corruption) Index: snet.c =================================================================== RCS file: /cvsroot/libsnet/libsnet/snet.c,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** snet.c 1 Aug 2008 19:58:24 -0000 1.55 --- snet.c 27 Aug 2008 20:03:02 -0000 1.56 *************** *** 117,121 **** int fd; ! fd = sn->sn_fd; free( sn->sn_wbuf ); free( sn->sn_rbuf ); --- 117,121 ---- int fd; ! fd = snet_fd( sn ); free( sn->sn_wbuf ); free( sn->sn_rbuf ); *************** *** 158,162 **** return( -1 ); } ! if (( rc = SSL_set_fd( sn->sn_ssl, sn->sn_fd )) != 1 ) { return( rc ); } --- 158,162 ---- return( -1 ); } ! if (( rc = SSL_set_fd( sn->sn_ssl, snet_fd( sn ))) != 1 ) { return( rc ); } *************** *** 275,280 **** len = strlen( p ); SNET_WBUFGROW( len ); ! strcpy( cur, p ); ! cur += strlen( p ); break; --- 275,280 ---- len = strlen( p ); SNET_WBUFGROW( len ); ! memcpy( cur, p, len ); ! cur += len; break; *************** *** 346,350 **** len = p - dbufoff; SNET_WBUFGROW( len ); ! strncpy( cur, dbufoff, len ); cur += len; break; --- 346,350 ---- len = p - dbufoff; SNET_WBUFGROW( len ); ! memcpy( cur, dbufoff, len ); cur += len; break; *************** *** 375,379 **** len = p - dbufoff; SNET_WBUFGROW( len ); ! strncpy( cur, dbufoff, len ); cur += len; break; --- 375,379 ---- len = p - dbufoff; SNET_WBUFGROW( len ); ! memcpy( cur, dbufoff, len ); cur += len; break; *************** *** 405,409 **** len = p - dbufoff; SNET_WBUFGROW( len ); ! strncpy( cur, dbufoff, len ); cur += len; break; --- 405,409 ---- len = p - dbufoff; SNET_WBUFGROW( len ); ! memcpy( cur, dbufoff, len ); cur += len; break; *************** *** 435,439 **** len = p - dbufoff; SNET_WBUFGROW( len ); ! strncpy( cur, dbufoff, len ); cur += len; break; --- 435,439 ---- len = p - dbufoff; SNET_WBUFGROW( len ); ! memcpy( cur, dbufoff, len ); cur += len; break; |
From: Wes C. <wes...@us...> - 2008-08-01 19:58:28
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25354 Modified Files: snet.c Log Message: don't clobber other flags when you get EOF Index: snet.c =================================================================== RCS file: /cvsroot/libsnet/libsnet/snet.c,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** snet.c 2 Aug 2006 19:09:11 -0000 1.54 --- snet.c 1 Aug 2008 19:58:24 -0000 1.55 *************** *** 869,873 **** } if ( rc == 0 ) { ! sn->sn_flag = SNET_EOF; } --- 869,873 ---- } if ( rc == 0 ) { ! sn->sn_flag |= SNET_EOF; } |
From: Wes C. <wes...@us...> - 2008-08-01 19:54:31
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23706 Modified Files: Makefile.in Log Message: pass LDFLAGS through Index: Makefile.in =================================================================== RCS file: /cvsroot/libsnet/libsnet/Makefile.in,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Makefile.in 31 Mar 2004 15:54:40 -0000 1.10 --- Makefile.in 1 Aug 2008 19:54:28 -0000 1.11 *************** *** 15,19 **** DEFS= OPTOPTS= @OPTOPTS@ ! CFLAGS= ${DEFS} ${OPTOPTS} ${INCPATH} PROFILED= @PROFILED@ CC= @CC@ --- 15,20 ---- DEFS= OPTOPTS= @OPTOPTS@ ! CFLAGS= ${DEFS} ${OPTOPTS} ${INCPATH} @CFLAGS@ ! LDFLAGS= @LDFLAGS@ PROFILED= @PROFILED@ CC= @CC@ *************** *** 51,58 **** libsnet.la: $(OBJ) $(LOBJ) $(LIBTOOL) --mode=link \ ! $(CC) -o libsnet.la $(LOBJ) -rpath $(libdir) -version-info 0:0:0 @if test x_$(PROFILED) = x_true ; then echo "building profiled $@" ; \ ( cd profiled ; ../$(LIBTOOL) --mode=link \ ! $(CC) -o libsnet_p.la $(LOBJ) -rpath $(libdir) \ -version-info 0:0:0 >/dev/null 2>&1 ) ; fi --- 52,59 ---- libsnet.la: $(OBJ) $(LOBJ) $(LIBTOOL) --mode=link \ ! $(CC) -o libsnet.la $(LDFLAGS) $(LOBJ) -rpath $(libdir) -version-info 0:0:0 @if test x_$(PROFILED) = x_true ; then echo "building profiled $@" ; \ ( cd profiled ; ../$(LIBTOOL) --mode=link \ ! $(CC) -o libsnet_p.la $(LDFLAGS) $(LOBJ) -rpath $(libdir) \ -version-info 0:0:0 >/dev/null 2>&1 ) ; fi |
From: Patrick M. <ume...@us...> - 2007-06-18 19:30:38
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv28541 Modified Files: aclocal.m4 configure Log Message: Using single '=' to be more portable, specifically for HP/UX. Thanks Jim Foraker for the patch. [ PATCH 1733630 ] Index: aclocal.m4 =================================================================== RCS file: /cvsroot/libsnet/libsnet/aclocal.m4,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** aclocal.m4 31 May 2007 17:44:39 -0000 1.11 --- aclocal.m4 18 Jun 2007 19:30:34 -0000 1.12 *************** *** 95,99 **** fi done ! if test x_$found_zlib == x_yes; then if test "$dir" != "/usr"; then CPPFLAGS="$CPPFLAGS -I$zlibdir/include"; --- 95,99 ---- fi done ! if test x_$found_zlib = x_yes; then if test "$dir" != "/usr"; then CPPFLAGS="$CPPFLAGS -I$zlibdir/include"; *************** *** 148,152 **** fi done ! if test x_$found_sasl == x_yes; then AC_DEFINE(HAVE_LIBSASL) LIBS="$LIBS -lsasl2"; --- 148,152 ---- fi done ! if test x_$found_sasl = x_yes; then AC_DEFINE(HAVE_LIBSASL) LIBS="$LIBS -lsasl2"; Index: configure =================================================================== RCS file: /cvsroot/libsnet/libsnet/configure,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** configure 31 May 2007 17:44:39 -0000 1.18 --- configure 18 Jun 2007 19:30:34 -0000 1.19 *************** *** 2550,2554 **** fi done ! if test x_$found_zlib == x_yes; then if test "$dir" != "/usr"; then CPPFLAGS="$CPPFLAGS -I$zlibdir/include"; --- 2550,2554 ---- fi done ! if test x_$found_zlib = x_yes; then if test "$dir" != "/usr"; then CPPFLAGS="$CPPFLAGS -I$zlibdir/include"; *************** *** 2829,2833 **** fi done ! if test x_$found_sasl == x_yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBSASL 1 --- 2829,2833 ---- fi done ! if test x_$found_sasl = x_yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBSASL 1 |
From: Patrick M. <ume...@us...> - 2007-05-31 17:44:44
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv2709 Modified Files: aclocal.m4 configure Log Message: Correctly find zlib. Thanks Jim Foraker. [ Patch 1728580 ] Index: aclocal.m4 =================================================================== RCS file: /cvsroot/libsnet/libsnet/aclocal.m4,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** aclocal.m4 23 May 2006 16:01:49 -0000 1.10 --- aclocal.m4 31 May 2007 17:44:39 -0000 1.11 *************** *** 86,90 **** if test x_$withval != x_no; then if test x_$withval != x_yes -a \! -z "$withval"; then ! zlibdirs="$answer" fi for dir in $zlibdirs; do --- 86,90 ---- if test x_$withval != x_no; then if test x_$withval != x_yes -a \! -z "$withval"; then ! zlibdirs="$withval" fi for dir in $zlibdirs; do Index: configure =================================================================== RCS file: /cvsroot/libsnet/libsnet/configure,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** configure 23 May 2006 16:01:49 -0000 1.17 --- configure 31 May 2007 17:44:39 -0000 1.18 *************** *** 2541,2545 **** if test x_$withval != x_no; then if test x_$withval != x_yes -a \! -z "$withval"; then ! zlibdirs="$answer" fi for dir in $zlibdirs; do --- 2541,2545 ---- if test x_$withval != x_no; then if test x_$withval != x_yes -a \! -z "$withval"; then ! zlibdirs="$withval" fi for dir in $zlibdirs; do |
From: Jarod <um...@us...> - 2007-03-14 17:41:35
|
Update of /cvsroot/libsnet/libsnet32/iiscosign/Cosign In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv11520/iiscosign/Cosign Removed Files: argcargv.h mkcookie.cpp Log Message: Removed unnecessary files --- mkcookie.cpp DELETED --- --- argcargv.h DELETED --- |
From: Jarod <um...@us...> - 2007-03-14 17:41:35
|
Update of /cvsroot/libsnet/libsnet32/iiscosign In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv11520/iiscosign Removed Files: IISCosign.dsw IISCosign.sln UpgradeLog.XML iiscosign.vs7.sln iiscosign.vs8.sln Log Message: Removed unnecessary files --- iiscosign.vs7.sln DELETED --- --- IISCosign.dsw DELETED --- --- iiscosign.vs8.sln DELETED --- --- UpgradeLog.XML DELETED --- --- IISCosign.sln DELETED --- |
From: Patrick M. <ume...@us...> - 2006-08-02 19:09:14
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv11575 Modified Files: snet.c Log Message: Reordered so ssl.h is included before zlib.h. Some versions of zlib typedef free_func which OpenSSL uses in one of its prototype arguments. Index: snet.c =================================================================== RCS file: /cvsroot/libsnet/libsnet/snet.c,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** snet.c 4 May 2006 15:01:54 -0000 1.53 --- snet.c 2 Aug 2006 19:09:11 -0000 1.54 *************** *** 22,33 **** #include <netinet/in.h> - #ifdef HAVE_ZLIB - #include <zlib.h> - #endif /* HAVE_ZLIB */ - #ifdef HAVE_LIBSSL #include <openssl/ssl.h> #endif /* HAVE_LIBSSL */ #ifdef HAVE_LIBSASL #include <sasl/sasl.h> --- 22,33 ---- #include <netinet/in.h> #ifdef HAVE_LIBSSL #include <openssl/ssl.h> #endif /* HAVE_LIBSSL */ + #ifdef HAVE_ZLIB + #include <zlib.h> + #endif /* HAVE_ZLIB */ + #ifdef HAVE_LIBSASL #include <sasl/sasl.h> |
From: Patrick M. <ume...@us...> - 2006-05-23 16:01:53
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv13358 Modified Files: aclocal.m4 configure configure.ac Log Message: Added --enable-universal-binaries. Index: aclocal.m4 =================================================================== RCS file: /cvsroot/libsnet/libsnet/aclocal.m4,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** aclocal.m4 13 Jan 2006 20:47:23 -0000 1.9 --- aclocal.m4 23 May 2006 16:01:49 -0000 1.10 *************** *** 160,161 **** --- 160,181 ---- fi ]) + + AC_DEFUN([CHECK_UNIVERSAL_BINARIES], + [ + AC_ARG_ENABLE(universal_binaries, + AC_HELP_STRING([--enable-universal_binaries], [build universal binaries (default=no)]), + ,[enable_universal_binaries=no]) + if test "${enable_universal_binaries}" = "yes"; then + AC_CANONICAL_SYSTEM + case "${host_os}" in + darwin*) + echo =========================================================== + echo Setting up universal binaries for ${host_os} + echo =========================================================== + OPTOPTS="$OPTOPTS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" + ;; + *) + AC_MSG_ERROR([Building universal binaries on ${host_os} is not supported]) + esac + fi + ]) Index: configure.ac =================================================================== RCS file: /cvsroot/libsnet/libsnet/configure.ac,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** configure.ac 13 Jan 2006 20:47:23 -0000 1.8 --- configure.ac 23 May 2006 16:01:49 -0000 1.9 *************** *** 19,22 **** --- 19,23 ---- fi CHECK_SASL + CHECK_UNIVERSAL_BINARIES # Checks for header files. Index: configure =================================================================== RCS file: /cvsroot/libsnet/libsnet/configure,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** configure 13 Jan 2006 20:47:23 -0000 1.16 --- configure 23 May 2006 16:01:49 -0000 1.17 *************** *** 436,440 **** ac_unique_file="snet.c" ! ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS AWK CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PROFILED build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL OPTOPTS LIBOBJS LTLIBOBJS' ac_subst_files='' --- 436,440 ---- ac_unique_file="snet.c" ! ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS AWK CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os PROFILED LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL OPTOPTS LIBOBJS LTLIBOBJS' ac_subst_files='' *************** *** 957,960 **** --- 957,961 ---- --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] + --target=TARGET configure for building compilers for TARGET [HOST] _ACEOF fi *************** *** 969,972 **** --- 970,975 ---- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-universal_binaries + build universal binaries (default=no) --enable-profiled build profiled libsnet (default=yes) --enable-shared=PKGS build shared libraries default=no *************** *** 2844,2847 **** --- 2847,2955 ---- fi + # Make sure we can run config.sub. + $ac_config_sub sun4 >/dev/null 2>&1 || + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 + echo "$as_me: error: cannot run $ac_config_sub" >&2;} + { (exit 1); exit 1; }; } + + echo "$as_me:$LINENO: checking build system type" >&5 + echo $ECHO_N "checking build system type... $ECHO_C" >&6 + if test "${ac_cv_build+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_cv_build_alias=$build_alias + test -z "$ac_cv_build_alias" && + ac_cv_build_alias=`$ac_config_guess` + test -z "$ac_cv_build_alias" && + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 + echo "$as_me: error: cannot guess build type; you must specify one" >&2;} + { (exit 1); exit 1; }; } + ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 + echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} + { (exit 1); exit 1; }; } + + fi + echo "$as_me:$LINENO: result: $ac_cv_build" >&5 + echo "${ECHO_T}$ac_cv_build" >&6 + build=$ac_cv_build + build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` + build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` + build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + + + echo "$as_me:$LINENO: checking host system type" >&5 + echo $ECHO_N "checking host system type... $ECHO_C" >&6 + if test "${ac_cv_host+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_cv_host_alias=$host_alias + test -z "$ac_cv_host_alias" && + ac_cv_host_alias=$ac_cv_build_alias + ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 + echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} + { (exit 1); exit 1; }; } + + fi + echo "$as_me:$LINENO: result: $ac_cv_host" >&5 + echo "${ECHO_T}$ac_cv_host" >&6 + host=$ac_cv_host + host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` + host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` + host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + + + + # Check whether --enable-universal_binaries or --disable-universal_binaries was given. + if test "${enable_universal_binaries+set}" = set; then + enableval="$enable_universal_binaries" + + else + enable_universal_binaries=no + fi; + if test "${enable_universal_binaries}" = "yes"; then + echo "$as_me:$LINENO: checking target system type" >&5 + echo $ECHO_N "checking target system type... $ECHO_C" >&6 + if test "${ac_cv_target+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_cv_target_alias=$target_alias + test "x$ac_cv_target_alias" = "x" && + ac_cv_target_alias=$ac_cv_host_alias + ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 + echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} + { (exit 1); exit 1; }; } + + fi + echo "$as_me:$LINENO: result: $ac_cv_target" >&5 + echo "${ECHO_T}$ac_cv_target" >&6 + target=$ac_cv_target + target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` + target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` + target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + + + # The aliases save the names the user supplied, while $host etc. + # will get canonicalized. + test -n "$target_alias" && + test "$program_prefix$program_suffix$program_transform_name" = \ + NONENONEs,x,x, && + program_prefix=${target_alias}- + case "${host_os}" in + darwin*) + echo =========================================================== + echo Setting up universal binaries for ${host_os} + echo =========================================================== + OPTOPTS="$OPTOPTS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" + ;; + *) + { { echo "$as_me:$LINENO: error: Building universal binaries on ${host_os} is not supported" >&5 + echo "$as_me: error: Building universal binaries on ${host_os} is not supported" >&2;} + { (exit 1); exit 1; }; } + esac + fi + # Checks for header files. *************** *** 2944,3001 **** enable_fast_install=yes fi; - # Make sure we can run config.sub. - $ac_config_sub sun4 >/dev/null 2>&1 || - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 - echo "$as_me: error: cannot run $ac_config_sub" >&2;} - { (exit 1); exit 1; }; } - - echo "$as_me:$LINENO: checking build system type" >&5 - echo $ECHO_N "checking build system type... $ECHO_C" >&6 - if test "${ac_cv_build+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_cv_build_alias=$build_alias - test -z "$ac_cv_build_alias" && - ac_cv_build_alias=`$ac_config_guess` - test -z "$ac_cv_build_alias" && - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 - echo "$as_me: error: cannot guess build type; you must specify one" >&2;} - { (exit 1); exit 1; }; } - ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 - echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} - { (exit 1); exit 1; }; } - - fi - echo "$as_me:$LINENO: result: $ac_cv_build" >&5 - echo "${ECHO_T}$ac_cv_build" >&6 - build=$ac_cv_build - build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` - build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` - build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` - - - echo "$as_me:$LINENO: checking host system type" >&5 - echo $ECHO_N "checking host system type... $ECHO_C" >&6 - if test "${ac_cv_host+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_cv_host_alias=$host_alias - test -z "$ac_cv_host_alias" && - ac_cv_host_alias=$ac_cv_build_alias - ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 - echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} - { (exit 1); exit 1; }; } - - fi - echo "$as_me:$LINENO: result: $ac_cv_host" >&5 - echo "${ECHO_T}$ac_cv_host" >&6 - host=$ac_cv_host - host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` - host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` - host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` - - # Find the correct PATH separator. Usually this is `:', but # DJGPP uses `;' like DOS. --- 3052,3055 ---- *************** *** 4030,4034 **** *-*-irix6*) # Find out which ABI we are using. ! echo '#line 4032 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 --- 4084,4088 ---- *-*-irix6*) # Find out which ABI we are using. ! echo '#line 4086 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 *************** *** 4602,4606 **** CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" compiler_c_o=no ! if { (eval echo configure:4604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings --- 4656,4660 ---- CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" compiler_c_o=no ! if { (eval echo configure:4658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings *************** *** 6566,6570 **** lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 6568 "configure" #include "confdefs.h" --- 6620,6624 ---- lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 6622 "configure" #include "confdefs.h" *************** *** 6664,6668 **** lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 6666 "configure" #include "confdefs.h" --- 6718,6722 ---- lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 6720 "configure" #include "confdefs.h" *************** *** 8031,8035 **** s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t - s,@PROFILED@,$PROFILED,;t t s,@build@,$build,;t t s,@build_cpu@,$build_cpu,;t t --- 8085,8088 ---- *************** *** 8040,8043 **** --- 8093,8101 ---- s,@host_vendor@,$host_vendor,;t t s,@host_os@,$host_os,;t t + s,@target@,$target,;t t + s,@target_cpu@,$target_cpu,;t t + s,@target_vendor@,$target_vendor,;t t + s,@target_os@,$target_os,;t t + s,@PROFILED@,$PROFILED,;t t s,@LN_S@,$LN_S,;t t s,@ECHO@,$ECHO,;t t |
From: Patrick M. <ume...@us...> - 2006-05-04 15:02:03
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19892 Modified Files: snet.c Log Message: Eliminated warnings when building without zlib. Index: snet.c =================================================================== RCS file: /cvsroot/libsnet/libsnet/snet.c,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** snet.c 2 May 2006 15:08:06 -0000 1.52 --- snet.c 4 May 2006 15:01:54 -0000 1.53 *************** *** 646,650 **** --- 646,652 ---- int level; { + #ifdef HAVE_ZLIB int len = 0; + #endif /* HAVE_ZLIB */ if ( sn->sn_flag & SNET_ZLIB ) { *************** *** 704,708 **** --- 706,712 ---- struct timeval *tv; { + #ifdef HAVE_ZLIB ssize_t rr; + #endif /* HAVE_ZLIB */ if (( sn->sn_flag & SNET_ZLIB ) == 0 ) { *************** *** 743,748 **** --- 747,754 ---- struct timeval *tv; { + #ifdef HAVE_ZLIB char cobuf[ 8192 ]; size_t zlen; + #endif /* HAVE_ZLIB */ if (( sn->sn_flag & SNET_ZLIB ) == 0 ) { |
From: Wes C. <wes...@us...> - 2006-05-02 15:08:14
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29000 Modified Files: snet.c Log Message: correctly restore blocking state on read & write errors Index: snet.c =================================================================== RCS file: /cvsroot/libsnet/libsnet/snet.c,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** snet.c 20 Mar 2006 14:46:12 -0000 1.51 --- snet.c 2 May 2006 15:08:06 -0000 1.52 *************** *** 565,573 **** if ( snet_select( snet_fd( sn ) + 1, NULL, &fds, NULL, tv ) < 0 ) { ! return( -1 ); } if ( FD_ISSET( snet_fd( sn ), &fds ) == 0 ) { errno = ETIMEDOUT; ! return( -1 ); } --- 565,573 ---- if ( snet_select( snet_fd( sn ) + 1, NULL, &fds, NULL, tv ) < 0 ) { ! goto restoreblocking; } if ( FD_ISSET( snet_fd( sn ), &fds ) == 0 ) { errno = ETIMEDOUT; ! goto restoreblocking; } *************** *** 588,596 **** if ( snet_select( snet_fd( sn ) + 1, &fds, NULL, NULL, tv ) < 0 ) { ! return( -1 ); } if ( FD_ISSET( snet_fd( sn ), &fds ) == 0 ) { errno = ETIMEDOUT; ! return( -1 ); } --- 588,596 ---- if ( snet_select( snet_fd( sn ) + 1, &fds, NULL, NULL, tv ) < 0 ) { ! goto restoreblocking; } if ( FD_ISSET( snet_fd( sn ), &fds ) == 0 ) { errno = ETIMEDOUT; ! goto restoreblocking; } *************** *** 599,607 **** default : ! return( -1 ); } } #else ! return( -1 ); #endif /* HAVE_LIBSSL */ } else { --- 599,607 ---- default : ! goto restoreblocking; } } #else ! goto restoreblocking; #endif /* HAVE_LIBSSL */ } else { *************** *** 610,614 **** continue; } ! return( rc ); } } --- 610,614 ---- continue; } ! goto restoreblocking; } } *************** *** 625,628 **** --- 625,636 ---- } return( rlen ); + + restoreblocking: + if (( oflags & O_NONBLOCK ) == 0 ) { + if ( fcntl( snet_fd( sn ), F_SETFL, oflags ) < 0 ) { + return( -1 ); + } + } + return( -1 ); } *************** *** 816,824 **** /* time out case? */ if ( select( snet_fd( sn ) + 1, &fds, NULL, NULL, tv ) < 0 ) { ! return( -1 ); } if ( FD_ISSET( snet_fd( sn ), &fds ) == 0 ) { errno = ETIMEDOUT; ! return( -1 ); } } --- 824,832 ---- /* time out case? */ if ( select( snet_fd( sn ) + 1, &fds, NULL, NULL, tv ) < 0 ) { ! goto restoreblocking; } if ( FD_ISSET( snet_fd( sn ), &fds ) == 0 ) { errno = ETIMEDOUT; ! goto restoreblocking; } } *************** *** 834,842 **** if ( snet_select( snet_fd( sn ) + 1, NULL, &fds, NULL, tv ) < 0 ) { ! return( -1 ); } if ( FD_ISSET( snet_fd( sn ), &fds ) == 0 ) { errno = ETIMEDOUT; ! return( -1 ); } --- 842,850 ---- if ( snet_select( snet_fd( sn ) + 1, NULL, &fds, NULL, tv ) < 0 ) { ! goto restoreblocking; } if ( FD_ISSET( snet_fd( sn ), &fds ) == 0 ) { errno = ETIMEDOUT; ! goto restoreblocking; } *************** *** 845,849 **** default : ! return( -1 ); } } --- 853,857 ---- default : ! goto restoreblocking; } } *************** *** 883,886 **** --- 891,902 ---- return( rc ); + + restoreblocking: + if ( dontblock && (( oflags & O_NONBLOCK ) == 0 )) { + if (( fcntl( snet_fd( sn ), F_SETFL, oflags )) < 0 ) { + return( -1 ); + } + } + return( -1 ); } |
From: Patrick M. <ume...@us...> - 2006-03-20 14:46:18
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24389 Modified Files: snet.c Log Message: Increased buffer size for deflate to reduce number of repeated calls. Checking avail_out to see if we need call deflate again. Index: snet.c =================================================================== RCS file: /cvsroot/libsnet/libsnet/snet.c,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** snet.c 28 Feb 2006 14:13:30 -0000 1.50 --- snet.c 20 Mar 2006 14:46:12 -0000 1.51 *************** *** 735,739 **** struct timeval *tv; { ! char cobuf[ SNET_BUFLEN ]; size_t zlen; --- 735,739 ---- struct timeval *tv; { ! char cobuf[ 8192 ]; size_t zlen; *************** *** 749,753 **** /* Continue until buf is at end */ do { ! sn->sn_zostream.avail_out = SNET_BUFLEN; sn->sn_zostream.next_out = (unsigned char *)cobuf; --- 749,753 ---- /* Continue until buf is at end */ do { ! sn->sn_zostream.avail_out = sizeof( cobuf ); sn->sn_zostream.next_out = (unsigned char *)cobuf; *************** *** 757,761 **** } ! zlen = SNET_BUFLEN - sn->sn_zostream.avail_out; if ( zlen > 0 ) { if ( snet_write0( sn, cobuf, zlen, tv ) != zlen ) { --- 757,761 ---- } ! zlen = sizeof( cobuf ) - sn->sn_zostream.avail_out; if ( zlen > 0 ) { if ( snet_write0( sn, cobuf, zlen, tv ) != zlen ) { *************** *** 764,768 **** } } ! } while ( sn->sn_zostream.avail_in > 0 ); return( len ); #else /* HAVE_ZLIB */ --- 764,768 ---- } } ! } while ( sn->sn_zostream.avail_in > 0 || sn->sn_zostream.avail_out == 0 ); return( len ); #else /* HAVE_ZLIB */ |
From: Patrick M. <ume...@us...> - 2006-02-28 14:13:35
|
Update of /cvsroot/libsnet/libsnet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32590 Modified Files: snet.c Log Message: BUG 1436043 - Fixed assignment error. Thanks Matt Selsky. Index: snet.c =================================================================== RCS file: /cvsroot/libsnet/libsnet/snet.c,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** snet.c 24 Jan 2006 20:37:03 -0000 1.49 --- snet.c 28 Feb 2006 14:13:30 -0000 1.50 *************** *** 837,841 **** } if ( FD_ISSET( snet_fd( sn ), &fds ) == 0 ) { ! errno == ETIMEDOUT; return( -1 ); } --- 837,841 ---- } if ( FD_ISSET( snet_fd( sn ), &fds ) == 0 ) { ! errno = ETIMEDOUT; return( -1 ); } |