Skip to content

Commit e0a8cd8

Browse files
committed
fix: conditionalize SIGPIPE signal handling for non-Windows platforms and update gitignore pattern
1 parent 7cf4e47 commit e0a8cd8

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ test_monitoring
8585
test_virtual_tables
8686
build_asan
8787
build_fix
88-
build_fix3
88+
build_fix**

tests/test_monitoring.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,9 @@ static void test_log_callback_per_handle(void) {
256256
// ── Main ────────────────────────────────────────────────────────────
257257

258258
int main(void) {
259+
#ifndef _WIN32
259260
signal(SIGPIPE, SIG_IGN);
261+
#endif
260262
ark_setenv("ARKILIAN_MAX_ATTEMPTS", "3", 1); // fast dead-lettering for tests
261263
printf("=== Arkilian Monitoring Tests ===\n\n");
262264

0 commit comments

Comments
 (0)