From a9f3ed63573693836d7bab50403c23fb5bf75507 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 7 May 2026 14:58:58 -0400 Subject: Replace BUFSIZ with STASIS_BUFSIZ --- tests/test_relocation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_relocation.c') diff --git a/tests/test_relocation.c b/tests/test_relocation.c index 4a02e01..891e346 100644 --- a/tests/test_relocation.c +++ b/tests/test_relocation.c @@ -13,7 +13,7 @@ void test_replace_text() { for (size_t i = 0; i < sizeof(targets) / sizeof(*targets); i += 2) { const char *target = targets[i]; const char *expected = targets[i + 1]; - char input[BUFSIZ] = {0}; + char input[STASIS_BUFSIZ] = {0}; strncpy(input, test_string, sizeof(input) - 1); input[sizeof(input) - 1] = '\0'; @@ -44,7 +44,7 @@ void test_file_replace_text() { return; } - char input[BUFSIZ] = {0}; + char input[STASIS_BUFSIZ] = {0}; fp = fopen(filename, "r"); if (fp) { fread(input, sizeof(*input), sizeof(input), fp); -- cgit