On 9/15/19 2:01 PM, Roland Illig wrote:
> internal_warning (_("add_process: process %5ld (%s) in the_pipeline"),
> (long)p->pid, p->command);
> 
> What does "the_pipeline" mean?

PROCESS *the_pipeline = (PROCESS *)NULL;

> 
> And why is an internal warning translated anyway?

It indicates an anomalous but non-fatal condition that indicates a possible
bug, so it's a message like any other. You'd like the user to know what it
is and, I hope, report it.

In this case, that doesn't really matter because the message is #ifdef
DEBUG and won't appear in production releases, so it probably doesn't need
to be translated.

The real bug is that there are some untranslated calls in jobs.c that
aren't protected by #ifdef DEBUG.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to