Xref: utzoo alt.sources:1401 comp.unix.xenix:9450 Path: utzoo!attcan!uunet!cs.utexas.edu!usc!brutus.cs.uiuc.edu!caesar.cs.montana.edu!milton!uw-beaver!uw-entropy!dataio!shiloh!rwing!pat From: pat@rwing.UUCP (Pat Myrto) Newsgroups: alt.sources,comp.unix.xenix Subject: Re: Menu software... version 1.35 upgrade to "lush" part 1/1 Summary: Minor glitch in Ver 1.35 of lush, and easy fix Message-ID: <1033@rwing.UUCP> Date: 13 Jan 90 20:36:17 GMT References: <3888@yunccn.UUCP> <3890@yunccn.UUCP> Organization: Very Little Organization, Seattle WA Lines: 32 In article <3890@yunccn.UUCP>, shields@yunccn.UUCP (Paul Shields) writes: > Note: I haven't compiled lush for MS-DOS in at least a year. You may > have to work on it. When the Version 1.35 sources are combined with the rest of the package posted earlier as Version 1.34, I discovered it wouldn't compile under Sys V, stopping at edit.c with 'grp' being undefined. The problem is the order in which lush.h includes defs.h and config.h. The present order of including defs.h before config.h prevents defs.h from seeing if MULTIUSER is defined in config.h, preventing the struct group *grp from being defined. The fix is to simply reverse the order of the includes in lush.h from #include "defs.h" /* old directives */ #include "config.h" to #include "config.h" /* fixed directives */ #include "defs.h" The package will now compile under Sys V the same as Version 1.34. Hopefully this will save someone the time of figuring out why the structure wasn't defined in this version when it was OK in the the previous one. -- pat@rwing (Pat Myrto), Seattle, WA ...!uunet!gtenmc!pilchuck!rwing!pat ...!uw-beaver!uw-entropy!dataio!/ WISDOM: "Travelling unarmed is like boating without a life jacket"