bug-hurd
[Top][All Lists]
Advanced

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

Re: Confusing results when trying to debug fakeroot-hurd


From: Samuel Thibault
Subject: Re: Confusing results when trying to debug fakeroot-hurd
Date: Mon, 8 Dec 2014 13:11:22 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Svante Signell, le Mon 08 Dec 2014 13:09:28 +0100, a écrit :
> On Mon, 2014-12-08 at 12:40 +0100, Samuel Thibault wrote:
> > Svante Signell, le Mon 08 Dec 2014 12:05:13 +0100, a écrit :
> > > Which translators are restarted when installing,
> > 
> > Nothing gets restarted when you install. Only the newer translator that
> > you start will use the new implementation.
> > 
> > > and which are when rebooting?
> > 
> > Everything gets restarted of course.
> 
> seems like using mach_printf and rebuilding everything is the only way
> to get some consistent results when printing (very time-consuming).

No, it's not.  Again, fprintf(stderr)+fflush *does* work, I've been
using various times.  If you don't get your prints going somewhere,
you're probably not managing to start your rebuilt programs.  Again, to
be sure, put fprintf(stderr)+fflush in the main() and initialization
function of your translators and libraries to make sure you're really
running what you want to be running.

> (and I would like to have the printouts in /tmp instead of the
> console??)

mach_print can't do that. Mach doesn't even know what a file is.

Samuel



reply via email to

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