From nobody Sun May 26 23:31:09 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 4VnZlz108Dz5M3kl for ; Sun, 26 May 2024 23:31:11 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VnZly1JSRz4Zxd for ; Sun, 26 May 2024 23:31:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716766270; a=rsa-sha256; cv=none; b=p8/mV+9GhOjuwjNcwmkTWSThWPrPp0TFojFKg6navJlhX7vmLLNKYQyryUwFdOqjhTqQTY dCFWyC0d9ZxkkhGv6SvvVt7ocLzgMk1hGFs+0avDRj+/gSRKv/AttIygYAxxKLC/aeYQdN dSZ8UD5IYgLxbU1Y7Mhn6JZCN4ESrgY6u2qJcRd/tT1a8MpiCkm1zEBPtOXH2EGI6hOaF3 89PI6qD4Lyu4XV6h+byvYBKZNcpqEsySjHsrjYnhEeTTs2D8MUckTcoG27/K5frDMbtHL1 Tfe20dvwqChKRbcVqsByG/rew+ljmGs8HRkm/O/m2TKJBozSeBvYXwyMS0xadQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716766270; 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=CYE9iEbMN78P/VW+WGCeBgttTuDu6l+96jWIMBe4PIs=; b=pka6V7D7DYeZ1xf2CeVGSm5f4eVsWeBNLV0yjgDennD3hl6dsQL7BKcDrCjGs2ElgCaIb8 QYYj/NyDp9Vc56VEc9wxwEMVNg/++BNcsNEoBM3Pqj47GE6Osyv6ebyw4frRDCqUYrKV09 3GEUJzLe0cSFzPZMRZVErMmu25Ptm68y21MzF1N99OZjUVyizCixh/f9FFvtasgxv0jULM 1TNUJk3IJNbW9Ae4vZDVW+E3S9+DiDmpRDm1BD5JQLf4tbyJ99MSXv4eyku9whurJ+hkG3 gRReSP3BdHn1hsTbGll01rJUhkn4ByUXH4cfWlDG4jnrJBgtKvH3KYSn17lLIw== 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 4VnZly0tnWzLP8 for ; Sun, 26 May 2024 23:31:10 +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 44QNVAO4012698 for ; Sun, 26 May 2024 23:31:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44QNVAQ7012658 for bugs@FreeBSD.org; Sun, 26 May 2024 23:31:10 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 279303] usr.sbin/newsyslog: Fix case of the 'P' flag in newsyslog.conf's manpage Date: Sun, 26 May 2024 23:31:09 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@kumba.dev X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D279303 --- Comment #3 from Joshua Kinard --- (In reply to Ed Maste from comment #2) The switch statement is changing the flag characters to lower case before it checks them: > for (; q && *q && !isspacech(*q); q++) { > switch (tolowerch(*q)) { > case 'b': > working->flags |=3D CE_BINARY; > break; > case 'c': > working->flags |=3D CE_CREATE; > break; In the man page, 'p' is the only config flag that's lowercase, which is why= I am assuming that it's the typo. If it's the other way around and lowercase= is supposed to be the correct format, then there's fourteen typos for the other uppercased flags that have gone unnoticed for a long time instead of one :) --=20 You are receiving this mail because: You are the assignee for the bug.=