[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] do_browse_from() bugs.
From: |
David Benbennick |
Subject: |
[Nano-devel] do_browse_from() bugs. |
Date: |
Tue, 28 Jan 2003 15:36:59 -0500 |
User-agent: |
Mutt/1.2.5.1i |
Do ^R, type /does/not/exist, then ^T. Hitting Enter will crash Nano.
Also, make an unreadable directory. Enter its path at the Insert File
prompt, then do ^T. Again, the browser is mucked up and will crash.
The operating directory was not checked when opening the file browser.
With nano -o $PWD, you can type /foo/ at the prompt, then do ^T to open
the file browser.
Finally, if you just type a directory name at the prompt (for example from
the Nano CVS directory, type "po") the browser should open there.
These bugs are fixed by changing do_browse_from(). I had to add a
function readable_dir() to check whether a directory can be opened.
dobrowse.patch
Description: Text document
pgpWe7eSbzqqt.pgp
Description: PGP signature
- Re: [Nano-devel] do_mouse bugs., (continued)
- [Nano-devel] Mouse code in do_yesno()., David Benbennick, 2003/01/26
- [Nano-devel] Re: Mouse code in do_yesno()., Chris Allegretta, 2003/01/27
- [Nano-devel] Constant cursor position., David Benbennick, 2003/01/26
- [Nano-devel] Re: Constant cursor position., Chris Allegretta, 2003/01/26
- [Nano-devel] do_cursorpos bugs., David Benbennick, 2003/01/26
- Re: [Nano-devel] do_cursorpos bugs., Chris Allegretta, 2003/01/27
- [Nano-devel] File browser with operating directory set., David Benbennick, 2003/01/26
- Re: [Nano-devel] File browser with operating directory set., Chris Allegretta, 2003/01/26
- [Nano-devel] do_browse_from() bugs.,
David Benbennick <=
Re: [Nano-devel] Page Up/Down, Ken Tyler, 2003/01/25
Re: [Nano-devel] Page Up/Down, Ken Tyler, 2003/01/25