This is the mail archive of the
gsl-discuss@sourceware.cygnus.com
mailing list for the GSL project.
Re: Error in error-handling documentation.
- To: Toby White <tow at theor dot ch dot cam dot ac dot uk>
- Subject: Re: Error in error-handling documentation.
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Thu, 29 Jun 2000 19:06:41 +0100 (BST)
- Cc: gsl-discuss at sourceware dot cygnus dot com
- References: <20000629172938.A3881@bit.ch.cam.ac.uk>
Thanks.
Toby White writes:
> Minor point; I noticed a small error in the error-handling
> documentation; an incorrect call to longjmp. The diff below
> corrects the texinfo files.
>
> --- err.texi Mon Jun 5 20:27:35 2000
> +++ err.texi.new Thu Jun 29 17:27:42 2000
> @@ -209,7 +209,7 @@
> my_error_handler (const char *reason, const char *file, int line)
> @{
> fprintf (stderr, "GSL error: %s\n", reason);
> - longjmp (main_loop);
> + longjmp (main_loop, 1);
> @}
> @end example
>
> Toby
>
> --
> Toby White, University Chemical Lab., Lensfield Road, Cambridge. CB2 1EW. U.K.
> <tow@theor.ch.cam.ac.uk> for archival and encrypted mail. GPG Key ID: 1DE9DE75
> <toby.white@vodafone.net> for immediate attention.
> Web: http://ket.ch.cam.ac.uk/people/tow/index.html
> Tel: +44 1223 336423
> Fax: +44 7747 609139
>
>