mbox series

[nft,0/3] libnftables: A few fixes and cleanups

Message ID 20180618082324.7123-1-phil@nwl.cc
Headers show
Series libnftables: A few fixes and cleanups | expand

Message

Phil Sutter June 18, 2018, 8:23 a.m. UTC
This series bundles three unrelated fixes:

Patch 1 resolves broken marker offset in error messages when reading
invalid input from a file due to changes in erec_print() regarding tabs
in input.

Patch 2 is not so much a fixup, but rather coding style cleanup of
libnftables-json man page, according to some best practices I found on
the internet(TM).

Patch 3 resolves a stupid mistake in output/error buffering support
discovered while implementing the example found in libnftables man page.

Phil Sutter (3):
  scanner: Do not convert tabs into spaces
  doc: libnftables-json: Review asciidoc syntax
  libnftables: Fix exit_cookie()

 doc/libnftables-json.adoc | 326 +++++++++++++++++---------------------
 src/libnftables.c         |   2 +
 src/scanner.l             |  16 +-
 3 files changed, 145 insertions(+), 199 deletions(-)