Files
systemd/src/basic
Lennart Poettering c6134d3e2f path-util: get rid of prefix_root()
prefix_root() is equivalent to path_join() in almost all ways, hence
let's remove it.

There are subtle differences though: prefix_root() will try shorten
multiple "/" before and after the prefix. path_join() doesn't do that.
This means prefix_root() might return a string shorter than both its
inputs combined, while path_join() never does that. I like the
path_join() semantics better, hence I think dropping prefix_root() is
totally OK. In the end the strings generated by both functon should
always be identical in terms of path_equal() if not streq().

This leaves prefix_roota() in place. Ideally we'd have path_joina(), but
I don't think we can reasonably implement that as a macro. or maybe we
can? (if so, sounds like something for a later PR)

Also add in a few missing OOM checks
2019-06-21 08:42:55 +09:00
..
2019-03-20 10:48:33 +01:00
2019-03-14 13:25:51 +01:00
2019-04-29 16:47:18 +02:00
2019-04-29 16:47:18 +02:00
2018-12-21 13:43:20 +01:00
2019-03-14 13:25:51 +01:00
2019-05-21 10:57:23 +02:00
2019-05-21 10:57:23 +02:00
2019-04-29 16:47:18 +02:00
2019-03-14 13:25:51 +01:00
2019-04-29 16:47:18 +02:00
2019-03-21 23:37:39 +09:00
2019-05-29 14:21:19 +09:00
2019-03-28 18:43:04 +01:00
2019-01-26 12:42:46 +01:00
2019-01-26 12:42:46 +01:00
2019-04-29 16:47:18 +02:00
2019-03-14 13:25:51 +01:00
2019-05-17 09:38:06 +03:00
2019-05-22 10:22:20 +02:00
2019-02-21 14:05:10 +01:00