fyi
Begin forwarded message: > From: Arvin Moezzi <[email protected]> > Subject: Fwd: urlview: [bug] no declaration for method quote in urlview.c > Date: June 8, 2012 00:00:59 -0700 > To: Thomas Roessler <[email protected]> > > Hi Thomas > > Sorry I forgot to add you. > > Arvin > > ---------- Forwarded message ---------- > From: Arvin Moezzi <[email protected]> > Date: 7 June 2012 17:10 > Subject: urlview: [bug] no declaration for method quote in urlview.c > To: Michael Elkins <[email protected]> > > > Hi Michael > > I think there is a small bug in urlview.c > (ftp://ftp.mutt.org/pub/mutt/contrib/urlview-0.9.tar.gz): > The function quote is not declared in urlview.c since quote.h is not > included hence gcc assumes > that the return value is an int32; hence it is casted down to an int32 > and the system crashes. > > Here [1] is the small fix that fixes the problem on my system > (Linux whatever 2.6.32.54-0.3-default #1 SMP 2012-01-27 17:38:56 +0100 > x86_64 x86_64 x86_64 GNU/Linux) > > Thanks for your work! > Regards > Arvin > > [1] > # diff urlview.c urlview.c.orig > > 57,58d56 > < #include "quote.h" >
