From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9AAD13858424; Wed, 14 Sep 2022 09:17:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9AAD13858424 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663147075; bh=dydyCU+4/1IAssIz5AmDk3ATi8lGqPIU7QRx0Sk5mTw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=u+uuAgd9Amip5JcZgb/ogLwx+kFGWljnmrx0yA3jU4KYviz6PvnkIPUweV2Had5u2 rWtA+7hr7YWh51nXbBC6pzc2o6Dpe+cYT8j+hR8FkStLNTyihfCwz7l3z9UZTgDDx2 Pf0vfK7yAm0tmN2EmTm9LC/uOyTMUVAJhL0nfdbA= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/106932] Incorrect behavior of std::filesystem::copy() with overwrite_existing or update_existing options Date: Wed, 14 Sep 2022 09:17:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 11.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106932 --- Comment #7 from Jonathan Wakely --- How would that work? The compile has no idea whether "source" is a regular = file or directory. Should it just suggest adding 'recursive' to the options when= ever a non-empty set of options is used?=