forked from pool/systemd
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=646
This commit is contained in:
parent
5dfc1adc91
commit
33b2965f78
@ -1,4 +1,4 @@
|
|||||||
From 000f6e5667eb4f73e137cbd0d7395a9f9db7728a Mon Sep 17 00:00:00 2001
|
Based on 000f6e5667eb4f73e137cbd0d7395a9f9db7728a Mon Sep 17 00:00:00 2001
|
||||||
From: Michal Sekletar <msekleta@redhat.com>
|
From: Michal Sekletar <msekleta@redhat.com>
|
||||||
Date: Mon, 26 May 2014 20:09:45 +0200
|
Date: Mon, 26 May 2014 20:09:45 +0200
|
||||||
Subject: [PATCH] Do not unescape unit names in [Install] section
|
Subject: [PATCH] Do not unescape unit names in [Install] section
|
||||||
@ -8,19 +8,14 @@ https://bugs.freedesktop.org/show_bug.cgi?id=49316
|
|||||||
src/shared/conf-parser.c | 2 +-
|
src/shared/conf-parser.c | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git src/shared/conf-parser.c src/shared/conf-parser.c
|
|
||||||
index 77a172e..158e9ef 100644
|
|
||||||
--- src/shared/conf-parser.c
|
--- src/shared/conf-parser.c
|
||||||
+++ src/shared/conf-parser.c
|
+++ src/shared/conf-parser.c 2014-05-27 07:36:20.478236631 +0000
|
||||||
@@ -688,7 +688,7 @@ int config_parse_strv(const char *unit,
|
@@ -723,7 +723,7 @@ int config_parse_strv(const char *unit,
|
||||||
FOREACH_WORD_QUOTED(w, l, rvalue, state) {
|
FOREACH_WORD_QUOTED(w, l, rvalue, state) {
|
||||||
char *n;
|
_cleanup_free_ char *n;
|
||||||
|
|
||||||
- n = cunescape_length(w, l);
|
- n = cunescape_length(w, l);
|
||||||
+ n = strndup(w, l);
|
+ n = strndup(w, l);
|
||||||
if (!n)
|
if (!n)
|
||||||
return log_oom();
|
return log_oom();
|
||||||
|
|
||||||
--
|
|
||||||
1.7.9.2
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user