On Thu, Oct 17, 2019 at 10:45:43AM -0400 I heard the voice of
Stefan Monnier, and lo! it spake thus:
> 
> Does anyone know what the following might be about?
> 
>     % ./build/ctwm                  
>     /usr/bin/m4: syscmd subprocess: No child processes
>     /usr/bin/m4:/tmp/monnier/ctwmrc.XXgtqmy0:31: cannot run command `/bin/rm
>     /tmp/monnier/ctwmrc.XXgtqmy0': No child processes

As a sterling example of the Obviously Right Way To Do Things(tm), we
clean up the temporary file used for m4 processing by having as its
last entry a syscmd() call (which makes m4 run a process), which calls
/bin/rm on itself[0].  So, that's failing on your system for whatever
reason, hence the complaints from m4.  You probably have multiple
/tmp/moonier/ctwmrc.abcdefg temp files left lying around.

It's a pretty outrageous thing to do.  Still, I'm a little surprised
it's failing for you often enough to notice.  I wonder why that is.



[0] https://bazaar.launchpad.net/~ctwm/ctwm/trunk/view/head:/parse_m4.c#L308
    (it's not _quite_ as easy as you'd think to fix, since the place
    where we'd need to do the cleanup is pretty far away, and we don't
    propogate the filename around like that.  Which is why it hasn't
    already been fixed just to kill the ugly...)



-- 
Matthew Fuller     (MF4839)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.

Reply via email to