[Top][All Lists]

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

Re: (still) Need some help with translators

From: Samuel Thibault
Subject: Re: (still) Need some help with translators
Date: Wed, 7 Nov 2012 16:32:20 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Svante Signell, le Wed 07 Nov 2012 16:26:50 +0100, a écrit :
> On Wed, 2012-11-07 at 16:11 +0100, Samuel Thibault wrote:
> > Svante Signell, le Wed 07 Nov 2012 08:46:36 +0100, a écrit :
> > > #> ps -feM|grep pflocal
> > > root     9     3  0:02.69 /hurd/pflocal
> > > root   881     1  0:00.01 /hurd/pflocal.new
> > 
> > btw, the ppid of pflocal.new is 1, which is init, not 3, so it has not
> > been started by the root ext2fs, or at least not the one currently
> > running. So either your root ext2fs has died at some point during
> > boot, or you have another ext2 filesystem from which pflocal.new gets
> > triggered by a passive translator record, and the ext2fs running that
> > filesystem somehow got down, but leaving the pflocal.new running.
> Thanks, I have now killed that process and rebooted, and only the one
> at /hurd/pflocal remains, so it seemed to be an active one. Now the
> problem is that even if using the printf-modified pflocal (stdout),
> nothing is printed. Maybe I have to do as Richard proposed, write the
> output to a file instead. 

That'd be more sure. Where are you looking at? passive translators have
at best their output sent to the mach console, *not* the stdout of where
you run programs using them (even if that's what triggered their start).
And you have to flush the output stream, even if it's stderr.

> A question regarding the server-client code of the translators: Is there
> an easy way to find out what is server code and what is client code?

S_foobar () {} function definition is server code and foobar() call is
client code. Just like the former is the implementation of a function,
and the latter is the caller of the function.


reply via email to

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