Closed alexey-milovidov closed 4 years ago
#define LIBDIVIDE_ERROR(msg) \ do { \ fprintf(stderr, "libdivide.h:%d: %s(): Error: %s\n", \ __LINE__, LIBDIVIDE_FUNCTION, msg); \ exit(-1); \ } while (0)
The usage of exit is wrong for two reasons:
exit
_exit
The issue has been found here: https://github.com/ClickHouse/ClickHouse/issues/12119
Yeah well found, it should be fixed! If you make a PR I will merge it!
Ok https://github.com/ridiculousfish/libdivide/pull/65 Thank you!
Thank you! Closed in #65
The usage of
exit
is wrong for two reasons:_exit
).The issue has been found here: https://github.com/ClickHouse/ClickHouse/issues/12119