From: Jason Green To: Laurynas Biveinis 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> <8011-Mon28Aug2000234727+0300-eliz AT is DOT elta DOT co DOT il> <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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit 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]