From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from merlin.resmel.bhp.com.au ([134.18.1.6]) by hawkwind.utcs.toronto.edu with SMTP id <2408>; Tue, 12 Jan 1993 19:29:34 -0500 Received: from cerberus.bhpese.oz.au by merlin.resmel.bhp.com.au with SMTP id AA01619 (5.65c/IDA-1.4.4 for ); Wed, 13 Jan 1993 11:28:24 +1100 Received: from localhost by cerberus.bhpese.oz.au with SMTP id AA05376; Wed, 13 Jan 1993 11:27:53 +1100; sendmail 5.67a/Sm3.5RMSU (from Sm@cerberus.bhpese.oz.au for rc@hawkwind.utcs.toronto.edu) Message-Id: <199301130027.AA05376@cerberus.bhpese.oz.au> To: rc@hawkwind.utcs.toronto.edu Subject: Re: rc under hp-ux In-Reply-To: Your message of "Tue, 12 Jan 93 16:57:37 EST." <9301121657.aa22344@golem.waterloo.on.ca> X-Face: '82~l%BnDBWVn])DV^cl_%bla$T]kNbRN&]>v{ED9[" >>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. This is what I have found, rc core dumps because format->args is zero. Sm