[Top][All Lists]

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

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

From: tomas
Subject: Re: [Gnu-arch-users] Re: [HEY TOM!] unhelpful error for unreadable directories
Date: Wed, 28 Apr 2004 09:43:45 +0200
User-agent: Mutt/1.5.3i

On Tue, Apr 27, 2004 at 07:50:04AM -0700, Tom Lord wrote:
>     > From: address@hidden
>     > Nits about backticks and accents aside, it's still a good idea to
>     > delimit the filename (or any other string coming from outside).
> I have a habit in tla code which may as well be promoted to "coding
> standard": [...]

>       unable to frob patch log (permission denied)
>           tree: /home/lord/wd/tla
>           log: tla--devo--1.1
> That avoids the issue of whether to use ", `, or ' to delimit
> filenames, is easier to cut and paste, and tends to cope with
> longer filenames in messages better than most approaches.
> strerr strings generally should go in parentheses, as shown, next to a
> more specific description of the error.

Makes sense. Still, you won't *see* trailing whitespaces,
at least on normal terminals. Hmmm.

(And a trailing whitespace *might* be the cause a file is not
found, yuck ;-)

-- tomás

reply via email to

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