delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/08/30/19:44:14

From: Jason Green <mail AT jgreen4 DOT fsnet DOT co DOT uk>
To: Laurynas Biveinis <lauras AT softhome DOT net>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: Symify fixes
Date: Thu, 31 Aug 2000 00:21:52 +0100
Message-ID: <9o5rqs0b8p2c5ht4iqkbr7c90sarge6bh7@4ax.com>
References: <226lqssqgqp6i9nk82rvrqhl9aaia029e9 AT 4ax DOT com> <7458-Mon28Aug2000203504+0300-eliz AT is DOT elta DOT co DOT il> <ltflqs8ouggncaukmesirq7rsbsi4umrj5 AT 4ax DOT com> <8011-Mon28Aug2000234727+0300-eliz AT is DOT elta DOT co DOT il> <ttvnqs0p0rib0eja7eiijst64vbgp9tl1b AT 4ax DOT com> <39AD1BF3 DOT 139CB5DB AT softhome DOT net> <9003-Wed30Aug2000195653+0300-eliz AT is DOT elta DOT co DOT il> <39AD6455 DOT DC1FCF30 AT softhome DOT net>
In-Reply-To: <39AD6455.DC1FCF30@softhome.net>
X-Mailer: Forte Agent 1.7/32.534
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id TAA28678
Reply-To: djgpp-workers AT delorie DOT com

On Wed, 30 Aug 2000 21:45:25 +0200, you wrote:

> And here is the function:
> 
> static void bail(const char *msg)
> {
>   assert(msg);
> 
>   if (errno)
>      fprintf(stderr, "Symify error: %s: %s\n", msg, strerror(errno));
>   else
>      fprintf(stderr, "Symify error: %s\n", msg);
>   exit(EXIT_FAILURE);
> }
> 
> If nobody objects, I commit it with the rest of patches.

That function will do what you want, but please see my other reply for
reasoning against it.
-- 
[please cc all replies, thanks]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019