Hi, thanks for your reply.

On Mon, 16 Feb 2026 01:57:38 +0100 Vincent Lefevre <[email protected]> wrote:
On 2026-02-15 21:07:24 +0100, Jerome BENOIT wrote:
> In the function `load-info-hastables` in source file  `src/cl-info.lisp` 
(line 256),
> the check of the dir-name parameter against '*maxima-index-dir*' fails because
> the dir-name returned by 'maxima-load-pathname-directory' (defined in 
'src/init-cl.list' (line 910))
> is faulty. More specifically, it returns the correct pathname but with an 
extra ending '/.'.
> This terminal '/.' renders the aforementioned check non-effective.

The pathnames $some_path and $some_path/. should resolve to the
same directory. So I doubt that this is an issue (or this would
mean that something else is broken).

I agree. However they does not resolve to the same strings.

Here the patched code that I think is faulty:

-(defun load-info-hashtables (dir-name deffn-defvr-pairs section-pairs)
+(defun load-info-hashtables (dir-name deffn-defvr-pairs section-pairs
+                            ;; In Debian, lsp index file must be in different 
directory from info files
+                            &aux (dir-name
+                                  (or (when (equal (pathname (concatenate 'string 
maxima::*maxima-index-dir* "/"))
+                                                   dir-name)
+                                        (maxima::combine-path maxima::*maxima-infodir* 
""))
+                                      dir-name)))


Jerome


--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)



--
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/[email protected]
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to