From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 04 11:39:24 2016 Received: (at submit) by debbugs.gnu.org; 4 Nov 2016 15:39:24 +0000 Received: from localhost ([127.0.0.1]:44666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2gaS-0005yh-JU for submit@debbugs.gnu.org; Fri, 04 Nov 2016 11:39:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2cXL-0004iW-RU for submit@debbugs.gnu.org; Fri, 04 Nov 2016 07:19:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2cXG-0006Js-06 for submit@debbugs.gnu.org; Fri, 04 Nov 2016 07:19:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c2cXF-0006Jo-TD for submit@debbugs.gnu.org; Fri, 04 Nov 2016 07:19:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2cXE-0004AC-Uo for bug-coreutils@gnu.org; Fri, 04 Nov 2016 07:19:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2cXA-0006Fr-1U for bug-coreutils@gnu.org; Fri, 04 Nov 2016 07:19:48 -0400 Received: from mout.gmx.net ([212.227.17.22]:53943) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c2cX9-0006Ei-P3 for bug-coreutils@gnu.org; Fri, 04 Nov 2016 07:19:43 -0400 Received: from [130.149.39.5] ([130.149.39.5]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MNO33-1bwJ0e0xPV-006vL1 for ; Fri, 04 Nov 2016 12:19:41 +0100 To: bug-coreutils@gnu.org From: Stephan Bauroth Subject: dd: misleading parsing of hex numbers Message-ID: <72e950ab-9827-39df-f462-b38b782a5a4c@gmx.de> Date: Fri, 4 Nov 2016 12:19:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:eMv2aSxjCAUxzRMk3Iohybi4zO/hDyEahpHMoklw+Z162kUqAbB qNFAgYeWxoFMunToXd/2b4r9kDvjt1LfQLhRCBmoN47FgaqUFFLNF1H2oOEDxI3ixkViuQu 7zfyDwEa5TPvQZKnDLM+ggKuSKeUPHupolK0BWqpnUxmDXGQv2dalEXdm6DlntoYa26Wy37 sBu/oipV1ReEUBSRLta0A== X-UI-Out-Filterresults: notjunk:1;V01:K0:rnqenvSHxWc=:LmkV74EGxIpbkJF7qho94Q ATbAT2adl6LKDiAoVCTxKFmYPO4aewJNY22KnMS+gzcd+DrxMUeLFti+8BqnW1MfI42AhgVR1 3ibdQj7Cnudtjtvi/FNydIYqetp/DW9Q+nYBFJwIlWlIPnEs8Ceg3QHdnFfxgVPSwXDdIXPjF SKzkg1ZlO8EsuRqW4GPEVzoazEnGP0I13GlamX37XZuTqcNLN9ghH+dHd+G5KF7ACi9QVqokM Am6jfBMaOXiOkE9ej6cBPSgO3lJJJN8JJEa66ufkc7/GvTPeWQPGvQa6fJdCV8hR4UnTG+hbs KhDjjlqDQafNx5bYrtqJgKB1RiZ5cU6Hf4O4rTxo7yb8bBOTVwqNPw4CUvWpg7JjqLA70YMO3 k36CW0j1zCYcJjgM1G3+qB6r734RifIqUCNe9xsw0ilTBPYjPd27pSBfO0o7eeJHj7jE/q+N7 n1Q7Y9mhB/JtjCGhTgrOTW13qgp7lMML5QT3q2i4NWK+2KA/xTQVA0mL47XKxPa9Q5U4abs8b ffy2oT/8ic1dFEOXT/DamOwtKYB6XYzPpGfgxi1ClESYxhq5371z1NoPpTxBMKK2ffakd/bRb vY5SvQKpeu4sZyR2weJ2smKMF2mMMKxBQP1QeGQYV+gO/p7QgmVHHAn+QfR1Gu29KKfzdFWXt DbqKFGL/kLUc+JBuh2DvYfmNmPBBa6kpa8q6IC3k1bxCThD2XNhctKXFmkyy70904H5qnfAHc f4nFrRyAAZnvY6Lo54s+MJvqpvqQFhsgeNJQnS5Bumd3yl7ecQvGplDfe8HIxiHoCOX3LU3dN fb0Fn67aqR6/UkreWIoS2EqD7Kmuin6lmhLwzl8nn6R31RlfhyVrw1Znnyoe747hZXjChyDkE 5AefYmFqomSDaKG1NUrZc0AUOlhAxwkamEIQic3nQ+r74SP+bjEbwEly+PyK+YZEAN9VBIUvz YicjCi3I2vAxtJpS1LR5fuxRJXoAc6bhun+EkoDKywslqRbFp5Nd1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 04 Nov 2016 11:39:23 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Dear coreutils team :) I encountered a buglike behaviour of dd when handling skip and count parameters that are encoded in hex and thus prefixed with 0x. dd is not able to parse them, which is OK but would be great if it would be, but, worse, reads 0xf00 as 0. It does that silently. While an enduser will immediately notice this on count, since nothing is copied, behaviour for skip looks ok. (In fact, I noticed this only because I hexdumped the result after hours of debugging) While it's OK that dd can't parse these numbers, maybe there should be a warning that 0x was found and interpreted as 0. Since a char like 'x' is invalid within a number that by definition has to be decimal, a warning should be fairly easy to implement. Of course, the ability to parse hex numbers in these parameters would be awesome :) regards and thanks for your continuing work, Stephan Bauroth From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 04 12:20:53 2016 Received: (at 24874) by debbugs.gnu.org; 4 Nov 2016 16:20:53 +0000 Received: from localhost ([127.0.0.1]:44779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2hEb-0000F8-9y for submit@debbugs.gnu.org; Fri, 04 Nov 2016 12:20:53 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:56342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2hEa-0000F0-4d for 24874@debbugs.gnu.org; Fri, 04 Nov 2016 12:20:52 -0400 Received: from [192.168.1.80] (unknown [109.77.124.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id D7B7CF0; Fri, 4 Nov 2016 16:20:50 +0000 (GMT) Subject: Re: bug#24874: dd: misleading parsing of hex numbers To: Stephan Bauroth , 24874@debbugs.gnu.org References: <72e950ab-9827-39df-f462-b38b782a5a4c@gmx.de> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <44e78e68-19a7-117e-9c62-aa0a8d56b236@draigBrady.com> Date: Fri, 4 Nov 2016 16:20:50 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <72e950ab-9827-39df-f462-b38b782a5a4c@gmx.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 24874 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 04/11/16 11:19, Stephan Bauroth wrote: > Dear coreutils team :) > > I encountered a buglike behaviour of dd when handling skip and count > parameters that are encoded in hex and thus prefixed with 0x. > > dd is not able to parse them, which is OK but would be great if it would > be, but, worse, reads 0xf00 as 0. It does that silently. While an > enduser will immediately notice this on count, since nothing is copied, > behaviour for skip looks ok. (In fact, I noticed this only because I > hexdumped the result after hours of debugging) > > While it's OK that dd can't parse these numbers, maybe there should be a > warning that 0x was found and interpreted as 0. Since a char like 'x' is > invalid within a number that by definition has to be decimal, a warning > should be fairly easy to implement. > > Of course, the ability to parse hex numbers in these parameters would be > awesome :) > > regards and thanks for your continuing work, > Stephan Bauroth Ouch. That's a real gotcha. Note hex digits after the 0x are diagnosed, but not decimal digits: $ dd skip=0x100 seek=0xf00 dd: invalid number: ‘0xf00’ Disallowing 0x... could definitely break backwards compat though. Consider `for rec in 0 1 2; do dd skip=${rec}x1024...` I suppose we could output a warning to suggest using $(($rec * $size)) or 0${rec}x${size} if that really is the intention? Given the warning workaround would be suggested in the message, and that it's a relatively rare usage, a warning is probably appropriate here. We already warn in dd for various usage. I'll fix that for the coming release. thanks, Pádraig From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 04 13:03:33 2016 Received: (at 24874) by debbugs.gnu.org; 4 Nov 2016 17:03:33 +0000 Received: from localhost ([127.0.0.1]:44841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2hts-0001FT-SN for submit@debbugs.gnu.org; Fri, 04 Nov 2016 13:03:33 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:56470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2htq-0001FK-NL for 24874@debbugs.gnu.org; Fri, 04 Nov 2016 13:03:31 -0400 Received: from [192.168.1.80] (unknown [109.77.124.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id CA5F8F0; Fri, 4 Nov 2016 17:03:29 +0000 (GMT) Subject: Re: bug#24874: dd: misleading parsing of hex numbers To: Stephan Bauroth , 24874@debbugs.gnu.org References: <72e950ab-9827-39df-f462-b38b782a5a4c@gmx.de> <44e78e68-19a7-117e-9c62-aa0a8d56b236@draigBrady.com> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: Date: Fri, 4 Nov 2016 17:03:29 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <44e78e68-19a7-117e-9c62-aa0a8d56b236@draigBrady.com> Content-Type: multipart/mixed; boundary="------------1CEAEF85E27455CB171F1236" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 24874 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is a multi-part message in MIME format. --------------1CEAEF85E27455CB171F1236 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 04/11/16 16:20, Pádraig Brady wrote: > On 04/11/16 11:19, Stephan Bauroth wrote: >> Dear coreutils team :) >> >> I encountered a buglike behaviour of dd when handling skip and count >> parameters that are encoded in hex and thus prefixed with 0x. >> >> dd is not able to parse them, which is OK but would be great if it would >> be, but, worse, reads 0xf00 as 0. It does that silently. While an >> enduser will immediately notice this on count, since nothing is copied, >> behaviour for skip looks ok. (In fact, I noticed this only because I >> hexdumped the result after hours of debugging) >> >> While it's OK that dd can't parse these numbers, maybe there should be a >> warning that 0x was found and interpreted as 0. Since a char like 'x' is >> invalid within a number that by definition has to be decimal, a warning >> should be fairly easy to implement. >> >> Of course, the ability to parse hex numbers in these parameters would be >> awesome :) >> >> regards and thanks for your continuing work, >> Stephan Bauroth > > Ouch. That's a real gotcha. > Note hex digits after the 0x are diagnosed, but not decimal digits: > > $ dd skip=0x100 seek=0xf00 > dd: invalid number: ‘0xf00’ > > Disallowing 0x... could definitely break backwards compat though. > Consider `for rec in 0 1 2; do dd skip=${rec}x1024...` > > I suppose we could output a warning to suggest using > $(($rec * $size)) or 0${rec}x${size} > if that really is the intention? > > Given the warning workaround would be suggested in the message, > and that it's a relatively rare usage, a warning is probably appropriate here. > We already warn in dd for various usage. > > I'll fix that for the coming release. Patch attached. --------------1CEAEF85E27455CB171F1236 Content-Type: text/x-patch; name="dd-0x-warn.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dd-0x-warn.patch" >From 490edf8df09348eb2304392415f91ba4319840b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Fri, 4 Nov 2016 16:55:58 +0000 Subject: [PATCH] dd: warn about counts specified with confusing 0x prefix * src/dd.c (parse_integer): Suggest to use "00x" instead of "0x", which is significant for the "count", "seek", and "skip" operands. * tests/dd/misc.sh: Add a test case. Fixes http://bugs.gnu.org/24874 --- src/dd.c | 6 ++++++ tests/dd/misc.sh | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/src/dd.c b/src/dd.c index 2c6d4c6..c7f54d4 100644 --- a/src/dd.c +++ b/src/dd.c @@ -1342,6 +1342,12 @@ parse_integer (const char *str, strtol_error *invalid) return 0; } + if (n == 0 && STRPREFIX (str, "0x")) + error (0, 0, + _("warning: %s is a zero multiplier; " + "use %s if that is intended"), + quote_n (0, "0x"), quote_n (1, "00x")); + n *= multiplier; } else if (e != LONGINT_OK) diff --git a/tests/dd/misc.sh b/tests/dd/misc.sh index 2c24b50..41330d0 100755 --- a/tests/dd/misc.sh +++ b/tests/dd/misc.sh @@ -107,4 +107,14 @@ compare err_ok err || fail=1 test $fail -eq 0 && fail=$warn +# Check a warning is issued for ambiguous 0x... numbers +dd if=/dev/null count=0x1 seek=0x1 skip=0x1 status=none 2>err +cat <<\EOF >exp +dd: warning: '0x' is a zero multiplier; use '00x' if that is intended +dd: warning: '0x' is a zero multiplier; use '00x' if that is intended +dd: warning: '0x' is a zero multiplier; use '00x' if that is intended +EOF +compare exp err || fail=1 + + Exit $fail -- 2.5.5 --------------1CEAEF85E27455CB171F1236-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 04 14:19:23 2016 Received: (at 24874) by debbugs.gnu.org; 4 Nov 2016 18:19:23 +0000 Received: from localhost ([127.0.0.1]:44977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2j5H-00032w-3G for submit@debbugs.gnu.org; Fri, 04 Nov 2016 14:19:23 -0400 Received: from mail-yw0-f169.google.com ([209.85.161.169]:32876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2j5F-00032j-NX for 24874@debbugs.gnu.org; Fri, 04 Nov 2016 14:19:22 -0400 Received: by mail-yw0-f169.google.com with SMTP id r204so99303011ywb.0 for <24874@debbugs.gnu.org>; Fri, 04 Nov 2016 11:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=PWGLWnFt+sLQztuYQQsD6AwP18/CNEf/9/B5UmrBnCU=; b=heRn1hCscM/Kk1EAvBuTNj3Eui/rgEo5ifjMIi8k4NrM+LsnJoXttZLwA791WVP/Z/ f4KAu+rOZxqudrOdcGtLDJ4R8FuLduKqb5NEoTq//CEKfMFnI8ShaSnfYFiKc3v118J/ rwoLdDBn7Dh7iyEpjuJ28KgcYQJgc8t1CzbuMr6NQM7G7RL5cn5xfD21Jrp59FW20YpX hLkgcMqeGKQz4bh3F7YEOAbT4A+GjU0wTXTcyrPPyEQd4a8JLub9YMKMEiZ9p9BPcmLf LnQljimNe8JbyA7Y5fWZnV3wzbRzCc3iBfx19je1xfoi9f/86mEBjF0GDdV9xOhWCSrh Q7eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=PWGLWnFt+sLQztuYQQsD6AwP18/CNEf/9/B5UmrBnCU=; b=JryjffdNBLOr6Etpmw11fUZx5vAdgsrXysjjBxI4lhlrZ2F/qFFc/LNE0z0oFsoyoE jeJyax/FI4T9G9YTfavnSnG88eRftMrbm8SSGDecOKPWg+U1d9HPFASTcw9YrhxQiuZh 3E0r2/htPBfUHyN8njJ4CcE32IFspV3lPthFraGSMhQ8Q8Kr9mtzu82OTMNKa0DLNhOP Av57N6UG7FGZKBkyogoIXtrmFEvKs+cKbaOEBPvXt/MEZYZcSPff12yIVulVBgSKRitd 6to9nTRvUwKEr7t/uD34Ni4BidqAl05j2GfyT1/nRQJr+1UJHuPatJBKZEx3uRvpm0E9 kisw== X-Gm-Message-State: ABUngvec5L2cS7hRAhvsw/7I55QUYd1SD7hR2eXWUXBIeRNtAV8mM3qCrLcTdzYfTdcE8kFB/I++ajt4cFFaog== X-Received: by 10.107.15.144 with SMTP id 16mr13335199iop.23.1478283556025; Fri, 04 Nov 2016 11:19:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.141.195 with HTTP; Fri, 4 Nov 2016 11:18:55 -0700 (PDT) In-Reply-To: References: <72e950ab-9827-39df-f462-b38b782a5a4c@gmx.de> <44e78e68-19a7-117e-9c62-aa0a8d56b236@draigBrady.com> From: Jim Meyering Date: Fri, 4 Nov 2016 13:18:55 -0500 X-Google-Sender-Auth: DFtWyt_RPAYTcDORPWRex8jdvU0 Message-ID: Subject: Re: bug#24874: dd: misleading parsing of hex numbers To: =?UTF-8?Q?P=C3=A1draig_Brady?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 24874 Cc: Stephan Bauroth , 24874@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) On Fri, Nov 4, 2016 at 12:03 PM, P=C3=A1draig Brady wrot= e: > On 04/11/16 16:20, P=C3=A1draig Brady wrote: >> On 04/11/16 11:19, Stephan Bauroth wrote: >>> Dear coreutils team :) >>> >>> I encountered a buglike behaviour of dd when handling skip and count >>> parameters that are encoded in hex and thus prefixed with 0x. >>> >>> dd is not able to parse them, which is OK but would be great if it woul= d >>> be, but, worse, reads 0xf00 as 0. It does that silently. While an >>> enduser will immediately notice this on count, since nothing is copied, >>> behaviour for skip looks ok. (In fact, I noticed this only because I >>> hexdumped the result after hours of debugging) >>> >>> While it's OK that dd can't parse these numbers, maybe there should be = a >>> warning that 0x was found and interpreted as 0. Since a char like 'x' i= s >>> invalid within a number that by definition has to be decimal, a warning >>> should be fairly easy to implement. >>> >>> Of course, the ability to parse hex numbers in these parameters would b= e >>> awesome :) >>> >>> regards and thanks for your continuing work, >>> Stephan Bauroth >> >> Ouch. That's a real gotcha. >> Note hex digits after the 0x are diagnosed, but not decimal digits: >> >> $ dd skip=3D0x100 seek=3D0xf00 >> dd: invalid number: =E2=80=980xf00=E2=80=99 >> >> Disallowing 0x... could definitely break backwards compat though. >> Consider `for rec in 0 1 2; do dd skip=3D${rec}x1024...` >> >> I suppose we could output a warning to suggest using >> $(($rec * $size)) or 0${rec}x${size} >> if that really is the intention? >> >> Given the warning workaround would be suggested in the message, >> and that it's a relatively rare usage, a warning is probably appropriate= here. >> We already warn in dd for various usage. >> >> I'll fix that for the coming release. > > Patch attached. Ouch, confusing indeed. I like your solution. One nit: - dd if=3D/dev/null count=3D0x1 seek=3D0x1 skip=3D0x1 status=3Dnone 2>err + dd if=3D/dev/null count=3D0x1 seek=3D0x1 skip=3D0x1 status=3Dnone 2>err |= | fail=3D1 From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 04 20:50:12 2016 Received: (at control) by debbugs.gnu.org; 5 Nov 2016 00:50:12 +0000 Received: from localhost ([127.0.0.1]:45221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2pBU-0005TM-9H for submit@debbugs.gnu.org; Fri, 04 Nov 2016 20:50:12 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:58146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2pBS-0005TD-Gh for control@debbugs.gnu.org; Fri, 04 Nov 2016 20:50:10 -0400 Received: from [192.168.1.80] (unknown [109.77.124.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 6D7D523C for ; Sat, 5 Nov 2016 00:50:09 +0000 (GMT) To: GNU bug tracker automated control server From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <657d6465-4e02-e50b-dedc-942dca790209@draigBrady.com> Date: Sat, 5 Nov 2016 00:50:08 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 23422 close 24874 stop [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 23422 close 24874 stop [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject close 23422 close 24874 stop From unknown Mon Aug 18 08:57:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 03 Dec 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator