This is the mail archive of the gsl-discuss@sourceware.cygnus.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Error in error-handling documentation.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]