From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C4A6D138334 for ; Mon, 11 Jun 2018 05:25:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8EA3E08DD; Mon, 11 Jun 2018 05:25:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AEAB0E08DD for ; Mon, 11 Jun 2018 05:25:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26D34335C63 for ; Mon, 11 Jun 2018 05:25:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 354562A1 for ; Mon, 11 Jun 2018 05:25:01 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1528459398.d85de06bb7565fe73ae1fda4d1157ad8a67e1351.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: pkg-mgr-commands.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: d85de06bb7565fe73ae1fda4d1157ad8a67e1351 X-VCS-Branch: master Date: Mon, 11 Jun 2018 05:25:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 81d13615-71ee-49e9-a835-da1c922ab015 X-Archives-Hash: 1c81f2a008b4a7251ecbd83ff946bb51 commit: d85de06bb7565fe73ae1fda4d1157ad8a67e1351 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 8 11:51:20 2018 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Jun 8 12:03:18 2018 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=d85de06b pkg-mgr-commands: Correct 'empty' insopts behavior to match PMs My previous fix to insopts turns out twice wrong: firstly, because I did not really type what I meant, and secondly because package managers have inconsistent behavior there. Portage uses the default mode (specified by PMS) when insopts was called with no arguments or arguments forming an empty string; PkgCore and Paludis literally pass empty argument list to install. Mark the behavior as undefined to match that. Fixes: 2955b2dfaa5599677bf33e56c7619ccc557ebfff pkg-mgr-commands.tex | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index be05322..e45f9c7 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -725,9 +725,8 @@ function has returned. \item[docinto] As \t{into}, for install subdirectory of \t{dodoc} et al. -\item[insopts] Takes zero or more arguments, and sets the options passed by \t{doins} et al.\ - to the \t{install} command to them. When called with no arguments, resets the option list - to empty. +\item[insopts] Takes one or more arguments, and sets the options passed by \t{doins} et al.\ + to the \t{install} command to them. Behaviour upon encountering empty arguments is undefined. \item[diropts] As \t{insopts}, for \t{dodir} et al.