From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from glacier.wise.edt.ericsson.se ([193.180.251.38]) by hawkwind.utcs.utoronto.ca with SMTP id <24628>; Thu, 6 Mar 1997 09:10:02 -0500 Received: from ms.uab.ericsson.se (root@ms.uab.ericsson.se [134.138.2.16]) by glacier.wise.edt.ericsson.se (8.7.5/8.7.3/glacier-0.9) with SMTP id PAA26378; Thu, 6 Mar 1997 15:09:47 +0100 (MET) Received: from uabx01c184.uab.ericsson.se by ms.uab.ericsson.se (4.1/MS-2.1g) id AA04591; Thu, 6 Mar 97 15:09:46 +0100 From: Bengt.Kleberg@ms.uab.ericsson.se (Bengt Kleberg) Received: by uabx01c184.uab.ericsson.se (SMI-8.6/client-1.3) id PAA27178; Thu, 6 Mar 1997 15:09:45 +0100 Date: Thu, 6 Mar 1997 09:09:45 -0500 Message-Id: <199703061409.PAA27178@uabx01c184.uab.ericsson.se> To: rc@hawkwind.utcs.toronto.edu, culliton@clark.net Subject: Re: RC => POSIX X-Sun-Charset: US-ASCII > From rc-owner@hawkwind.utcs.toronto.edu Thu Mar 6 14:48:52 1997 > From: Tom Culliton > Date: Thu, 6 Mar 1997 08:46:06 -0500 > To: Bengt.Kleberg@ms.uab.ericsson.se, rc@hawkwind.utcs.toronto.edu > Subject: Re: RC => POSIX > > > What if we wrote rc to posix (or UNIX(tm) if posix isn't enough) and > > removed as much of the #ifdef's as possible. Then, on systems without > > posix support, we could create a posix library for that operating > > system. Only covering the missing posix calls that rc uses, ofcourse. > > ...deleted explanation why this wouldn't be a good idea > > OK, I just like the idea, have tried it successfully (with far fewer target systems) and hoped it would be doable. > All your proposal > would do is move the #if's into the compatibility library. Actually I meant to use a specific library for each operating system, so there would be several libraries with no #ifdef's in any of them. This is probably just a case of personal taste. I prefer several libraries, others prefer serveral #ifdef's. Best Wishes, Bengt -------------------------------------------------------------------- Email: Bengt.Kleberg@enea.se (Enea Data AB, Sweden) Disclaimer: Nothing abovementioned has any connection to Enea Data AB ``At the moment money does indeed make the world go round but unfortunately the direction of that applied rotation is all downhill.'' fleecy@netreach.net