Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!ken From: ken@gvax.cs.cornell.edu (Ken Birman) Newsgroups: comp.sys.isis Subject: Suggestion: NO_UNIX_DOM "ifdef" Message-ID: <29317@cornell.UUCP> Date: 23 Jun 89 17:09:45 GMT Sender: nobody@cornell.UUCP Reply-To: capmkt!brent@uunet.UU.NET Distribution: comp Organization: Cornell Univ. CS Dept, Ithaca NY Lines: 20 Since SunOS 3.x looks like it's still going to be in use for a while at a fair number of sites, and since the problem of crashing when using UNIX domain sockets exists for all versions of SunOS 3.x, might I suggest a "NO_UNIX_DOM" preprocessor flag, similar in nature to the "NOSUNLWP" flag? I added the following code after the machine-specific sections of protos/pr.h and clib/isis.h: #ifdef NO_UNIX_DOM # ifdef UNIX_DOM # undef UNIX_DOM # endif #endif This lets the machine-specific section set UNIX_DOM however it feels is right for the machine in question, but lets the user override this decision. Brent [ Seems like a good idea... we'll do it -- Ken ]