public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Error in error-handling documentation.
@ 2000-06-29  9:29 Toby White
  2000-06-29 11:06 ` Brian Gough
  0 siblings, 1 reply; 2+ messages in thread
From: Toby White @ 2000-06-29  9:29 UTC (permalink / raw)
  To: gsl-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error in error-handling documentation.
  2000-06-29  9:29 Error in error-handling documentation Toby White
@ 2000-06-29 11:06 ` Brian Gough
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2000-06-29 11:06 UTC (permalink / raw)
  To: Toby White; +Cc: gsl-discuss

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
 > 
 > 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-29 11:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-29  9:29 Error in error-handling documentation Toby White
2000-06-29 11:06 ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).