From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 236F03858D20; Tue, 27 Feb 2024 17:02:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 236F03858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1709053324; bh=McXLwVq8nETneIQlZjEwYj1/QtLTVwt688uRAN/AfaY=; h=From:To:Subject:Date:From; b=ZnTJpo6di5UkXX9LQja8E7GEpPur1Hnm4hzXD9A7L80vS8n9+M/13BkCv4TM+YIbS vfKB/0GkUqcUCyWIyCaSaAEW1hVuFb5kCH31xThHtAjUyfpC3x+xDxBDik49jCfnES sD9nz6TcyQzagHA+oEa9Zwxb5CQrrPQTQtr/t4mI= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31420] New: Use std::filesystem::remove_all in compile.c Date: Tue, 27 Feb 2024 17:02:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31420 Bug ID: 31420 Summary: Use std::filesystem::remove_all in compile.c Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org Target Milestone: --- compile.c uses system() to remove a temporary directory. This could use std::filesystem::remove_all instead. There may be other places std::filesystem could be used. Auditing filestuff.cc may be worthwhile. --=20 You are receiving this mail because: You are on the CC list for the bug.=