From: Ben Pfaff Date: Mon, 15 Nov 2010 06:13:37 +0000 (-0800) Subject: perl-module: Fix return value of append_case subroutine. X-Git-Tag: v0.7.7~134 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d57112cbb560e8fd0c88d8a00f23226e6096bb66;hp=d57112cbb560e8fd0c88d8a00f23226e6096bb66;p=pspp-builds.git perl-module: Fix return value of append_case subroutine. The casewriter_write() function does not have a return value (it is declared as "void"), but the append_case subroutine tried to use its return value anyway. This cannot work properly, of course, and in fact caused problems on 64-bit builds in particular. I don't know why there is no C compiler warning about this problem. I guess the Perl module build must somehow turn off a lot of GCC warnings. Reported by bojo42 in bug #31611. ---