* [PATCH] libstdc++: fix typo in acinclude.m4.
@ 2022-01-27 13:48 Martin Liška
2022-01-27 14:25 ` Jonathan Wakely
0 siblings, 1 reply; 3+ messages in thread
From: Martin Liška @ 2022-01-27 13:48 UTC (permalink / raw)
To: gcc-patches; +Cc: libstdc++, redi
Hi.
May I install an obvious typo that causes build error (described in the PR).
Ready to be installed?
Thanks,
Martin
PR libstdc++/104259
libstdc++-v3/ChangeLog:
* acinclude.m4: Fix typo.
* configure: Regenerate.
---
libstdc++-v3/acinclude.m4 | 2 +-
libstdc++-v3/configure | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index 7b6b807114a..a93252076b9 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -4744,7 +4744,7 @@ dnl
[glibcxx_cv_fdopendir=yes],
[glibcxx_cv_fdopendir=no])
])
- if test $glibcxx_cv_truncate = yes; then
+ if test $glibcxx_cv_fdopendir = yes; then
AC_DEFINE(HAVE_FDOPENDIR, 1, [Define if fdopendir is available in <dirent.h>.])
fi
dnl
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 5c6e51f5c11..2b2f85782b1 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -77080,7 +77080,7 @@ fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
$as_echo "$glibcxx_cv_fdopendir" >&6; }
- if test $glibcxx_cv_truncate = yes; then
+ if test $glibcxx_cv_fdopendir = yes; then
$as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] libstdc++: fix typo in acinclude.m4.
2022-01-27 13:48 [PATCH] libstdc++: fix typo in acinclude.m4 Martin Liška
@ 2022-01-27 14:25 ` Jonathan Wakely
2022-01-27 14:35 ` Martin Liška
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Wakely @ 2022-01-27 14:25 UTC (permalink / raw)
To: Martin Liška; +Cc: gcc-patches, libstdc++, redi at gcc dot gnu.org
On Thu, 27 Jan 2022, 13:49 Martin Liška, <mliska@suse.cz> wrote:
> Hi.
>
> May I install an obvious typo that causes build error (described in the
> PR).
>
> Ready to be installed?
>
I have the same patch ready to push, but I'm away from the computer. Please
push.
Thanks,
> Martin
>
> PR libstdc++/104259
>
> libstdc++-v3/ChangeLog:
>
> * acinclude.m4: Fix typo.
> * configure: Regenerate.
> ---
> libstdc++-v3/acinclude.m4 | 2 +-
> libstdc++-v3/configure | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
> index 7b6b807114a..a93252076b9 100644
> --- a/libstdc++-v3/acinclude.m4
> +++ b/libstdc++-v3/acinclude.m4
> @@ -4744,7 +4744,7 @@ dnl
> [glibcxx_cv_fdopendir=yes],
> [glibcxx_cv_fdopendir=no])
> ])
> - if test $glibcxx_cv_truncate = yes; then
> + if test $glibcxx_cv_fdopendir = yes; then
> AC_DEFINE(HAVE_FDOPENDIR, 1, [Define if fdopendir is available in
> <dirent.h>.])
> fi
> dnl
> diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
> index 5c6e51f5c11..2b2f85782b1 100755
> --- a/libstdc++-v3/configure
> +++ b/libstdc++-v3/configure
> @@ -77080,7 +77080,7 @@ fi
> fi
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir"
> >&5
> $as_echo "$glibcxx_cv_fdopendir" >&6; }
> - if test $glibcxx_cv_truncate = yes; then
> + if test $glibcxx_cv_fdopendir = yes; then
>
> $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
>
> --
> 2.34.1
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] libstdc++: fix typo in acinclude.m4.
2022-01-27 14:25 ` Jonathan Wakely
@ 2022-01-27 14:35 ` Martin Liška
0 siblings, 0 replies; 3+ messages in thread
From: Martin Liška @ 2022-01-27 14:35 UTC (permalink / raw)
To: Jonathan Wakely; +Cc: gcc-patches, libstdc++, redi at gcc dot gnu.org
On 1/27/22 15:25, Jonathan Wakely wrote:
> I have the same patch ready to push, but I'm away from the computer. Please push.
;) I've just pushed that to master.
Martin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-27 14:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27 13:48 [PATCH] libstdc++: fix typo in acinclude.m4 Martin Liška
2022-01-27 14:25 ` Jonathan Wakely
2022-01-27 14:35 ` Martin Liška
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).