I'm committing this patch to fix a typo in /* Define if ... */ comment
that ends up in config.h

This was submitted as a pull request against the unofficial github
mirror: https://github.com/gcc-mirror/gcc/pull/10

        * acinclude.m4 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Fix typo in
        comment.
        * config.h.in: Regenerate.
        * configure: Regenerate.
        * doc/Makefile.in: Regenerate.

Tested powerpc64le-linux. Committed to trunk.

commit 8a20233e72a12c97b192ed38440371beaf9a5b76
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Wed Mar 15 11:37:53 2017 +0000

    Fix typo in config.h.in comment
    
        * acinclude.m4 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Fix typo in
        comment.
        * config.h.in: Regenerate.
        * configure: Regenerate.
        * doc/Makefile.in: Regenerate.

diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index 5998fe6..8cb525b 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -397,7 +397,7 @@ AC_DEFUN([GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [
   res=no
   if test $glibcxx_cv_S_ISREG = yes; then
     AC_DEFINE(HAVE_S_ISREG, 1,
-             [Define if S_IFREG is available in <sys/stat.h>.])
+             [Define if S_ISREG is available in <sys/stat.h>.])
     res=S_ISREG
   elif test $glibcxx_cv_S_IFREG = yes; then
     AC_DEFINE(HAVE_S_IFREG, 1,

Reply via email to