Hi.

I have found FVWM_DEBUG_MSGS and DEBUG ifdef's all over the code (as
expected). But it seems to me they are allways used at the same time,
one defining the other, and thus replaceable just by one of them. Is
this true or do they have distinct purposes?

This supports my theory (from fvwmsignal.c):

(...)
#ifdef FVWM_DEBUG_MSGS
volatile sig_atomic_t debug_term_signal = 0;
#endif
(...)
#ifdef DEBUG
       debug_term_signal = sig;
#endif
(...)

So if FVWM_DEBUG_MSGS is not defined then we have an error. But for
instance FVWM_DEBUG_MSGS is defined by #ifdef DEBUG on FvwmPager, so..

If they are used for the same purpose, then I'll clean the code up to
just use DEBUG.

Cheers,
 Renato

Reply via email to