diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-05-07 14:58:58 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-05-07 15:00:16 -0400 |
| commit | a9f3ed63573693836d7bab50403c23fb5bf75507 (patch) | |
| tree | 372092edc26b5f6d546f003bfa14aea78a531cfe /tests/test_relocation.c | |
| parent | e412ae6ff1aa793799ccdbe893484273e71e909a (diff) | |
| download | stasis-a9f3ed63573693836d7bab50403c23fb5bf75507.tar.gz | |
Replace BUFSIZ with STASIS_BUFSIZ
Diffstat (limited to 'tests/test_relocation.c')
| -rw-r--r-- | tests/test_relocation.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
