Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Joel Brobecker'" <brobecker@adacore.com>
Cc: "'Mark Kettenis'" <mark.kettenis@xs4all.nl>,
		<gdb-patches@sourceware.org>
Subject: RE: [RFA] ARI fix:  Replace dirent.h by gdb_dirent.h in linux-fork.c
Date: Mon, 08 Oct 2007 14:12:00 -0000	[thread overview]
Message-ID: <000001c809b5$4c51a9d0$e4f4fd70$@u-strasbg.fr> (raw)
In-Reply-To: <20071008135843.GL3570@adacore.com>

  The include ordering stuff seems completely
opaque to me anyhow.
  <ctype.h> is included as last in linux-fork.c,
but right after "defs.h" in breakpoint.c.
Is there any rational for this?
  Anyhow, if you also agree, it is probably best to leave 
the ordering exactly as it was, just to stay on the 
safe side.

  Should I move the gdb_wait.h include back to where wait.h was?

Pierre

> -----Original Message-----
> From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] On Behalf Of Joel Brobecker
> Sent: Monday, October 08, 2007 3:59 PM
> To: Pierre Muller
> Cc: 'Mark Kettenis'; gdb-patches@sourceware.org
> Subject: Re: [RFA] ARI fix: Replace dirent.h by gdb_dirent.h in linux-
> fork.c
> 
> >   Maybe, but in my latest commit to linux-fork.c I did exactly
> > the same operation for the wait header, and moved it up from
> > the system <header.h> includes to the local "header.h" includes,
> > and Joel told me that this was the right thing to do...
> 
> Maybe I was wrong :-o. Seriously, the reason why I said yes at the time
> is because I didn't think it would make a difference. I don't think
> it will make a difference here either, but Mark's approach is less
> prone to cause unexpected behavior changes.
> 
> --
> Joel




  reply	other threads:[~2007-10-08 14:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-08 12:34 Pierre Muller
2007-10-08 13:27 ` Mark Kettenis
2007-10-08 13:48   ` Pierre Muller
2007-10-08 13:59     ` Joel Brobecker
2007-10-08 14:12       ` Pierre Muller [this message]
2007-10-08 14:31         ` Mark Kettenis
2007-10-08 14:41           ` Pierre Muller
2007-10-08 14:59             ` Mark Kettenis
2007-10-08 15:10               ` Pierre Muller
2007-10-08 14:47           ` [RFA-v2] " Pierre Muller

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='000001c809b5$4c51a9d0$e4f4fd70$@u-strasbg.fr' \
    --to=muller@ics.u-strasbg.fr \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    /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