public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Gaius Mulley <gaius@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/modula-2] libgm2 corrected spelling and comment formatting standard.
Date: Wed, 18 May 2022 19:06:03 +0000 (GMT)	[thread overview]
Message-ID: <20220518190603.63839384B0C5@sourceware.org> (raw)

https://gcc.gnu.org/g:6f1b137440e0967f819381429f4439ef3a1a1a1d

commit 6f1b137440e0967f819381429f4439ef3a1a1a1d
Author: Gaius Mulley <gaius.mulley@southwales.ac.uk>
Date:   Wed May 18 20:03:58 2022 +0100

    libgm2 corrected spelling and comment formatting standard.
    
    libgm2/ChangeLog:
    
            * libm2pim/Selective.c: Use initialize spelling.
            * libm2pim/dtoa.c: Corrected comment formatting.
    
    Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>

Diff:
---
 libgm2/ChangeLog            | 2 ++
 libgm2/libm2pim/Selective.c | 2 +-
 libgm2/libm2pim/dtoa.c      | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog
index 3105caa9647..9245a5181f5 100644
--- a/libgm2/ChangeLog
+++ b/libgm2/ChangeLog
@@ -9,6 +9,8 @@
 	* libm2pim/termios.c: Reformatted comments.
 	* libm2pim/wrapc.c: Reformatted comments.
 	* libm2pim/termios.c: Reformatted comments within enum.
+	* libm2pim/Selective.c: Correct spelling.
+	* libm2pim/termios.c: Use GNU comment formatting.
 
 2022-05-17  Gaius Mulley  <gaius.mulley@southwales.ac.uk>
 
diff --git a/libgm2/libm2pim/Selective.c b/libgm2/libm2pim/Selective.c
index 593d3d884c9..a08ab8e6ea4 100644
--- a/libgm2/libm2pim/Selective.c
+++ b/libgm2/libm2pim/Selective.c
@@ -96,7 +96,7 @@ Selective_Select (int nooffds, void *readfds, void *writefds, void *exceptfds,
 }
 #endif
 
-/* InitTime initialises a timeval structure and returns a pointer to it.  */
+/* InitTime initializes a timeval structure and returns a pointer to it.  */
 
 #if defined(HAVE_STRUCT_TIMEVAL)
 struct timeval *
diff --git a/libgm2/libm2pim/dtoa.c b/libgm2/libm2pim/dtoa.c
index 9dcf2f45cd2..9038b5acafd 100644
--- a/libgm2/libm2pim/dtoa.c
+++ b/libgm2/libm2pim/dtoa.c
@@ -215,7 +215,7 @@ dtoa_dtoa (double d, int mode, int ndigits, int *decpt, int *sign)
     {
 
     case maxsignicant:
-      ndigits += 20; /* enough for exponent */
+      ndigits += 20; /* Enough for exponent.  */
       p = malloc (ndigits);
       snprintf (format, 50, "%s%d%s", "%.", ndigits - 20, "E");
       snprintf (p, ndigits, format, d);


                 reply	other threads:[~2022-05-18 19:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220518190603.63839384B0C5@sourceware.org \
    --to=gaius@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).