public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/31420] New: Use std::filesystem::remove_all in compile.c
@ 2024-02-27 17:02 tromey at sourceware dot org
  2024-02-27 17:02 ` [Bug gdb/31420] " tromey at sourceware dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2024-02-27 17:02 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=31420

            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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-04-04  7:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-27 17:02 [Bug gdb/31420] New: Use std::filesystem::remove_all in compile.c tromey at sourceware dot org
2024-02-27 17:02 ` [Bug gdb/31420] " tromey at sourceware dot org
2024-02-27 17:25 ` tromey at sourceware dot org
2024-04-03 12:54 ` cvs-commit at gcc dot gnu.org
2024-04-03 15:31 ` cvs-commit at gcc dot gnu.org
2024-04-04  7:37 ` lsix at lancelotsix dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).