From owner-freebsd-current Mon Oct 6 12:43:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA22628 for current-outgoing; Mon, 6 Oct 1997 12:43:05 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA22622 for ; Mon, 6 Oct 1997 12:43:00 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id MAA28031; Mon, 6 Oct 1997 12:41:57 -0700 (PDT) Message-ID: <19971006124156.64153@hydrogen.nike.efn.org> Date: Mon, 6 Oct 1997 12:41:56 -0700 From: John-Mark Gurney To: Terry Lambert Cc: Luigi Rizzo , freebsd-current@FreeBSD.ORG Subject: Re: how to detect different kernel code (select or poll) References: <199710061015.LAA05174@labinfo.iet.unipi.it> <199710061926.MAA18042@usr04.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199710061926.MAA18042@usr04.primenet.com>; from Terry Lambert on Mon, Oct 06, 1997 at 07:26:01PM +0000 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Terry Lambert scribbled this message on Oct 6: > > > what is the best way to conditionally compile code depending if select > > > or poll is in the kernel? > > > > > > the problem is that Luigi does he coding on a 2.2.x box.. and my test > > > machine is a -current box... what is the best way to get both select > > > and poll code into his sound code? > > > > I want to clarify that it's not a problem only the two of us are > > having... basically all kernel extensions which do not find their place in > > the official source distributions need to distinguish between the > > various branches, be them 2.1, 2.2.X 3.0 ... > > IMO, the best way is for the code to become part of the official source > distributions. > > But, I agree that there are some cases where this isn't possible; namely > commercial code that would prefer not to donate code, even though they > know that, if they did, it would relieve them of the maintenance burden > for things like this (there are a *lot* of things like this). Terry, what does this message have to deal with a solution to the problem that we posted?? all it does is restate what we are trying to do... -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD