zsh-workers
 help / color / mirror / code / Atom feed
* ztat() fuzziness
@ 2005-08-18 18:44 Andrey Borzenkov
  0 siblings, 0 replies; only message in thread
From: Andrey Borzenkov @ 2005-08-18 18:44 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 398 bytes --]

ztat() blindly tries both escaped and unescaped names which sometimes may lead 
to funny results:

localhost% ls -F
\*  \\\*/
localhost% l \\\*/
\\\*/      \\\\\\\*/

both are marked as directories because first time it checks escaped \* and 
finds another one (which is directory now).

I am mostly concerned with unpredictable side effects with multibyte character 
sets.

-andrey

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-18 18:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-18 18:44 ztat() fuzziness Andrey Borzenkov

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).