git.annexia.org
/
ocaml-augeas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86377f2
)
Switch away from non-namespaced OCaml symbols
author
Pino Toscano
<ptoscano@redhat.com>
Wed, 29 May 2019 09:48:46 +0000
(11:48 +0200)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/augeas-c.c
b/augeas-c.c
index
7f0531f
..
9217017
100644
(file)
--- a/
augeas-c.c
+++ b/
augeas-c.c
@@
-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);
}