[Pkg-octave-devel] Bug#374943: octave2.9: path() only uses the first argument

Kim Hansen kim at i9.dk
Thu Jun 22 08:13:36 UTC 2006


Package: octave2.9
Version: 2.9.6-2
Severity: normal

When I set the path the second argument to the path function get dropped:
===========
octave:1> path("test1","test2")
octave:2> path

Octave's search path contains the following directories:

.      test1

octave:3>
===========

.From the help to path() in 2.9.6:
     If NARGIN is greater than zero, concatenate the arguments,
     separating them with `pathsep()'.  Set the internal search path to
     the result and return it.

I had expected the path to be set to ".:test1:test2" or "test1:test2", that is
also the behavior in 2.9.5.

It also looks like a bug that the path isn't returned by the function.

Regards,
Kim Hansen

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-486
Locale: LANG=en_DK, LC_CTYPE=en_DK (charmap=ISO-8859-1)

Versions of packages octave2.9 depends on:
ii  atlas3-base [liblapack.so.3 3.6.0-20.2   Automatically Tuned Linear Algebra
ii  fftw3                       3.1.1-1      library for computing Fast Fourier
ii  libc6                       2.3.6-15     GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-5    GCC support library
ii  libgfortran0                4.0.3-3      Runtime library for GNU Fortran ap
ii  libglpk0                    4.10-1       linear programming kit (shared lib
ii  libhdf5-serial-1.6.5-0 [lib 1.6.5-2      Hierarchical Data Format 5 (HDF5) 
ii  libncurses5                 5.5-2        Shared libraries for terminal hand
ii  libpcre3                    6.4-2        Perl 5 Compatible Regular Expressi
ii  libreadline5                5.1-7        GNU readline and history libraries
ii  libstdc++6                  4.1.1-5      The GNU Standard C++ Library v3
ii  libufsparse                 1.2-6        collection of libraries for comput
ii  texinfo                     4.8.dfsg.1-1 Documentation system for on-line i
ii  zlib1g                      1:1.2.3-11   compression library - runtime

octave2.9 recommends no packages.

-- no debconf information




More information about the Pkg-octave-devel mailing list