sway/swaybar
sghctoma 315b2bf100 Replace getdelim to make swaybar work on FreeBSD
This commit fixes a segfault in swaybar on FreeBSD that was caused by
using getdelim with EOF as delimiter on an infinite stream. The FreeBSD
implementation handles the "no more data, delimiter not found, and EOF
not reached" scenario as an error, so it can't be used to read the
output of status command. This commit replaces the getline/getdelim
calls with reading all available data from the stream in one go.
2018-09-26 20:38:16 +02:00
..
bar.c swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available). 2018-09-22 11:34:21 -07:00
config.c Fix a bunch of swaybar memory leaks 2018-04-24 22:28:55 +01:00
event_loop.c swaybar: fix empty function prototypes 2018-09-18 11:36:33 +01:00
i3bar.c swaybar: log invalid i3bar json 2018-09-21 15:10:47 +01:00
ipc.c Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE 2018-09-03 09:08:49 +02:00
main.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
meson.build Revert "Install swaybar and swaybg under /usr/lib/sway" 2018-05-06 00:20:57 +01:00
render.c swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available). 2018-09-22 11:34:21 -07:00
status_line.c Replace getdelim to make swaybar work on FreeBSD 2018-09-26 20:38:16 +02:00