Hi, marcel eventually I found the weird behaviour, our smtp server will replace blank line with "=20".
I send them as attachments before I can change or fix the mailer problem. Could you please merge? -- Thanks Yang Ruirui
From: Yang Ruirui <[email protected]> Subject: fix glib dependency src/stats.c and src/tools/stats-tool.c use glib function g_mkstemp_full g_mkstemp_full comes since GLib 2.21.6, see following changelog: http://linuxtesting.org/upstream-tracker/changelogs/glib/2.21.6/changelog.html So here fix the dependency of glib in configure.ac to >=2.22 --- configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 46cceae..03bb9fb 100644 --- a/configure.ac +++ b/configure.ac @@ -275,8 +275,8 @@ fi AC_DEFINE_UNQUOTED([STATS_MAX_FILE_SIZE], (${stats_max_file_size}), [Maximal size of a statistics round robin file]) -PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.16, dummy=yes, - AC_MSG_ERROR(GLib >= 2.16 is required)) +PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.22, dummy=yes, + AC_MSG_ERROR(GLib >= 2.22 is required)) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) -- 1.6.4
From: Yang Ruirui <[email protected]> Subject: Building fix about implicit declaration of strnlen I got build failing as below: cc1: warnings being treated as errors gdhcp/client.c: In function âalloc_dhcp_optionâ: gdhcp/client.c:1455: error: implicit declaration of function âstrnlenâ define _GNU_SOURCE fixes this problem. --- gdhcp/client.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gdhcp/client.c b/gdhcp/client.c index 107077a..8441104 100644 --- a/gdhcp/client.c +++ b/gdhcp/client.c @@ -23,6 +23,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <errno.h> #include <unistd.h> -- 1.6.4
_______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
