Skip to content

LLARRAYELT: \CHECKARRAYBLOCK says checking trailer consistency but checks header instead #2189

Open
@nbriggs

Description

@nbriggs

In \CHECKARRAYBLOCK, one of the COND clauses reads

  ((NEQ (fetch (ARRAYBLOCK INUSE) of BASE)
        (NOT FREE))
    (SETQ ERROR "ARRAYBLOCK Trailer INUSE bit set wrong"))

but it checked the INUSE bit of BASE (the header) earlier, and here it should be checking of TRAILER.
It doesn't affect the normal operation, but it would mean that a mis-set INUSE bit in the trailer would not be detected. This error has been there since at least 13-Feb-1985, the last time this code was edited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working (as per documentation)

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions