From patchwork Mon Jun 18 08:23:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Sutter X-Patchwork-Id: 930762 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netfilter-devel-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=nwl.cc Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 418Qw05sBHz9s1B for ; Mon, 18 Jun 2018 19:36:32 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935961AbeFRIXy (ORCPT ); Mon, 18 Jun 2018 04:23:54 -0400 Received: from orbyte.nwl.cc ([151.80.46.58]:39196 "EHLO orbyte.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965687AbeFRIXw (ORCPT ); Mon, 18 Jun 2018 04:23:52 -0400 Received: from localhost ([::1]:54472 helo=tatos) by orbyte.nwl.cc with esmtp (Exim 4.90_1) (envelope-from ) id 1fUpS3-0007Ll-6z; Mon, 18 Jun 2018 10:23:51 +0200 From: Phil Sutter To: Pablo Neira Ayuso Cc: netfilter-devel@vger.kernel.org Subject: [nft PATCH 0/3] libnftables: A few fixes and cleanups Date: Mon, 18 Jun 2018 10:23:21 +0200 Message-Id: <20180618082324.7123-1-phil@nwl.cc> X-Mailer: git-send-email 2.17.0 Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org 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(-)