chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4980436
)
Do not unescape unit names in [Install] section
author
Michal Sekletar
<msekleta@redhat.com>
Mon, 26 May 2014 18:09:45 +0000
(20:09 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 26 May 2014 18:12:19 +0000
(20:12 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=49316
src/shared/conf-parser.c
patch
|
blob
|
history
diff --git
a/src/shared/conf-parser.c
b/src/shared/conf-parser.c
index 77a172e9f1dffbdbd5ccf7a8802a49a3e2930c9d..158e9efd4cecb260bb15426379fa468e9c8dfe7b 100644
(file)
--- a/
src/shared/conf-parser.c
+++ b/
src/shared/conf-parser.c
@@
-688,7
+688,7
@@
int config_parse_strv(const char *unit,
FOREACH_WORD_QUOTED(w, l, rvalue, state) {
char *n;
- n =
cunescape_length
(w, l);
+ n =
strndup
(w, l);
if (!n)
return log_oom();