BUG in decompose-file-name

From: Giorgio Cesana <cesana_at_venus.sgs-thomson.it>
Date: Wed, 22 Mar 1995 14:21:59 +0100

Dear all,

I have found a bug in the decompose-file-name function.

Typing the following command I obtain:

STk> (decompose-file-name "/a/b/c.stk")
("/" "a" "b" "c.stk")

while the documentation says

(decompose-file-name "/a/b/c.stk")
        ==> ("a" "b" "c.stk")

Other problems raises when I do not use an absolute path name. I obtain an
INFINITE LOOP typing

(decompose-file-name "any_file_name")
[... I am still waiting for an answer]


Note: I think it is useful to know if a filename is a full-path-name or not
      (the "/" item should be documented), but a fix is needed for relative
      filenames.

Regards

Giorgio


-------------------------------------------------------------------------------

Giorgio Cesana | SGS-THOMSON Microelectronics
phone +39/39/603.6006 | Central R&D - DAIS
fax +39/39/603.5820 | via C. Olivetti, 2
e-mail cesana_at_venus.sgs-thomson.it | 20041 Agrate B.za (MI) - ITALY
Received on Wed Mar 22 1995 - 14:23:35 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST