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: Svante Signell
Subject: Re: Confusing results when trying to debug fakeroot-hurd
Date: Mon, 08 Dec 2014 13:24:16 +0100

On Mon, 2014-12-08 at 13:11 +0100, Samuel Thibault wrote:
> 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.

Will do, but what is wrong with writing to a file?

BTW: Modifying the fakeroot-hurd script did not change anything: no
printouts to /tmp/libnetfs_...





reply via email to

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