From 9e8edf8918c9e79386b4b07f7bc6b2528cea98fb Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 20 Nov 2023 00:29:06 -0500 Subject: Replaces BUFSIZ with OMC_BUFSIZ --- src/relocation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/relocation.c') diff --git a/src/relocation.c b/src/relocation.c index a81a45e..b92af2b 100644 --- a/src/relocation.c +++ b/src/relocation.c @@ -20,7 +20,7 @@ * @param replacement string value */ void replace_text(char *original, const char *target, const char *replacement) { - char buffer[OHMYCAL_BUFSIZ]; + char buffer[OMC_BUFSIZ]; char *tmp = original; memset(buffer, 0, sizeof(buffer)); @@ -62,7 +62,7 @@ void file_replace_text(const char* filename, const char* target, const char* rep return; } - char buffer[OHMYCAL_BUFSIZ]; + char buffer[OMC_BUFSIZ]; char tempfilename[] = "tempfileXXXXXX"; FILE *tfp = fopen(tempfilename, "w"); -- cgit