nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mhshow -file /tmp (!)

2017-03-17 12:55:23
    Date:        Fri, 17 Mar 2017 12:34:04 -0400
    From:        Ken Hornstein <kenh(_at_)pobox(_dot_)com>
    Message-ID:  
<20170317163406(_dot_)2A54F74A1D(_at_)pb-smtp2(_dot_)pobox(_dot_)com>

  | mhshow: error reading from /tmp: Is a directory
  |         (content text/plain in message /tmp)

Some systems don't allow reads of directories, traditional unix, and
many other systems just treat a directory as a (read-only) file, and you
can read it like any other file (and on those, readdir() is sometimes just
a wrapper that calls read(), and knows a little bit about how much to
hand back each call.)

kre


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>