mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 12:40:42 +02:00
fix for heuristic to detect case statements when parsing $() command substitutions to find history expansion; fix for history not being saved if a SIGHUP arrives during $PROMPT_COMMAND execution; workaround for Cygwin bug that results in bash incorrectly calculating the system pipe size
This commit is contained in:
+5
-1
@@ -1,6 +1,6 @@
|
||||
/* psize.c - Find pipe size. */
|
||||
|
||||
/* Copyright (C) 1987, 1991, 2022 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1987, 1991, 2022, 2026 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Bash, the Bourne Again SHell.
|
||||
|
||||
@@ -50,7 +50,11 @@ int nw;
|
||||
sighandler
|
||||
sigpipe (int sig)
|
||||
{
|
||||
#if defined (__CYGWIN__)
|
||||
fprintf (stderr, "%d\n", nw - 128);
|
||||
#else
|
||||
fprintf (stderr, "%d\n", nw);
|
||||
#endif
|
||||
exit (0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user