From: Harald Hoyer <har...@redhat.com> Introduce stack_size_guess() and alloca_maybe_safe() and get rid of the LINE_MAX limitation for MESSAGE in sd_journal_printv*()
V2: added missing test-stack.c Harald Hoyer (2): util: add stack_size_guess() and alloca_maybe_safe() journal: get rid of LINE_MAX in sd_journal_printv*() CODING_STYLE | 7 +++ Makefile.am | 7 +++ configure.ac | 35 +++++++++++++++ src/journal/journal-send.c | 99 +++++++++++++++++++++++++++++++---------- src/journal/test-journal-send.c | 92 +++++++++++++++++++++++++++++++++----- src/shared/test-stack.c | 53 ++++++++++++++++++++++ src/shared/util.c | 47 +++++++++++++++++++ src/shared/util.h | 8 ++++ 8 files changed, 313 insertions(+), 35 deletions(-) create mode 100644 src/shared/test-stack.c -- 1.8.2 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel