Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: Can anyone find a system on which this doesn't work? Message-ID: <4669@utzoo.UUCP> Date: Thu, 22-Nov-84 13:31:33 EST Article-I.D.: utzoo.4669 Posted: Thu Nov 22 13:31:33 1984 Date-Received: Thu, 22-Nov-84 13:31:33 EST References: <324@wu1.UUCP> Organization: U of Toronto Zoology Lines: 12 > Does anyone know of any system on which the acat() routine in > the program test.c (attached) does not work? Dozens of them. Acat is taking variable-length argument lists, which is the kiss of death for portability. Declaring lots of parameters and then using them in order is highly machine-dependent; it makes major assumptions about how the argument list is laid out in memory. Using would be a lot better, but even that is not perfect. There exist machines on which is unimplementable. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry