[Top][All Lists]

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

Re: filenames in error messages

From: Eric Blake
Subject: Re: filenames in error messages
Date: Fri, 15 Feb 2008 07:08:38 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Hash: SHA1

According to Karl Berry on 2/14/2008 4:48 PM:
|     | "C escapes" means to use the backslash character as escape character.
|     | This is a particularly bad choice, because - as you know - on some
|     | backslahes are used as directory separator.
| That hardly seems an insurmountable objection to me, since
| (1) many such paths will not have any special characters (such as : or a
| control character), and therefore will not be quoted, and therefore the
| \'s will just appear as-is, and

Quotearg does not now do this (if \ is present at all, the c-maybe style
adds "" and quotes it), but I can easily add that behavior (if \ appears,
but no other troublesome characters, then "" is not added and \ appears as
is, rather than doubled).  Thanks for the idea.

Meanwhile, whether or not the decision is made to go with \ vs. % quoting,
I think it shouldn't be too hard to make the quotearg module support both
styles, so I'll tackle an implementation of % quoting next.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


reply via email to

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