[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Old patch, updated to new CVS.
From: |
David Benbennick |
Subject: |
Re: [Nano-devel] Old patch, updated to new CVS. |
Date: |
Thu, 5 Sep 2002 20:18:11 -0400 |
User-agent: |
Mutt/1.2.5.1i |
On Thu, Sep 05, 2002 at 04:58:00PM -0700, David Lawrence Ramsey wrote:
> I'm not seeing this; exactly what directory are you using
> as your operating directory, and what are the permissions
> on it?
Ah ha! I have been running nano from a subdirectory of the operating
directory I chose. At the code handling option 'o' in nano.c:main(), the
check_operating_dir() returns 0 since . is within the operating directory,
so the chdir() doesn't happen.
There is a new patch at http://www.math.cornell.edu/~dbenbenn/nano/ that
fixes this problem and some others. (operatingdir keyword in the nanorc
didn't chdir(), and an operating directory of / was incorrectly treated
like a non-existant operating dir.)
The attached patch, relative between quote32 and quote33, shows what I
changed, and nearly applies to nano CVS.
quote33r.diff
Description: Text document
pgppXxlUxiCs5.pgp
Description: PGP signature
- Re: [Nano-devel] Old patch, updated to new CVS., David Benbennick, 2002/09/05
- Re: [Nano-devel] Old patch, updated to new CVS., David Lawrence Ramsey, 2002/09/05
- Re: [Nano-devel] Old patch, updated to new CVS.,
David Benbennick <=
- Re: [Nano-devel] Old patch, updated to new CVS., David Lawrence Ramsey, 2002/09/05
- Re: [Nano-devel] Old patch, updated to new CVS., David Lawrence Ramsey, 2002/09/05
- Re: [Nano-devel] Old patch, updated to new CVS., David Lawrence Ramsey, 2002/09/06
- Re: [Nano-devel] Old patch, updated to new CVS., David Lawrence Ramsey, 2002/09/06
- Re: [Nano-devel] Old patch, updated to new CVS., David Lawrence Ramsey, 2002/09/06