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

From: Marc André Tanner <>
Date: Tue, 21 Apr 2015 23:39:14 +0200

On Tue, Apr 14, 2015 at 05:25:15PM +0200, Willem van de Krol wrote:
> Permission errors are handled in text_load(). To detect these errors,
> and other open() errors (opening a directory, for example), check the
> return value of text_load().
> 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.

Thanks again for the patch! The issue should hopefully be fixed by

 Marc André Tanner >< >< GPG key: CF7D56C0
Received on Tue Apr 21 2015 - 23:39:14 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 21 2015 - 23:48:30 CEST