From owner-freebsd-current Sun Feb 10 16:10:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 91FFF37B41F; Sun, 10 Feb 2002 16:10:40 -0800 (PST) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.1/8.12.1) with ESMTP id g1B0Aafk000025; Sun, 10 Feb 2002 19:10:37 -0500 (EST) Date: Sun, 10 Feb 2002 19:10:36 -0500 (EST) From: Daniel Eischen To: Bruce Evans Cc: Kevin Day , current@FreeBSD.ORG, bde@FreeBSD.ORG Subject: Re: function name collision on "getcontext" with ports/editors/joe In-Reply-To: <20020211070518.F9189-100000@gamplex.bde.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 11 Feb 2002, Bruce Evans wrote: > On Sun, 10 Feb 2002, Daniel Eischen wrote: > > > Hmm, includes . I'm not sure why though. > > bde might know. > > includes for the normal namespace > pollution that was needed to use sigreturn(2) (except sigreturn(2) > itself isn't actually declared anywhere). Including > gives the corresponding namespace pollution for using the current > sigreturn(2). This is probably a mistake. (Don't believe the > sigreturn man page; it documents osigreturn(2) for the i386 only.) > Programs shouldn't have any problems with this, since they should > define _POSIX_SOURCE if they only want the POSIX namespace ;-). Poking about on a Solaris 8 system shows that they have a that defines the {get,set,make,swap}context prototypes. also includes to get the definitions for ucontext_t. Under FreeBSD, is a link to , which both declare ucontext_t and {get,set,make,swap}context. What do you recommend we do? Should we not include from , or do what Solaris does, or just leave everything as is? -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message