path



On 2012-10-30, Leo Butler <l_butler at users.sourceforge.net> wrote:

> I did, and with sbcl at least, pathname_directory barfs on a string
> input. I guess you consider that a bug?

Hmm, I can't confirm that. Working on Linux (Xubuntu 8.something).

Maxima 5.28.0_83_g4829495 http://maxima.sourceforge.net
using Lisp SBCL 1.0.49
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) pathname_directory ("/tmp/foo.bar");
(%o1)                                /tmp/
(%i2) pathname_type ("/tmp/foo.bar");
(%o2)                                 bar
(%i3) pathname_name ("/tmp/foo.bar");
(%o3)                                 foo

Other Lisps (CMUCL, GCL, ECL, Clisp) also work OK.

For the record,

Robert Dodier