On Tue, Apr 14, 2015 at 05:25:15PM +0200, Willem van de Krol wrote:
> This fixes a segmentation fault when opening a directory.
> Also, opening a file you are not permitted to read, will now give an
> error, instead of showing the file as empty.

Yes this needs improving, however your patch breaks the simple case
of opening/creating a not yet existing file as in:

 $ vis fancy-new-file-name
   [...] # editing
   :wq

-- 
 Marc André Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0

Reply via email to