[systemd-commits] 2 commits - README src/journal

Lennart Poettering lennart at kemper.freedesktop.org
Mon Jun 23 03:42:45 PDT 2014


 README                    |    1 +
 src/journal/coredump.c    |    2 +-
 src/journal/coredumpctl.c |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 5b244719abc81b83d8a0d732c3b95a2845d8811a
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Jun 23 12:42:17 2014 +0200

    README: mention that elfutils is an (optional) dependency now

diff --git a/README b/README
index 19a4478..3cf3bf4 100644
--- a/README
+++ b/README
@@ -122,6 +122,7 @@ REQUIREMENTS:
         libmicrohttpd (optional)
         libpython (optional)
         gobject-introspection > 1.40.0 (optional)
+        elfutils >= 158 (optional)
         make, gcc, and similar tools
 
         During runtime, you need the following additional

commit b0b21dce0e88da8848f4eaf34b54318f0589000c
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Jun 23 12:39:53 2014 +0200

    coredump: also escape spaces in comm fields when formatting file names

diff --git a/src/journal/coredump.c b/src/journal/coredump.c
index 442c969..287e0ed 100644
--- a/src/journal/coredump.c
+++ b/src/journal/coredump.c
@@ -186,7 +186,7 @@ static int fix_xattr(int fd, char *argv[]) {
         return r;
 }
 
-#define filename_escape(s) xescape((s), "./")
+#define filename_escape(s) xescape((s), "./ ")
 
 static int save_external_coredump(char **argv, uid_t uid, char **ret_filename, int *ret_fd, off_t *ret_size) {
         _cleanup_free_ char *p = NULL, *t = NULL, *c = NULL, *fn = NULL, *tmp = NULL;
diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c
index 541dda0..4f50f1b 100644
--- a/src/journal/coredumpctl.c
+++ b/src/journal/coredumpctl.c
@@ -280,7 +280,7 @@ static int retrieve(const void *data,
         return 0;
 }
 
-#define filename_escape(s) xescape((s), "./")
+#define filename_escape(s) xescape((s), "./ ")
 
 static int make_coredump_path(sd_journal *j, char **ret) {
         _cleanup_free_ char



More information about the systemd-commits mailing list