summaryrefslogtreecommitdiff
path: root/xs.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-29 12:52:57 +0200
committerdefault <nobody@localhost>2022-09-29 12:52:57 +0200
commita66bbd4360ebf8b97872376e2ea0c2e7933c3e56 (patch)
tree0ccbf9022db99ba27d91dd5d63a73d8e78ba15e6 /xs.h
parent80d1700f6a82707a4b5ffdce2fa8b1ec7d118f65 (diff)
Use SIGTRAP instead of the signal number in raise().
Diffstat (limited to 'xs.h')
-rw-r--r--xs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs.h b/xs.h
index 234a1d2..c44a8a0 100644
--- 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);