From nobody Tue Dec 24 22:31:24 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YHqP825QDz5hxXc for ; Tue, 24 Dec 2024 22:31:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YHqP80gsjz4Y4y for ; Tue, 24 Dec 2024 22:31:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735079484; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e0KRG4clMAyVlDFZtMPCGDklkBZT9mPTvfgXjhP6us4=; b=T25UhZ/+SVtqVQaZIkP6GHwbPleMyP3vFwYJ63/Zb/Jxkp4A2c0eKGsFtLzQQ2Nu986bEi tsyv2rZqhy9It9qgXGozIfu2ffi2AWFH2pgXYWhkJy4NvfTj/v/SxPYBdAUMlfEc8P5dpF MDoLQqZf9drsPmEcE5TULrhm4wrpD4bp2WhUuK9GK3RXkVtcYMpZI26ZdDznE31KxCWuxR 31GaSsm+nmyQdXA0dRBlXpQJC0YNf61GLd/RI+7627ZIdUUuR1cBa9iW5ld/QK4iblBwZc loeiGnMPzOV/pLhIsmwgZXjRK788EqrRXmc5qEPer8DXzFsAYQZfJAIZpcIXrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735079484; a=rsa-sha256; cv=none; b=pp/C3meyj+b7eCj8oWYYGnyaClrc0Sz9QR3NFCfU2+7mDHgSZZ0X9FbNTM9poYPJ27gr7z nJPQbBZ34BZsIoWS1RUj31acZZs0Oi9IUgm5yfU8115zvoPDiD23OnueWVLwUfp6u/Y4qx 4tOU1Lze2mWv87C++ztuPkX3WsjU4Ejw7G7qeAmUCIyROl23BGdD19ssS0tfOx501/hAPc dZcxiDjUN3t9yl916mwlmgU2uI8Ubqmndg5/e6p6OaHvfMmLExu3fqHpm3nFs/XsflTBlb TQd2eG+1BVGMDI5JmHSoa46xbSt/9WlYqE7L30O+x3X+lMjGZDRdks7QIgvBrg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YHqP80J2TzyZG for ; Tue, 24 Dec 2024 22:31:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BOMVNkn033745 for ; Tue, 24 Dec 2024 22:31:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BOMVN8D033744 for bugs@FreeBSD.org; Tue, 24 Dec 2024 22:31:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 216594] pw usernext ignores config option Date: Tue, 24 Dec 2024 22:31:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gert@greenie.muc.de X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216594 Gert Doering changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #1 from Gert Doering --- Thanks for pointing light on this old PR. Checking current sources, I can see that this has been fixed in 2016 already (which was just not in the 10.3 sources I had on the system at hand when opening the PR) commit e1fc61c1147c686c04c02bfb00ebb27910da332f Author: Baptiste Daroussin Date: Sat Jun 4 16:31:33 2016 +0000 Fix typo preventing pw {user,group}next -C from working as expected Reported by: Mike Selnet via forums.freebsd.org MFC after: 3 days ... diff --git a/usr.sbin/pw/pw_user.c b/usr.sbin/pw/pw_user.c index 5ad1409f48b6..67186c3dc033 100644 --- a/usr.sbin/pw/pw_user.c +++ b/usr.sbin/pw/pw_user.c @@ -742,7 +742,7 @@ pw_user_next(int argc, char **argv, char *name __unused) bool quiet =3D false; uid_t next; - while ((ch =3D getopt(argc, argv, "Cq")) !=3D -1) { + while ((ch =3D getopt(argc, argv, "C:q")) !=3D -1) { --=20 You are receiving this mail because: You are the assignee for the bug.=