Switch away from non-namespaced OCaml symbols
authorPino Toscano <ptoscano@redhat.com>
Wed, 29 May 2019 09:48:46 +0000 (11:48 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 29 May 2019 09:55:36 +0000 (10:55 +0100)
Use the namespaced symbols, available since OCaml 3.08.0.

augeas-c.c

index 7f0531f..9217017 100644 (file)
@@ -345,7 +345,7 @@ ocaml_augeas_exists (value tv, value pathv)
   else if (r == -1)            /* Error or multiple matches */
     raise_error (t, "Augeas.exists");
   else
-    failwith ("Augeas.exists: bad return value");
+    caml_failwith ("Augeas.exists: bad return value");
 
   CAMLreturn (v);
 }