From: Eric Blake <ebb9@byu.net>
To: cygwin-apps@cygwin.com
Subject: Re: cygpath 1.7 wrong
Date: Fri, 13 Jun 2008 13:14:00 -0000 [thread overview]
Message-ID: <4852727D.3020708@byu.net> (raw)
In-Reply-To: <48527025.3080709@x-ray.at>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Reini Urban on 6/13/2008 7:03 AM:
| 1.5 returns in user resp. system "/cygdrive",
| but 1.7 returns "/cygdrive/"
| This is annoying.
But is it wrong? On the other hand, what happens if the user has / as
their cygdrive; does this print //?
| 2) multibyte chars in pathnames are not printed with /bin/ls.
| bash or coreutils?
Probably coreutils, and probably because isprint() is returning false. In
1.5.x, I hacked coreutils to print non-ASCII characters in spite of
isprint() returning false, but I think that hack disappeared in my porting
to 1.7.0. At any rate, I think that isprint() should be fixed here rather
than hacking coreutils - if the console can display something reasonable
for characters >= 0x80, then isprint() should claim they are printable.
But some of this also depends on deciding sane semantics for unibyte vs.
multibyte character locale settings.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhScn0ACgkQ84KuGfSFAYCYaQCgpmEs74b7Q5wBVDtdPIyxuQAn
428AoIdyL8mTew5Gvoi5kZW8h1xtA2FA
=FIqi
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2008-06-13 13:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-03 20:15 Reini Urban
2008-06-09 14:24 ` Corinna Vinschen
2008-06-13 8:29 ` Corinna Vinschen
2008-06-13 13:04 ` Reini Urban
2008-06-13 13:14 ` Eric Blake [this message]
2008-06-13 14:19 ` Corinna Vinschen
2008-06-13 15:23 ` Corinna Vinschen
2008-06-13 14:31 ` Corinna Vinschen
2008-06-13 14:41 ` Christopher Faylor
2008-06-13 14:51 ` Corinna Vinschen
2008-06-13 15:07 ` Reini Urban
2008-06-13 15:02 ` Reini Urban
2008-06-13 15:15 ` Corinna Vinschen
2008-06-13 15:19 ` Corinna Vinschen
2008-06-13 16:56 ` Reini Urban
2008-06-13 17:26 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4852727D.3020708@byu.net \
--to=ebb9@byu.net \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).