[Tarantool-patches] [PATCH v4 3/4] crash: move fatal signal handling in

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sun Dec 20 18:45:46 MSK 2020


> diff --git a/src/lib/core/crash.h b/src/lib/core/crash.h
> new file mode 100644
> index 000000000..d107cd953
> --- /dev/null
> +++ b/src/lib/core/crash.h
> @@ -0,0 +1,32 @@
> +/*
> + * SPDX-License-Identifier: BSD-2-Clause
> + *
> + * Copyright 2010-2020, Tarantool AUTHORS, please see AUTHORS file.
> + */
> +#pragma once
> +
> +#include <stdint.h>
> +#include <signal.h>
> +#include <limits.h>> +
> +#include "trivia/config.h"

Why are these headers here? Crash.h does not use
anything except what is present in the language syntax.


More information about the Tarantool-patches mailing list