bug-enscript
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-enscript] [bug #28769] 1.6.5 segfaults in CFG_FATAL on x86_64-sun-s


From: Tim Retout
Subject: [bug-enscript] [bug #28769] 1.6.5 segfaults in CFG_FATAL on x86_64-sun-solaris2.10 with old enscript.cfg
Date: Tue, 01 Jun 2010 22:56:37 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-gb) AppleWebKit/531.2+ (KHTML, like Gecko) Safari/531.2+ Debian/squeeze/sid () Epiphany/2.29.92

Follow-up Comment #3, bug #28769 (project enscript):

The segmentation fault is coming from the CFG_FATAL macro in src/util.c.  It
tries to print out 'fname' as part of the debugging information, but this has
been changed in read_config to be a 'Buffer' struct rather than a string now.

(The CFG_FATAL macro is being triggered when there's an option the parser
doesn't understand, which I think is fair enough.)

So. Hmm.

I don't particularly like the macro referencing random variables that aren't
arguments... but for the moment, I'll make a new macro which uses Buffer
objects.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28769>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]