| 1 |
From: Jonathan Wakely <[email protected]> |
| 2 |
Date: Wed, 16 Sep 2026 15:47:40 -0700 |
| 3 |
Subject: libstdc++: Fix typo in preprocessor condition for cstdio=pure |
| 4 |
[PR127430] |
| 5 |
|
| 6 |
Signed-off-by: Keith Packard <[email protected]> |
| 7 |
--- |
| 8 |
libstdc++-v3/config/io/basic_file_stdio.cc | 3 +-- |
| 9 |
1 file changed, 1 insertion(+), 2 deletions(-) |
| 10 |
|
| 11 |
diff --git a/libstdc++-v3/config/io/basic_file_stdio.cc b/libstdc++-v3/config/io/basic_file_stdio.cc |
| 12 |
index 80326dd..9c5ac9d 100644 |
| 13 |
--- a/libstdc++-v3/config/io/basic_file_stdio.cc |
| 14 |
+++ b/libstdc++-v3/config/io/basic_file_stdio.cc |
| 15 |
@@ -303,7 +303,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION |
| 16 |
__basic_file<char>::is_open() const throw () |
| 17 |
{ return _M_cfile != 0; } |
| 18 |
|
| 19 |
-#ifndef _GLIBCCXX_USE_STDIO_PURE |
| 20 |
+#ifndef _GLIBCXX_USE_STDIO_PURE |
| 21 |
int |
| 22 |
__basic_file<char>::fd() throw () |
| 23 |
{ return fileno(_M_cfile); } |
| 24 |
@@ -486,4 +486,3 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION |
| 25 |
|
| 26 |
_GLIBCXX_END_NAMESPACE_VERSION |
| 27 |
} // namespace |
| 28 |
- |