Browse Source

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

default 2 years ago
parent
commit
a66bbd4360
1 changed files with 1 additions and 1 deletions
  1. 1 1
      xs.h

+ 1 - 1
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);