monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Solaris breakage


From: Zack Weinberg
Subject: Re: [Monotone-devel] Solaris breakage
Date: Tue, 24 Jul 2007 16:02:09 -0700

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).  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.

zw - doesn't trust anything between the application and the kernel




reply via email to

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