|
| From: | Mike Miller |
| Subject: | [Octave-bug-tracker] [bug #32176] infinite loop if PS1 contains deleted current directory |
| Date: | Sat, 12 Oct 2013 15:13:02 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36 |
Update of bug #32176 (project octave):
Status: Confirmed => Patch Submitted
Assigned to: None => mtmiller
Release: 3.3.54 => dev
_______________________________________________________
Follow-up Comment #5:
Attached patch fixes the infinite loop. Not pushed yet because I'm not sure
what string is best to present in place of the directory. This patch does the
following:
octave:1> PS1 ("\\s:\\w> ");
octave:~> mkdir ~/tempdir
ans = 1
octave:~> cd ~/tempdir
octave:~/tempdir> rmdir ~/tempdir
ans = 1
error: unable to find current directory
octave:> pwd
error: unable to find current directory
error: pwd: unable to find current directory
error: unable to find current directory
octave:> cd
error: unable to find current directory
octave:~>
If no one objects I can push this fix.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32176>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |