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

2 Bugs with -nc #787

Open
michaelortmann opened this Issue Dec 1, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@michaelortmann
Member

michaelortmann commented Dec 1, 2018

$ ./eggdrop -nc

Bug 1:

The first channel stats should be displayed immediately, not waiting the first 10 secs ?

Bug 2:

Status in mode -nc show -nan% for Cache hit:

Online for 00:00 (status mode) - CPU: 00:00.01 - Cache hit: -nan%

Mode -nt it woks fine.

Meanwhile i compiled eggdrop under FreeBSD 12.0-RC3 with CFLAGS="-march=native -O2 -g3 -fsanitize=undefined -fstack-protector-all -D_FORTIFY_SOURCE=2 -std=c89 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -Wall" ./configure. It compiles cleanly, no single warning, but ./eggdrop -nc showed the following in red color: chanprog.c:347:39: runtime error: division by zero. Eggdrop doesn't crash it looks more like a warning but should be fixed anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment