Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: "'Joel Brobecker'" <brobecker@adacore.com>
Cc: <gdb-patches@sourceware.org>
Subject: RE: [RFA] mingw port: Allow use of cvs GDB on Windows 95
Date: Mon, 21 Feb 2011 13:35:00 -0000	[thread overview]
Message-ID: <009901cbd1c6$11b05650$351102f0$@muller@ics-cnrs.unistra.fr> (raw)
In-Reply-To: <20110221115805.GK2600@adacore.com>



> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Joel Brobecker
> Envoyé : lundi 21 février 2011 12:58
> À : Pierre Muller
> Cc : gdb-patches@sourceware.org
> Objet : Re: [RFA] mingw port: Allow use of cvs GDB on Windows 95
> 
> > +  /* Stop any pending selects. On Windows 95 OS, CancelIo function
> does not
> > +     exist. In that case, it can be replaced by a call to
> CloseHandle, but
> > +     this is not necessary here as we do close the Windows handle by
> > calling
> > +     close (scb->fd) below.  */
> 
> Thanks for adding the comment.  You forgot to add a second space after
> the period on the second line... 
  And on the first line too...
> And while I'm nitpicking (I really
> apologize), we had a discussion about line length and sort of agreed
> on a "soft" limit of 70 characters, and a hard limit of 79, or 80.
> Can you try a little shorter lines? (ironic, I know). I promise,
> I wouldn't be nitpicking if you weren't going to touch it :).
  I can at least try...
see below, but if I remove "CloseHandle," from the second line,
it gets a line length of 62, which is too short, so that I presumed
that as long as the line length with it is less than 80, it is still OK?

Just tell me if this is correct.

Pierre

PS: I just saw that I also have an unwanted "src/gdb/" in my
ChangeLog entry that I will fix at the same time...


ChangeLog entry:

2011-02-21  Pierre Muller  <muller@ics.u-strasbg.fr>

	* ser-mingw.c (ser_windows_close): Reformat comment to better
conform
	to GNU coding standards.

Index: ser-mingw.c
===================================================================
RCS file: /cvs/src/src/gdb/ser-mingw.c,v
retrieving revision 1.27
diff -u -p -r1.27 ser-mingw.c
--- ser-mingw.c 21 Feb 2011 11:47:12 -0000      1.27
+++ ser-mingw.c 21 Feb 2011 12:43:59 -0000
@@ -221,10 +221,10 @@ ser_windows_close (struct serial *scb)
 {
   struct ser_windows_state *state;

-  /* Stop any pending selects. On Windows 95 OS, CancelIo function does not
-     exist. In that case, it can be replaced by a call to CloseHandle, but
-     this is not necessary here as we do close the Windows handle by
calling
-     close (scb->fd) below.  */
+  /* Stop any pending selects.  On Windows 95 OS, CancelIo function does
+     not exist.  In that case, it can be replaced by a call to CloseHandle,
+     but this is not necessary here as we do close the Windows handle
+     by calling close (scb->fd) below.  */
   if (CancelIo)
     CancelIo ((HANDLE) _get_osfhandle (scb->fd));
   state = scb->state;


  reply	other threads:[~2011-02-21 12:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04 13:06 [RFC] " Compte ICS
2011-02-04 13:57 ` Pierre Muller
2011-02-05 20:38   ` [RFA] " Pierre Muller
2011-02-21 11:06     ` Joel Brobecker
2011-02-21 11:58       ` Pierre Muller
2011-02-21 12:52         ` Joel Brobecker
2011-02-21 13:35           ` Pierre Muller [this message]
2011-02-21 14:59             ` Joel Brobecker

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='009901cbd1c6$11b05650$351102f0$@muller@ics-cnrs.unistra.fr' \
    --to=pierre.muller@ics-cnrs.unistra.fr \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.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