freebsd-ports/math/orpie/files/patch-gsl::mlgsl_error.c
Martin Wilke 245e453c6c - Update to 1.4.3
PR:		ports/103582
Submitted by:	Dylan Simon <dylan(at)dylex.net> (maintainer)
2006-09-25 09:56:22 +00:00

12 lines
456 B
C

--- gsl/mlgsl_error.c.orig Sat Oct 29 22:40:23 2005
+++ gsl/mlgsl_error.c Sun Sep 24 14:42:12 2006
@@ -43,7 +43,8 @@
exn_arg = alloc_small(2, 0);
Store_field(exn_arg, 0, Val_int(conv_err_code(gsl_errno)));
Store_field(exn_arg, 1, copy_string(ml_gsl_exn_msg));
- CAMLreturn(raise_with_arg(*ml_gsl_exn, exn_arg));
+ raise_with_arg(*ml_gsl_exn, exn_arg);
+ CAMLreturn0;
}
static void ml_gsl_error_handler(const char *reason, const char *file,