From 15520de3aa5100b148757e550b87a73798192b92 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sun, 21 Mar 2021 12:51:08 +0900 Subject: Check STR_SIZE_MAX in Strcat_char --- Str.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'Str.c') diff --git a/Str.c b/Str.c index 804352c..9977c2d 100644 --- a/Str.c +++ b/Str.c @@ -21,12 +21,10 @@ #ifdef __EMX__ /* or include "fm.h" for HAVE_BCOPY? */ #include #endif -#include #include "Str.h" #include "myctype.h" #define INITIAL_STR_SIZE 32 -#define STR_SIZE_MAX (INT_MAX / 32) #ifdef STR_DEBUG /* This is obsolete, because "Str" can handle a '\0' character now. */ -- cgit v1.2.3