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:
05f00ac
)
lib: Use caml_failwith instead of compat wrapper failwith.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 5 Oct 2017 10:15:01 +0000
(11:15 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 5 Oct 2017 10:15:01 +0000
(11:15 +0100)
augeas-c.c
patch
|
blob
|
history
diff --git
a/augeas-c.c
b/augeas-c.c
index
885b829
..
da11acc
100644
(file)
--- a/
augeas-c.c
+++ b/
augeas-c.c
@@
-1,5
+1,5
@@
/* Augeas OCaml bindings
/* Augeas OCaml bindings
- * Copyright (C) 2008-201
2
Red Hat Inc., Richard W.M. Jones
+ * Copyright (C) 2008-201
7
Red Hat Inc., Richard W.M. Jones
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@
-215,7
+215,7
@@
ocaml_augeas_get (value tv, value pathv)
else if (r == -1) /* Error or multiple matches */
raise_error (t, "Augeas.get");
else
else if (r == -1) /* Error or multiple matches */
raise_error (t, "Augeas.get");
else
- failwith ("Augeas.get: bad return value");
+
caml_
failwith ("Augeas.get: bad return value");
CAMLreturn (optv);
}
CAMLreturn (optv);
}