Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@cygnus.com>
To: RDBrown@mira.net, RodneyBrown@mynd.com, gdb@sources.redhat.com,
	gdb-patches@sources.redhat.com
Subject: Re: gdb March 2001 archive
Date: Tue, 27 Mar 2001 08:04:00 -0000	[thread overview]
Message-ID: <1010327160404.ZM4245@ocotillo.lan> (raw)
In-Reply-To: <E14hrAI-00006p-00@urtur>

On Mar 27,  8:57pm, RDBrown@mira.net wrote:

> Building from the 0324 snapshot on alpha-dec-osf4.0e and i586-sco-sysv5uw7.1.0
> somewhat required the following patch - which should be done with autoconf.
> Both provide NSIG but only if _XOPEN_SOURCE etc are undefined.
> (Both using gcc-2.95.2)
[...]
> --- expect/exp_trap.c.orig	Tue Mar 27 00:17:00 2001
> +++ expect/exp_trap.c	Mon Mar 26 13:18:59 2001
> @@ -22,6 +22,12 @@
>  #ifndef NSIG
>  #ifdef _NSIG
>  #define NSIG _NSIG
> +#else
> +#ifdef __osf__	/* alpha-dec-osf4.0e workaround */
> +#define NSIG 49
> +#else		/* i586-sco-sysv5uw7.1.0 workaround */
> +#define NSIG 35
> +#endif
>  #endif
>  #endif

I've been getting past this problem by just undefining _XOPEN_SOURCE
in the resulting expect_cf.h file (after running configure).  But I
agree that something ought to be done in the configury.  (I'd prefer
to not add defines for NSIG to the sources.)


      reply	other threads:[~2001-03-27  8:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27  2:55 RDBrown
2001-03-27  8:04 ` Kevin Buettner [this message]

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=1010327160404.ZM4245@ocotillo.lan \
    --to=kevinb@cygnus.com \
    --cc=RDBrown@mira.net \
    --cc=RodneyBrown@mynd.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=gdb@sources.redhat.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