Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make check fails since 256 colour change #1178

Closed
jubalh opened this issue Aug 23, 2019 · 0 comments
Closed

make check fails since 256 colour change #1178

jubalh opened this issue Aug 23, 2019 · 0 comments
Assignees
Milestone

Comments

@jubalh
Copy link
Member

jubalh commented Aug 23, 2019

make check fails for clears_chat_sessions() with:

(process:2421): GLib-ERROR **: 14:41:23.235: ../glib/gmem.c:135: failed to allocate 18446744073709551612 bytes

happening due to cache.pairs = g_malloc0(sizeof(*cache.pairs)*cache.capacity); in src/config/color.c.

I assume COLOR_PAIRS might have a strange value in the unit test case since we have no ncurses?

@jubalh jubalh self-assigned this Aug 23, 2019
@jubalh jubalh added this to the 0.8.0 milestone Aug 23, 2019
@jubalh jubalh closed this as completed in e408e98 Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant