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: Benno Schulenberg
Subject: Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory
Date: Fri, 03 Jun 2016 13:08:57 +0200

On Thu, Jun 2, 2016, at 18:14, Mike Frysinger wrote:
> On 02 Jun 2016 17:31, Rishabh Dave wrote:
> > #1 chdir-to-check-path.patch - we change directory to see if we can
> > access it, print an error if we can't and return to original
> > directory. But then, as always, we shouldn't be sure that the path
> > still exists. But we use this method elsewhere.
> 
> i strongly dislike progs that attempt to chdir and then chdir back.

But nano already does that, in get_full_path().  What should it do
instead to get the full, canonical path of something?

Benno



-- 
http://www.fastmail.com - mmm... Fastmail...




reply via email to

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