Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch lock resolved DMOTD render-mode signals with readonly in 140.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 20, 2026.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:23 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    lock resolved DMOTD render-mode signals with readonly in 140.00beta01

    The comment at config/motd/dmotd.sh:66-69 claims _DMOTD_COMPACT_EFFECTIVE
    and _DMOTD_FANCY_ACTIVE are "never mutated after the resolution block".
    Add a readonly declaration right after the resolution block so the
    comment becomes an enforced guarantee — any later code path that
    attempts to mutate either signal fails loudly at runtime.


    Continue reading...

    140.00beta01 branch