From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: from tb-ob0.topicbox.com (tb-ob0.topicbox.com [64.147.108.117]) by inbox.vuxu.org (Postfix) with ESMTP id 1855C2EF15 for ; Sun, 15 Sep 2024 21:47:47 +0200 (CEST) Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob0.topicbox.com (Postfix) with ESMTP id 226792E185 for ; Sun, 15 Sep 2024 15:47:47 -0400 (EDT) (envelope-from bounce.mM3849e943d5f8f53fc5bd6185.r81958daa-7202-11ef-bbf2-18142b2d11b0@illumos.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id 1B0E92185654; Sun, 15 Sep 2024 15:47:47 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=fingolfin.org header.i=@fingolfin.org header.b=hVynFoSS header.a=rsa-sha256 header.s=fm2 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=CQZVG9L5 header.a=rsa-sha256 header.s=fm1 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fingolfin.org; spf=pass smtp.mailfrom=rm@fingolfin.org smtp.helo=fhigh8-smtp.messagingengine.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:date:mime-version:to:from :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:subject:list-unsubscribe; s= sysmsg-1; t=1726429666; bh=9qB7YbyzI3345zdFWAc+r8SiXr5G1ljPa6jXv vZMGXA=; b=R6xWxoT+Go+pjcN9U6Jq/fjRtn0FRNgkk6gzQnB0A1KDBirMMjHYS ARd3NvzXYcJ0qNe+sgMzd3B5DTFQW4BgOwYCvTL6VOikO7Jv92j1DxWRadacl7v8 MrxnVxal7uGpqsBZX4kCL+lsMPFAd4dnbrVeR++zeMAmZ909GnWuj0= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1726429666; b=uFJ8CfE81IJXx63nKyJKjF1U4JHvEITpXR2snhKwbzBGt/OLrG O7HTm0RJDxEZYKe/o2QK/8vg+AbveBSky3tfu/k9KH2hGsBFCHNcp78+uQPoWPVl NMZF9O9BcNWrQ1Aio35kDpB9t2moibCYub4+tmcJk99vN5cEe8U9LDAxU= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=fingolfin.org header.i=@fingolfin.org header.b=hVynFoSS header.a=rsa-sha256 header.s=fm2 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=CQZVG9L5 header.a=rsa-sha256 header.s=fm1 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fingolfin.org; spf=pass smtp.mailfrom=rm@fingolfin.org smtp.helo=fhigh8-smtp.messagingengine.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=fingolfin.org header.i=@fingolfin.org header.b=hVynFoSS header.a=rsa-sha256 header.s=fm2 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=CQZVG9L5 header.a=rsa-sha256 header.s=fm1 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fingolfin.org; iprev=pass smtp.remote-ip=103.168.172.159 (fhigh8-smtp.messagingengine.com); spf=pass smtp.mailfrom=rm@fingolfin.org smtp.helo=fhigh8-smtp.messagingengine.com; x-aligned-from=pass (Address match); x-me-sender=pass policy.xms= dTnnZoQSakB5pKh9qZZSkeQWTsMNw2IXLCqzg-0OsVT0HXN7PiZfuaykAruio1hRPconFMYncMJkaXQfq5hMlT_HFUFNNp0DIshqpdqPZcHF4TFFbvHYsF6SXLtsPfan3hW8G2kXIw; x-ptr=pass smtp.helo=fhigh8-smtp.messagingengine.com policy.ptr=fhigh8-smtp.messagingengine.com; x-return-mx=pass header.domain=fingolfin.org policy.is_org=yes (MX Records found: in2-smtp.messagingengine.com,in1-smtp.messagingengine.com); x-return-mx=pass smtp.domain=fingolfin.org policy.is_org=yes (MX Records found: in2-smtp.messagingengine.com,in1-smtp.messagingengine.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lists.illumos.org; h= message-id:date:mime-version:to:from:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:subject:list-unsubscribe; s=dkim-1; t= 1726429666; x=1726516066; bh=9qB7YbyzI3345zdFWAc+r8SiXr5G1ljPa6j XvvZMGXA=; b=eT4X+uTmuCMs806CH4Xvu1pkIuHjR0qzXpD7xdxTY90C6Mf/R97 5C5W0Vg7eZUOE+PBMGor6IY1SFKlgZkyw/rZGEzzvUCI60I2e1xa+l49lwDGKCZP DEeA15n8rLW3v9K3xLRaeOjRp907qMYuB9VvY4u8eUI51sZnJ805p7HA= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 5B6532184CCD for ; Sun, 15 Sep 2024 15:45:57 -0400 (EDT) (envelope-from rm@fingolfin.org) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 9A8E2CDE9AA; Sun, 15 Sep 2024 15:45:57 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1726429557; b=FwAvdCPpxln/W4Eh1hKKFIu1MyTWgG6+HEErO0q4KoH4eKEXRs PulAB0vjLX5KfUxd69acWvwPLpTVjLb6dO0O8nFKQ05CtBlIUldOumm9IbaZli8T ALbs808U1Vh0nfhhyBQ2apyapOPb/evG/cIyDH2Zt1zx7rBALaqyBBXT1kWR7aGG IB61IdnfPAk35NVeSPP4GIDHYWGh0E0CoFTLsyReebrtf6mFNJce4MS0dBsV5WaV H/wOG/9UwQLv4w+OxhBul+TryIGEe5emYGd1+y3Zvu9NCcl1P6a5Hu4Hf+Rdjq5m AEmRCQT3RglUhoWeCKa63XyxFa/FfBuN/LtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:date:mime-version:to:from:subject :content-type:content-transfer-encoding; s=arcseal; t= 1726429557; bh=Pt5twaKwVz2BeQqKawqxU7hAlVIV53QBUPR66RagHxQ=; b=F /ae839T8vci5JhkwguXMCa4Hw3qci2wyiWRu2NPaA+tDM5c1bIhV0PUBln7P3yqA 2/LqrSG/N3XDYjWGrY3CKUSEPNNSdoZ92Tl5s2UAz/BaGK6l2sHJLUZMvQxK396t 60QbnbJ83IBvE75gsbzGHIr4QZuouGFl/sqBKtFI1unp7aAnUcmyYzUEnTQ+xj/8 h7/wui0eN3O808LlJGN4++jB70ikcaOk2BQS55X51tZfbRvS6HPqw2U+mUXyHrSc 3e9ieTOqvgke+uccsB3LDUA/5XuoW3rMM9H+wTzWn1QmGDM+tdlmBy1SWn/WkZmb 3VcqaN5kUkfdPER7zNk/g== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=fingolfin.org header.i=@fingolfin.org header.b=hVynFoSS header.a=rsa-sha256 header.s=fm2 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=CQZVG9L5 header.a=rsa-sha256 header.s=fm1 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fingolfin.org; iprev=pass smtp.remote-ip=103.168.172.159 (fhigh8-smtp.messagingengine.com); spf=pass smtp.mailfrom=rm@fingolfin.org smtp.helo=fhigh8-smtp.messagingengine.com; x-aligned-from=pass (Address match); x-me-sender=pass policy.xms= dTnnZoQSakB5pKh9qZZSkeQWTsMNw2IXLCqzg-0OsVT0HXN7PiZfuaykAruio1hRPconFMYncMJkaXQfq5hMlT_HFUFNNp0DIshqpdqPZcHF4TFFbvHYsF6SXLtsPfan3hW8G2kXIw; x-ptr=pass smtp.helo=fhigh8-smtp.messagingengine.com policy.ptr=fhigh8-smtp.messagingengine.com; x-return-mx=pass header.domain=fingolfin.org policy.is_org=yes (MX Records found: in2-smtp.messagingengine.com,in1-smtp.messagingengine.com); x-return-mx=pass smtp.domain=fingolfin.org policy.is_org=yes (MX Records found: in2-smtp.messagingengine.com,in1-smtp.messagingengine.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeeftddrudekfedgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfvhffutgfgsehtjeertddtvdejnecu hfhrohhmpeftohgsvghrthcuofhushhtrggttghhihcuoehrmhesfhhinhhgohhlfhhinh drohhrgheqnecuggftrfgrthhtvghrnhepgeeihfeftedujeekfeduiedthedthffgleel jeegfedtkeeukeffhfegieehudetnecuffhomhgrihhnpehilhhluhhmohhsrdhorhhgne cukfhppedutdefrdduieekrddujedvrdduheelnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehinhgvthepuddtfedrudeikedrudejvddrudehledphhgvlhhopehfhh highhhkedqshhmthhprdhmvghsshgrghhinhhgvghnghhinhgvrdgtohhmpdhmrghilhhf rhhomhepoehrmhesfhhinhhgohhlfhhinhdrohhrgheqpdhnsggprhgtphhtthhopedupd hrtghpthhtohepoeguvghvvghlohhpvghrsehlihhsthhsrdhilhhluhhmohhsrdhorhhg qe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (fingolfin.org: Sender is authorized to use 'rm@fingolfin.org' in 'mfrom' identity (mechanism 'include:spf.messagingengine.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="rm@fingolfin.org"; helo=fhigh8-smtp.messagingengine.com; client-ip=103.168.172.159 Received: from fhigh8-smtp.messagingengine.com (fhigh8-smtp.messagingengine.com [103.168.172.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for ; Sun, 15 Sep 2024 15:45:56 -0400 (EDT) (envelope-from rm@fingolfin.org) Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id A27AA114017B for ; Sun, 15 Sep 2024 15:45:56 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Sun, 15 Sep 2024 15:45:56 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudekfedgudegvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfvhffutgfgsehtjeertddtvdejnecu hfhrohhmpeftohgsvghrthcuofhushhtrggttghhihcuoehrmhesfhhinhhgohhlfhhinh drohhrgheqnecuggftrfgrthhtvghrnhepgeeihfeftedujeekfeduiedthedthffgleel jeegfedtkeeukeffhfegieehudetnecuffhomhgrihhnpehilhhluhhmohhsrdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhhmsehf ihhnghholhhfihhnrdhorhhgpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpoh huthdprhgtphhtthhopeguvghvvghlohhpvghrsehlihhsthhsrdhilhhluhhmohhsrdho rhhg X-ME-Proxy: Feedback-ID: i4ca146eb:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 15 Sep 2024 15:45:55 -0400 (EDT) Message-ID: Date: Sun, 15 Sep 2024 12:45:54 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: illumos-developer From: Robert Mustacchi Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is an admin Topicbox-Message-UUID: 238d1a80-739b-11ef-9853-d1e232cdfc32 Archived-At: =?UTF-8?B?PGh0dHBzOi8vaWxsdW1vcy50b3BpY2JveC5jb20vZ3JvdXBz?= =?UTF-8?B?L2RldmVsb3Blci9UYTliYTMwYTJkZTkxZmUyZC1NMzg0OWU5NDNkNWY4ZjUz?= =?UTF-8?B?ZmM1YmQ2MTg1Pg==?= List-Help: List-Id: "illumos-developer" List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: illumos-developer Subject: [developer] 16197 cp/mv: add option -n List-Unsubscribe: , Topicbox-Delivery-ID: 2:illumos:a901537c-2aea-11e7-965f-d98f9f16e227:81958daa-7202-11ef-bbf2-18142b2d11b0:M3849e943d5f8f53fc5bd6185:1:sJprtuQlSzWZt9Vp6XkCArItQGnuIiPvWZ0t_yZzgUI https://code.illumos.org/c/illumos-gate/+/3693 This adds support to cp for the -n option. cp, mv, and ln are built from the same source. This stumbled over a few things along the way and some constification for good measure. Note this is a little thorny. I've tried to minimize concrete behavior changes to things that were mostly pathologically against the option spirit. See the long block comments in mv for more information. Robert ------------------------------------------ illumos: illumos-developer Permalink: https://illumos.topicbox.com/groups/developer/Ta9ba30a2de91fe2d-= M3849e943d5f8f53fc5bd6185 Delivery options: https://illumos.topicbox.com/groups/developer/subscription