I can't build oxbar on OpenBSD 7.5
ssh3 opened this issue · 5 comments
ssh3 commented
Hi, many thanks for your work. :)
I used the last version.
alex@balamut:oxbar$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
alex@balamut:oxbar$ git pull
Already up to date.
Buiding
alex@balamut:oxbar$ make
cc -O2 -pipe -c -std=c89 -Wall -Wextra -Werror -O2 `pkg-config --cflags pangocairo` settings.c
settings.c:659:49: error: 'sscanf' may overflow; destination buffer in argument 3 has size 100, but the corresponding specifier may require size 101 [-Werror,-Wfortify-source]
if (1 == sscanf(line, " [%100[-a-zA-Z0-9]] ", theme_name)) {
^
1 error generated.
*** Error 1 in /home/alex/src/oxbar (Makefile:38 'settings.o')
Let me know if you need more details.
ssh3 commented
Fixed https://github.com/bm3719/oxbar
Thanks @bm3719
uwerler commented
Hi,
unfortunately causes oxbar higher cpu load via xorg. Do you experience
the same?
Best regards
Uwe
…On 18 Apr 19:02, Aleksei I. Shupikov wrote:
Fixed [1]https://github.com/bm3719/oxbar
Thanks ***@***.***
—
Reply to this email directly, [3]view it on GitHub, or [4]unsubscribe.
You are receiving this because you are subscribed to this thread.*Message ID:
***@***.***>
References:
[1] https://github.com/bm3719/oxbar
[2] https://github.com/bm3719
[3] #6 (comment)
[4] https://github.com/notifications/unsubscribe-auth/AFBYDG34GL4I63VBRURZBD3Y6B3LXAVCNFSM6AAAAABFYU4EXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRVGYYTIOBXGI
--
wq: ~uw
bm3719 commented
Not having any resource issues here either. It's unlikely fixing that compiler error would cause that.
That said, I have found a few other bugs in the codebase, so perhaps you've encountered yet another one. The most annoying for me is that it'll core dump if it doesn't have an active network connection upon startup. This happens whenever I'm on the road with my OpenBSD laptop and haven't set up my USB tether yet.
So yeah, there's still some issues.
uwerler commented
Hi all,
I encounter that when the graphs for CPU usage are drawn. For now I set
it to cpushort (text only) and load of xorg normalizes to 1-2% cpu usage
instead of around 12%.
Best regards
Uwe
Am 19 Apr 04:46, schrieb Bruce C. Miller:
… ***@***.***
Not having any resource issues here either. It's unlikely fixing that compiler
error would cause that.
That said, I have found a few other bugs in the codebase, so perhaps you've
encountered yet another one. The most annoying for me is that it'll core dump
if it doesn't have an active network connection upon startup. This happens
whenever I'm on the road with my OpenBSD laptop and haven't set up my USB
tether yet.
So yeah, there's still some issues.
—
Reply to this email directly, [2]view it on GitHub, or [3]unsubscribe.
You are receiving this because you were mentioned.*Message ID: <ryanflannery/
***@***.***>
References:
[1] https://github.com/uwerler
[2] #6 (comment)
[3] https://github.com/notifications/unsubscribe-auth/AFBYDGZYU6VYRUUYHG36OH3Y6D7YHAVCNFSM6AAAAABFYU4EXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRWGQYDENZRG4
--
wq: ~uw