public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6768] libstdc++: Fix formatting in std::filesystem helper function
@ 2023-03-20 23:04 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-03-20 23:04 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:ccfca55536f87a1332f844efcc66b8383030d149

commit r13-6768-gccfca55536f87a1332f844efcc66b8383030d149
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Mon Mar 20 13:40:59 2023 +0000

    libstdc++: Fix formatting in std::filesystem helper function
    
    libstdc++-v3/ChangeLog:
    
            * src/filesystem/ops-common.h (get_temp_directory_from_env): Fix
            formatting.

Diff:
---
 libstdc++-v3/src/filesystem/ops-common.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libstdc++-v3/src/filesystem/ops-common.h b/libstdc++-v3/src/filesystem/ops-common.h
index abbfca43e5c..c95511b5c95 100644
--- a/libstdc++-v3/src/filesystem/ops-common.h
+++ b/libstdc++-v3/src/filesystem/ops-common.h
@@ -625,7 +625,8 @@ _GLIBCXX_BEGIN_NAMESPACE_FILESYSTEM
       {
 	buf.resize(len);
 	len = GetTempPathW(buf.size(), buf.data());
-      } while (len > buf.size());
+      }
+    while (len > buf.size());
 
     if (len == 0)
       ec = __last_system_error();

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-20 23:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20 23:04 [gcc r13-6768] libstdc++: Fix formatting in std::filesystem helper function Jonathan Wakely

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).