From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.cs.toronto.edu ([128.100.1.105]) by hawkwind.utcs.toronto.edu with SMTP id <2723>; Tue, 12 Jan 1993 17:05:42 -0500 Received: from xenitec.on.ca ([142.77.5.3]) by relay.cs.toronto.edu with SMTP id <150179>; Tue, 12 Jan 1993 17:05:19 -0500 Received: from golem by xenitec.xenitec.on.ca id aa20392; 12 Jan 93 17:00 EST To: Scott Merrilees cc: rc@hawkwind.utcs.toronto.edu Subject: Re: rc under hp-ux In-reply-to: Your message of "Tue, 12 Jan 93 02:12:06 EST." <199301120712.AA24909@cerberus.bhpese.oz.au> Date: Tue, 12 Jan 1993 16:57:37 -0500 From: "David J. Fiander" Message-ID: <9301121657.aa22344@golem.waterloo.on.ca> >From: Scott Merrilees >We have aquired a hp 9000/817 running hp-ux A.09.00, and I started >my usual porting sequence, compile rc. Unfortunately, it doesn't >work. More specifically stdargs/varargs seems to be playing up. >Compiling -O causes the compiler to barf on print.c, compiling -g >completes, but then execution results in core dumps. If I had to guess I would say that this is the fact that rc tries to save a va_list in a struct and pass it around. I had the same problem on another system. I don't know if what rc is doing is legit. according to ANSI, but I also don't quite know how to change it so that it doesn't do that. - David