From: Alex Smith Date: Sat, 22 Sep 2012 21:33:39 +0000 (+0100) Subject: Fix undefined behaviour in -g (Debian ticket #688460) X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=85703dd690a53e13661af0eea1c143d81007d56c;p=intercal.git Fix undefined behaviour in -g (Debian ticket #688460) Thanks to Michael Tautschnig for reporting the bug. --- diff --git a/HISTORY b/HISTORY index 7b8b5cc..ac954c5 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,12 @@ This is the long-form history of the project. For the short form used to generate release announcements, see NEWS. +== Release ?.?? (currently unreleased) == + +1. Some potential undefined behaviour (which happens to do the right + thing on every compiler tested) related to the -g option has been + fixed. (Thanks to Michael Tautschnig for reporting the bug.) + == Release 0.29 (by Alex Smith, Eric S. Raymond) 29 Nov 2010 == === Changes by Eric S. Raymond === diff --git a/src/feh2.c b/src/feh2.c index 3eb7148..dead0df 100644 --- a/src/feh2.c +++ b/src/feh2.c @@ -1802,7 +1802,7 @@ void emit(tuple *tn, FILE *fp) int dim; int generatecfjump=0; /* AIS */ static int pasttryagain=0; /* AIS */ - extern int cdebug; + extern bool cdebug; /* AIS */ /* grind out label and source dump */ if (yydebug || cdebug || compile_only)