From nobody Wed Oct 12 16:18:49 2022 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 4MndBK5qBlz4fgjq for ; Wed, 12 Oct 2022 16:18:49 +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 4MndBK3qgYz3P9d for ; Wed, 12 Oct 2022 16:18:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MndBK2tYsz1M5y for ; Wed, 12 Oct 2022 16:18:49 +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 29CGInAm007938 for ; Wed, 12 Oct 2022 16:18:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29CGIn6o007937 for bugs@FreeBSD.org; Wed, 12 Oct 2022 16:18:49 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 266001] uniq says it's affected by LC_COLLATE, must not be according to POSIX Date: Wed, 12 Oct 2022 16:18:49 +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 Many People X-Bugzilla-Who: bapt@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665591529; 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=SU50ua8RiPALANvZ7PklU5HfS5KLWEEg9kkLfyDqERU=; b=fuvwh31lFLpi7LqWd53Nmn5RZFwzOTIdOKYWca5F0f4oy+YkHyU8Bbt2TnfsWWDCYrQA5M zh1wNS+CnPmyGhb9B4uJ8JXm7tedkk9NvFy8G+TRkRucs+fXEswjfI1JeSzXJLzZDXtHyw xG1/QpcwTNZSSI1Wvx5yVy0NQvT7gXlGba8H78Sn+dKmVLchhBAbGlo1OkKk7C3TXAZ3FZ O3L5VjXtjYD45Xff8r8kGwclsBu4IKVTNQiXDCJuSdche2REgsSu/3EwFmk++/OeDx45Gf ihrnFHAOCF9g1h5J2M9XvTzzmnNmvzbrS4EvFFhk7YSKrdU6us67sYNfe+rh0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665591529; a=rsa-sha256; cv=none; b=PFwBXuPC2gsmkvckVe+a0GzLKQl5e0TzO2hx4iAvHDo/GJu23bW67bUru/32X0Oufxcobk I0jzQnC9SLdpSUaMMdo/9jGHASSiPhVG/RHRj1VJErMNO6tFGz+nNc09UVHW64uEKxoGNS 2KC+qVeuQ6LT0OdvpLOYQxF9KIss3NpFNSTxzcya66nkLdyLoUgjIOCVU+Zdm1fJ+90HdI 9uYv7UjSh5WNhcCQYchM/8200CghRup4EE/tCFeVYzw1r1zilaa8aceMmGep8js/OXMwpj 6xE41jBb+SyFQZvidw6cmih3FsJXckJI4W0G194ANG9WB7pM5NGqX13SkTJH8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266001 Baptiste Daroussin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Works As Intended --- Comment #1 from Baptiste Daroussin --- In your first link, I can read: When using uniq to process pathnames, it is recommended that LC_ALL, or at least LC_CTYPE and LC_COLLATE, are set to POSIX or C in the environment, si= nce pathnames can contain byte sequences that do not form valid characters in s= ome locales, in which case the utility's behavior would be undefined. In the PO= SIX locale each byte is a valid single-byte character, and therefore this probl= em is avoided. which is also the justification for using back a strcoll (now wcscoll) functions: https://cgit.freebsd.org/src/commit/?id=3De12155c8345909beaf654cc023f613a62= b977db5 Am I missing something? if yes please reopen the PR. --=20 You are receiving this mail because: You are the assignee for the bug.=