monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Solaris breakage


From: William Uther
Subject: Re: [Monotone-devel] Solaris breakage
Date: Wed, 25 Jul 2007 12:56:17 +1000


On 25/07/2007, at 9:02 AM, Zack Weinberg wrote:


On 7/24/07, William Uther <address@hidden> wrote:
> zackw> I will bet a fabulous no-prize that errno's gotten clobbered
> zackw> by the time we get round to printing it.

Well, I committed a change that makes sure the errnos were not
clobbered, and it hasn't changed the error.

I saw that go by.  Unfortunately, it rather misses the point (and I'm
tempted to ask you to revert it on legibility grounds).

Ahh - okie. Do we know that gettext does NOT clobber errno on all systems?

It isn't
gettext() that I suspect of clobbering errno, it's remove() itself.
remove() isn't a system call; it's *supposed* to call unlink() or
rmdir() as appropriate, but if Solaris libc is screwing that up, the
only way we'll know is by inspection of the actual sequence of system
calls.  Which is what truss does.

Fair enough.

Be well,

Will         :-}







reply via email to

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