octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65559] savepath() regression no longer saves


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #65559] savepath() regression no longer saves paths
Date: Mon, 8 Apr 2024 11:16:08 -0400 (EDT)

Update of bug #65559 (group octave):

                  Status:               Confirmed => Patch Submitted        
        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #12:

Thank you for the pointer. And sorry for having broken that.

Taking a closer look at the new regular expression, it is possible that it
resulted in just matching the regular expression ".*" when trying to determine
which paths share a prefix to an installed package. That can happen if for any
installed package either the "dir" or (more likely) the "archprefix" field is
empty. The latter is the case if a package doesn't install any binaries.

I probably tested the original change while I had only packages that install
binaries.

That attached patch should fix that issue.


(file #55927)

    _______________________________________________________

Additional Item Attachment:

File name: bug65559-savepath-empty-package-dir.patch Size: 1KiB
   
<https://file.savannah.gnu.org/file/bug65559-savepath-empty-package-dir.patch?file_id=55927>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-319f5d616b046e3879e4959f590f30fc8cc4e6d6.tar.gz


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65559>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]