sway/common
M Stoeckl 62260ab56e Fix backup methods in get_socketpath for IPC client
Previously, the success of `getline` was tested by checking if the
buffer it allocates is nonempty and has a nonzero first byte. As
 `getline` does not explicitly zero out its memory buffer, this may
fail (e.g., with AddressSanitizer). Instead, we check that at least one
character was returned on standard output.

Also, trailing newlines (if present) are now removed.
2019-01-19 18:45:25 +01:00
..
background-image.c Use #if instead of #ifdef 2018-11-18 00:33:06 +01:00
cairo.c Use #if instead of #ifdef 2018-11-18 00:33:06 +01:00
ipc-client.c Fix backup methods in get_socketpath for IPC client 2019-01-19 18:45:25 +01:00
list.c Merge pull request #3271 from ianyfan/list-cleanup 2018-12-09 21:50:19 +10:00
log.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
loop.c list.c: rename free_flat_list to list_free_items_and_destroy 2018-12-09 01:15:38 +00:00
meson.build Remove unicode.c 2019-01-17 12:45:41 +01:00
pango.c Use static arrays where possible. 2019-01-16 13:02:26 +01:00
stringop.c fixup! stringop.c: rewrite strip_whitespace 2019-01-02 18:47:22 +00:00
util.c Remove readline.c 2019-01-01 09:01:25 +00:00