From: Nick Mathewson Date: Mon, 11 Mar 2013 20:29:06 +0000 (-0400) Subject: Look at the right variable when warning about signed size_t. X-Git-Tag: tor-0.2.4.12-alpha~5^2~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=051b1e8ac4114fb23904cdf8dead72d585904e0a;p=thirdparty%2Ftor.git Look at the right variable when warning about signed size_t. In 81d69f4c2d8a451 (0.2.21-alpha) we added a compile-time check for a (totally broken) signed size_t. In 0e597471af (not yet released) I switched to a better configure-time check, which stored its output in a different variable. I didn't change the code which looked at the output, however. This bug is not in any released version of Tor, and would not affect anybody with a working Tor. --- diff --git a/configure.ac b/configure.ac index 864477b8fc..4bc0db363f 100644 --- a/configure.ac +++ b/configure.ac @@ -980,7 +980,7 @@ AX_CHECK_SIGN([size_t], #endif ]) -if test "$tor_cv_size_t_signed" = yes; then +if test "$ax_cv_decl_size_t_signed" = yes; then AC_MSG_ERROR([You have a signed size_t; that's grossly nonconformant.]) fi