summaryrefslogtreecommitdiff
path: root/src/basic/clock-util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-11 23:24:14 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-13 11:54:39 -0500
commitafe773b01a704b98a350a36fa518bfcd6a54323b (patch)
treec2ce124ff5fbe8314b7d7932696f7e59e7ebce6b /src/basic/clock-util.c
parent06e948901a6f70b4d10c90d05a174da0663d1aba (diff)
basic/strv: fix strv_join for first empty argument
Empty strings were ignored in strv_join, but only if they were at the beginning of the string. Empty strings after at least one non-empty item were treated normally. Previously: {"x"} → "x" {"x", ""} → "x" {"x", "", ""} → "x::" {""} → "" {"", ""} → "" {"", "", ""} → "" {"", "x"} → "x" {"", "x", ""} → "x:" Now: {"x"} → "x" {"x", ""} → "x" {"x", "", ""} → "x::" {""} → "" {"", ""} → ":" {"", "", ""} → "::" {"", "x"} → ":x" {"", "x", ""} → ":x:"
Diffstat (limited to 'src/basic/clock-util.c')
0 files changed, 0 insertions, 0 deletions