Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!uunet!mcsun!ukc!edcastle!hwcs!zen!frank From: frank@zen.co.uk (Frank Wales) Newsgroups: comp.sys.hp Subject: Re: BUG in unshared programs on HP-UX Message-ID: <1700@zen.co.uk> Date: 23 Aug 89 12:30:06 GMT References: <2450@ccncsu.ColoState.EDU> Reply-To: frank@zen.co.uk (Frank Wales) Organization: Zengrange Limited, Leeds, England Lines: 17 In article <2450@ccncsu.ColoState.EDU> wendt@segovia.CS.ColoState.Edu (alan l wendt) writes: >Unshared programs invariably fail to have enough room. The manual entry for ld(1), under DEPENDENCIES (series 800) states: "Nonshareable, executable files generated with the -N option cannot be executed via exec(2). Typically, -N is used when rebuilding the kernel." The behaviour of all the shells ("[k]sh: too big", "csh: Not enough room") is correct under this constraint, although why placing the program data immediately after the text causes errno to be set to E2BIG I don't know. In any event, it is not a bug. -- Frank Wales, Systems Manager, [frank@zen.co.uk<->mcvax!zen.co.uk!frank] Zengrange Ltd., Greenfield Rd., Leeds, ENGLAND, LS9 8DB. (+44) 532 489048 x217