nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] segmentation fault when trying to browse to an inaccess


From: Rishabh Dave
Subject: Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory
Date: Thu, 9 Jun 2016 14:31:04 +0530

On Thu, Jun 9, 2016 at 12:27 AM, Benno Schulenberg
<address@hidden> wrote:
> Hm.  I don't like the solution.  I would, after printing the error message,
> check if filelist is null, and if so, pause shortly (like for the message
> when the working directory has disappeared) and then return from do_browser(),
> because nothing can be done anyway.

I agree on pausing and returning but, personally, I find the error
message we already have too general. "Cannot enter directory: %s"
confuses user as he didn't yet think of entering a directory. Patch is
attached.

Attachment: check-if-filelist-is-null-and-quit-browser.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]