diff options
Diffstat (limited to 'recipes-containers/lxc/files/logs-optionally-use-base-filenames-to-report-src-fil.patch')
-rw-r--r-- | recipes-containers/lxc/files/logs-optionally-use-base-filenames-to-report-src-fil.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/recipes-containers/lxc/files/logs-optionally-use-base-filenames-to-report-src-fil.patch b/recipes-containers/lxc/files/logs-optionally-use-base-filenames-to-report-src-fil.patch index 648193b4..a8c76bc8 100644 --- a/recipes-containers/lxc/files/logs-optionally-use-base-filenames-to-report-src-fil.patch +++ b/recipes-containers/lxc/files/logs-optionally-use-base-filenames-to-report-src-fil.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c50ddb2b2cf22a29e4c671b1efbd338eeba694aa Mon Sep 17 00:00:00 2001 | 1 | From 0cfa202f5d96a35692f063f35bf4706f310b17e4 Mon Sep 17 00:00:00 2001 |
2 | From: Jim Somerville <Jim.Somerville@windriver.com> | 2 | From: Jim Somerville <Jim.Somerville@windriver.com> |
3 | Date: Fri, 25 Sep 2015 15:08:17 -0400 | 3 | Date: Fri, 25 Sep 2015 15:08:17 -0400 |
4 | Subject: [PATCH] logs: optionally use base filenames to report src files | 4 | Subject: [PATCH] logs: optionally use base filenames to report src files |
@@ -30,11 +30,11 @@ Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> | |||
30 | 2 files changed, 14 insertions(+) | 30 | 2 files changed, 14 insertions(+) |
31 | 31 | ||
32 | diff --git a/configure.ac b/configure.ac | 32 | diff --git a/configure.ac b/configure.ac |
33 | index 74b976a..9c561f7 100644 | 33 | index a3272e9..a2d4c29 100644 |
34 | --- a/configure.ac | 34 | --- a/configure.ac |
35 | +++ b/configure.ac | 35 | +++ b/configure.ac |
36 | @@ -356,6 +356,15 @@ AC_ARG_ENABLE([examples], | 36 | @@ -378,6 +378,15 @@ AC_ARG_ENABLE([examples], |
37 | [], [enable_examples=yes]) | 37 | [enable_examples=$enableval], [enable_examples=yes]) |
38 | AM_CONDITIONAL([ENABLE_EXAMPLES], [test "x$enable_examples" = "xyes"]) | 38 | AM_CONDITIONAL([ENABLE_EXAMPLES], [test "x$enable_examples" = "xyes"]) |
39 | 39 | ||
40 | +# Enable basenames in the logs for source files | 40 | +# Enable basenames in the logs for source files |
@@ -48,12 +48,12 @@ index 74b976a..9c561f7 100644 | |||
48 | + | 48 | + |
49 | # Enable dumping stack traces | 49 | # Enable dumping stack traces |
50 | AC_ARG_ENABLE([mutex-debugging], | 50 | AC_ARG_ENABLE([mutex-debugging], |
51 | [AC_HELP_STRING([--enable-mutex-debugging], [Makes mutexes to report error and provide stack trace [default=no]])], | 51 | [AS_HELP_STRING([--enable-mutex-debugging], [Makes mutexes to report error and provide stack trace [default=no]])], |
52 | diff --git a/src/lxc/log.h b/src/lxc/log.h | 52 | diff --git a/src/lxc/log.h b/src/lxc/log.h |
53 | index 4654fd9..6885d78 100644 | 53 | index d280656..62cbf4f 100644 |
54 | --- a/src/lxc/log.h | 54 | --- a/src/lxc/log.h |
55 | +++ b/src/lxc/log.h | 55 | +++ b/src/lxc/log.h |
56 | @@ -77,8 +77,13 @@ struct lxc_log_locinfo { | 56 | @@ -47,8 +47,13 @@ struct lxc_log_locinfo { |
57 | int line; | 57 | int line; |
58 | }; | 58 | }; |
59 | 59 | ||