[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] nvi to dont open dirs
On Jan 5, 11:50pm, adam.hoka%gmail.com@localhost (Adam Hoka) wrote:
-- Subject: Re: [PATCH] nvi to dont open dirs
| Christos Zoulas wrote:
| > In article <200812201857.53498.sverre%viewmark.com@localhost>,
| > Sverre Froyen <sverre%viewmark.com@localhost> wrote:
| > >On Saturday 20 December 2008, Adam Hoka wrote:
| > >> Hi!
| > >>
| > >> I think this patch wont cause any harm, but I think its better to ask.
| > >> Anyone objects this? Basically this wont let nvi open a directory for
| > >> "editing". I happen to open dirs accidentaly. :-)
| > >
| > >Personally, I'd like to see the ability to open directories preserved. =
| > >may be good reasons to avoid writing to a directory. If so, perhaps tha=
| > >could be prevented.
| > >
| > The kernel prevents that. I am opposed to the patch too, because it is
| > behavior changing, and reading a directory is not harmful.
| > christos
| And when is it useful to open a directory with vi?
Until we become linux where read on a directory returns an error, the
editor should behave the same way as cat.
Main Index |
Thread Index |