Received: by mail.netbsd.org (Postfix, from userid 605) id 3C13084D7D; Mon, 8 Jun 2020 22:52:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B5DF084D7C for ; Mon, 8 Jun 2020 22:52:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id IG6_YBa5JTvr for ; Mon, 8 Jun 2020 22:52:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 544A984D60 for ; Mon, 8 Jun 2020 22:52:09 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4BD1BFB27; Mon, 8 Jun 2020 22:52:09 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 8 Jun 2020 22:52:09 +0000 From: "Jason R Thorpe" Subject: CVS commit: src/sbin/gpt To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200608225209.4BD1BFB27@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jason R Thorpe" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: thorpej Date: Mon Jun 8 22:52:09 UTC 2020 Modified Files: src/sbin/gpt: backup.c Log Message: When we add "entries", "index", and "sector_size" values to the dictionary, add them as signed valaues, rather than unsigned (which is how we keep them in memory). This causes them be serialized in base-10 (rather than base-16, which is the default for unsigned). This behavior is documented in prop_number(3). Fixes t_gpt::backup_2part unit test. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sbin/gpt/backup.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.