mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-01 17:39:56 +02:00
add stdbool.h detection and replacement for bool; use ckd_mul/ckd_add/ckd_sub where appropriate; update overflow detection in brace expansion and printf builtin
This commit is contained in:
+2
-2
@@ -115,9 +115,9 @@ find_index_in_alist (char *string, STRING_INT_ALIST *alist, int flags)
|
||||
/* Cons a new string from STRING starting at START and ending at END,
|
||||
not including END. */
|
||||
char *
|
||||
substring (const char *string, int start, int end)
|
||||
substring (const char *string, size_t start, size_t end)
|
||||
{
|
||||
int len;
|
||||
size_t len;
|
||||
char *result;
|
||||
|
||||
len = end - start;
|
||||
|
||||
Reference in New Issue
Block a user