blob: c3b208b764d1274b3f2333b601175c9a1dcc6fe7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
From: "Thomas Weber" <tweber@debian.org>
Subject: Don't crash on calling addpath('./')
Description: Octave 3.2 crashes when calling something like
echo "addpath('./'); addpath('./')" | octave
This patch originates from a larger patch from upstreams's development version.
Origin: partly upstream, http://hg.savannah.gnu.org/hgweb/octave/rev/4acae5e46738
Bug-Debian: http://bugs.debian.org/592517
Applied-Upstream: http://hg.savannah.gnu.org/hgweb/octave/rev/4acae5e46738
--- a/src/load-path.cc
+++ b/src/load-path.cc
@@ -653,8 +653,6 @@
if (i != dir_info_list.end ())
move (i, false);
- else
- panic_impossible ();
}
void
|