snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit a66bbd4360ebf8b97872376e2ea0c2e7933c3e56
parent 80d1700f6a82707a4b5ffdce2fa8b1ec7d118f65
Author: default <nobody@localhost>
Date:   Thu, 29 Sep 2022 12:52:57 +0200

Use SIGTRAP instead of the signal number in raise().

Diffstat:
Mxs.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xs.h b/xs.h @@ -38,7 +38,7 @@ typedef char d_char; #define _xs_blk_size(sz) ((((sz) + _XS_BLK_SIZE) / _XS_BLK_SIZE) * _XS_BLK_SIZE) void _xs_destroy(char **var); -#define xs_debug() raise(5) +#define xs_debug() raise(SIGTRAP) xstype xs_type(const char *data); int xs_size(const char *data); int xs_is_null(char *data);