Re: Epson GT-8000

Tim Waugh (tim@cyberelk.demon.co.uk)
Tue, 27 Jul 1999 08:17:59 +0100 (GMT)

On Tue, 27 Jul 1999, Reinhold Jordan wrote:

> > What does 'backtrace' say at the (gdb) prompt?
>
> thanks. I've found a solution:
>
> #define str_cmp(a,b) (((a!=NULL)&&(b!=NULL))?strcmp(a,b):1)

Surely that just hides the symptoms. _Why_ was strcmp getting passed NULL
in the first place?

Tim.
*/

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com