9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] frogs and osx
@ 2008-01-03 19:46 Steve Simon
  2008-01-04  2:29 ` Russ Cox
  0 siblings, 1 reply; 13+ messages in thread
From: Steve Simon @ 2008-01-03 19:46 UTC (permalink / raw)
  To: 9fans

Hi,

Using u9fs to access my mac I find I cannot see directories (folders)
that have their own specific icon.

This turns out to be because these directories contain a file
Icon<cr> whiel <cr> is ASCII 13, and /sys/src/9/port/chan.c:1656
defines the frogs illegal in filenames to include carriage return.

Why does frogs contain these latters, My feeling is that only <nul>
should be illegal, perhaps these are a hangover from pre utf-8
days?

Perhaps there is a good reason for not allowing such characters,
I can see that creating such files should be discouraged but
failing a read(2) of a directory containing such files seems extreme.

Is it historic or there for a very good reason™ ?

-Steve


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-02-06 13:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-03 19:46 [9fans] frogs and osx Steve Simon
2008-01-04  2:29 ` Russ Cox
2008-01-04  6:35   ` Bruce Ellis
2008-01-04  7:24   ` Lyndon Nerenberg
2008-01-04  7:31     ` Bruce Ellis
2008-01-04  7:37       ` Lyndon Nerenberg
2008-01-04  7:45         ` Bruce Ellis
2008-01-04  7:45       ` Lyndon Nerenberg
2008-01-04  9:52         ` Bruce Ellis
2008-01-04 10:17           ` Steve Simon
2008-01-04 10:26             ` Bruce Ellis
2008-01-04 11:22     ` Pietro Gagliardi
2008-02-06 13:51       ` underspecified

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).