From: Dave Neary (dave.neary at domain palamon.ie)
Date: Thu 03 May 2001 - 10:42:00 IST
Dave Neary wrote:
> But to be a pedant....
>
Oops! There really is no excuse for writing bad C badly...
strcat((msg=strdup(strvar1),
(msg=realloc(msg,strlen(msg)+strlen(strvar2)+1))==NULL?
bad_stuff():msg),strvar2);
> still doesn't work because we can't be guaranteed in which order the
> arguments will evaluate :)
>
> Cheers,
> Dave.
-- David Neary, E-Mail dave.neary at domain palamon.ie Palamon Technologies Ltd. Phone +353-1-634-5059
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:10 GMT