Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Mark Mitchell <mark@codesourcery.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: PATCH: Guard uses of fork
Date: Wed, 16 Mar 2005 15:29:00 -0000	[thread overview]
Message-ID: <20050316152923.GA30681@nevyn.them.org> (raw)
In-Reply-To: <200503100400.j2A4055p021369@sirius.codesourcery.com>

On Wed, Mar 09, 2005 at 08:00:05PM -0800, Mark Mitchell wrote:
> 
> This patch uses the HAVE_WORKING_FORK and HAVE_WORKING_VFORK macros
> appropriately to guard calls to these functions.  (These macros are
> already being defined by autoconf; we just need to use them.)  I'm
> checking HAVE_WORKING_FORK, even in the case of the call to vfork in
> cli-cmds.c, because autoconf will "#define vfork fork" if there's no
> vfork, but there is fork.  I left the CANT_FORK define in place
> because that's defined by defs.h in the case __MSDOS__, and Dan says
> that configure isn't run in that case.  I think it could safely be
> removed (as surely, on __MSDOS__, nothing will define
> HAVE_WORKING_[V]FORK, but I don't have a way of testing that.  I'm
> happy to make that change as well, if people would like.
> 
> OK to apply?

This is OK.  I'm not sure my understanding of the DJGPP bits is
correct, but this patch is safe whether I was right or wrong, which is
why I like it.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


  reply	other threads:[~2005-03-16 15:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-10  4:00 Mark Mitchell
2005-03-16 15:29 ` Daniel Jacobowitz [this message]
2005-03-16 16:37   ` Mark Mitchell
2005-03-16 19:58     ` Eli Zaretskii
2005-03-16 19:50   ` Eli Zaretskii
2005-03-16 19:51     ` Daniel Jacobowitz

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=20050316152923.GA30681@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mark@codesourcery.com \
    /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