diff options
| author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2026-05-07 15:54:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-07 15:54:00 -0400 |
| commit | 0ef06cbec6f3796db244501b4c5fec2d579c7e5b (patch) | |
| tree | 675651a16986ebfc1473102d9ce6d7187fc107d0 /tests/test_relocation.c | |
| parent | b494ddd036f9b17fcfabd42decd325bbe8be914e (diff) | |
| parent | 9468c81718046af0a0b32c492bee359a98e2e8e9 (diff) | |
| download | stasis-0ef06cbec6f3796db244501b4c5fec2d579c7e5b.tar.gz | |
Merge pull request #141 from jhunkeler/use-stasis-bufsiz
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); |
