Enhance raise_error to be able to close handle
authorPino Toscano <ptoscano@redhat.com>
Wed, 29 May 2019 09:48:37 +0000 (11:48 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 29 May 2019 09:55:36 +0000 (10:55 +0100)
commit6d61606ee8c5c81d5492d062bd1e15fe2165edc7
tree11c35a6bd79c72bf0bc78b591d83016e4d89a173
parentbb20badcb781cbecc9e33a352d0078545d27a967
Enhance raise_error to be able to close handle

Rename raise_error to raise_error_and_maybe_close, and add the
possibility to close the specified handle before raising the OCaml
exception.

raise_error is left as non-closing macro.
augeas-c.c