Re: [dev] [vis] [PATCH] Fix handling of file load errors

From: Marc André Tanner <mat_AT_brain-dump.org>
Date: Wed, 15 Apr 2015 10:22:19 +0200

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
Received on Wed Apr 15 2015 - 10:22:19 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 15 2015 - 10:24:19 CEST