8000 ACTION_BOX_SIZE in src/config/dialogs.c needs to be increased by 1? · Issue #321 · rkd77/elinks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ACTION_BOX_SIZE in src/config/dialogs.c needs to be increased by 1? #321
Closed
@balducci

Description

@balducci

hello

current master fails to build for me with:

env LC_ALL=C LANGUAGE=en ELINKS_BINARY=/home/balducci/tmp/install-us-d/felinks-7039.d/felinks-7039/.build/src/elinks /home/balducci/tmp/install-us-d/felinks-7039.d/felinks-7039/doc/tools/help2xml /home/balducci/tmp/install-us-d/felinks-7039.d/felinks-7039/.build/src/elinks doc/option-config.frag.xml
�INTERNAL ERROR at ../src/config/dialogs.c:568: assertion act->num < ACTION_BOX_SIZE failed!
�INTERNAL ERROR at ../src/config/dialogs.c:541: assertion action_id < ACTION_BOX_SIZE failed!

That is due to:

        #define ACTION_BOX_SIZE 138
        ...
	assert(action_id < ACTION_BOX_SIZE);

in src/config/dialogs.c.

From what I seem to understand, the last commit has increased the
maximum possible value of action_id by 1, so increasing
ACTION_BOX_SIZE from 138 to 139 fixes things for me.

thanks
ciao
gabriele

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0