use anonymous files for here-documents if available and the document size exceeds pipe capacity; fixes to build if multibyte characters are unavailable; fix potential overflow with extrememly long $'...' strings; fix for readline redisplay highlighting with a zero-length region

This commit is contained in:
Chet Ramey
2026-07-24 12:13:30 -04:00
parent 03e7298d1e
commit 9b6349ef40
19 changed files with 138 additions and 23 deletions
+3 -1
View File
@@ -1,6 +1,6 @@
/* shmbutil.h -- utility functions for multibyte characters. */
/* Copyright (C) 2002-2022 Free Software Foundation, Inc.
/* Copyright (C) 2002-2026 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -88,6 +88,8 @@ extern int locale_utf8locale; /* XXX */
#define VALID_SINGLEBYTE_CHAR(c) (1)
extern int locale_utf8locale; /* XXX */
#endif /* !HANDLE_MULTIBYTE */
/* Declare and initialize a multibyte state. Call must be terminated