gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] [HEY TOM!] unhelpful error for unreadable directori


From: Tom Lord
Subject: Re: [Gnu-arch-users] [HEY TOM!] unhelpful error for unreadable directories
Date: Mon, 26 Apr 2004 07:44:01 -0700 (PDT)

    > From: Aaron Bentley <address@hidden>

    > Tom Lord wrote:

    > >     > "Error encountered checking for nested project trees in %s:\n%s
    > >     > accessing %s\n", directory, errno_to_string (errn), file);

    > > That error message is misleading to experts.  How about:

    > I must not be understanding, because I don't see how experts can be 
    > mislead by that.  Maybe the context isn't interesting for someone who 
    > knows Arch well, but
    > "Permission denied accessing foo/{arch}." can't be misleading can it?

I misread your format string and didn't notice it included a %s for `file'.



    > >         Error checking for existence of: foo/{arch}
    > >          (from lstat): Permission denied (13)

    > If you want to be really factual, you should say "(from vu_lstat)".

True.

    > A message like that is a good explanation of what caused the program to 
    > stop, but providing a bit of context about *why* we were doing it is 
    > helpful to people who don't know Arch inside and out.

Sure, that's fine.


    > I think we're stalemated.  

No, it only looks that way because I misread your format string.

In fact, it's just the opposite.   We've reached agreement.

Thanks for your patience.

-t





reply via email to

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