bugGNU nano - Bugs: bug #59070, --enable-libmagic should not be...


You are not allowed to post comments on this tracker with your current authentication level.

bug #59070: --enable-libmagic should not be possible without --enable-color

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 06 Sep 2020 01:37:20 PM UTC
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Wed 16 Sep 2020 05:38:52 PM UTC, comment #1: 

Fixed in git, commit 235f92ce.

Benno Schulenberg <bens>
Group administrator
Sun 06 Sep 2020 01:37:20 PM UTC, original submission:  

To see what I mean, run:

./configure -C --enable-tiny --enable-libmagic

See that configuring succeeds.  Then run 'make', and afterward do 'src/nano --version'.  See that it says:

 Compiled options: --enable-tiny --enable-libmagic --enable-utf8

The "--enable-libmagic" is wrong: no support for libmagic has been included because no support for color syntaxes is included.  (The latter requires --enable-color, which in turn requires --enable-nanorc.)

Expected behavior, when --enable-tiny is used, --enable-libmagic should have no effect (or better: get rejected) when not also --enable-color is given.

Benno Schulenberg <bens>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-08 bens Open/ClosedOpen Closed
    2020-09-16 bens StatusNone Fixed
    2020-09-06 bens Summary--enable-magic should not be possible without --enable-color --enable-libmagic should not be possible without --enable-color

    Back to the top

    Powered by Savane 3.12