Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!think!snorkelwacker!mit-eddie!uw-beaver!uw-entropy!dataio!pilchuck!ssc!fyl From: fyl@ssc.UUCP (Phil Hughes) Newsgroups: comp.unix.xenix Subject: Re: SCO XENIX/286 SYS V sh stack overflow Summary: fixhdr Keywords: sco,xenix,stack,sh,elm,mail Message-ID: <336@ssc.UUCP> Date: 21 Dec 89 17:52:28 GMT References: <72@slvblc.UUCP> <3593@lgnp1.LS.COM> Organization: SSC, Inc., Seattle, WA Lines: 19 In article <3593@lgnp1.LS.COM>, phil@lgnp1.LS.COM (Phil Eschallier) writes: > In article <72@slvblc.UUCP> dick@slvblc.UUCP (Dick Flanagan) writes: > >Well, that's exactly what happens on my 286. My question is, just how do > >I go about getting an sh with a bigger stack?!? Is there a utility that > >can be used to patch the object file? Can I get one from SCO? Just how > >do I go about doing this wonderful thing? You can use the fixhdr command to change the stack size (among other things). According to page 18 of my handy-dandy SSC XENIX System V Command Summary: fixhdr -F xxxx program_name where xxxx is the size of the stack in hex (sure is nice to have 5,000 of these handy booklets within 50 feet :-) ) -- Phil Hughes, SSC, Inc. P.O. Box 55549, Seattle, WA 98155 (206)FOR-UNIX uunet!pilchuck!ssc!fyl or attmail!ssc!fyl (206)527-3385