summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_misc.c
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2018-09-03 18:02:49 +0200
committerAxel Beckert <abe@deuxchevaux.org>2018-09-03 18:02:49 +0200
commit6e6500bfa9f31b6efce0c0801fcea558aa09b7ba (patch)
treeb2032b9c9a63d7e1db551f937cae04ae062b8fa5 /Src/Zle/zle_misc.c
parent4614aa489b18ba256fdc7b2c44aa5127c214e665 (diff)
parentb30b89418af2495c0d48a72573f908c4ecf05efd (diff)
downloadzsh-6e6500bfa9f31b6efce0c0801fcea558aa09b7ba.tar.gz
zsh-6e6500bfa9f31b6efce0c0801fcea558aa09b7ba.zip
Merge tag 'zsh-5.6' into debian
Release 5.6.
Diffstat (limited to 'Src/Zle/zle_misc.c')
-rw-r--r--Src/Zle/zle_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c
index 898b552de..612ac2138 100644
--- a/Src/Zle/zle_misc.c
+++ b/Src/Zle/zle_misc.c
@@ -756,7 +756,7 @@ bracketedstring(void)
while (endesc[endpos]) {
if (current + 1 >= psize)
pbuf = zrealloc(pbuf, psize *= 2);
- if ((next = getbyte(1L, &timeout)) == EOF)
+ if ((next = getbyte(1L, &timeout, 1)) == EOF)
break;
if (!endpos || next != endesc[endpos++])
endpos = (next == *endesc);
@@ -970,7 +970,7 @@ universalargument(char **args)
*
* Hence for now this remains byte-by-byte.
*/
- while ((gotk = getbyte(0L, NULL)) != EOF) {
+ while ((gotk = getbyte(0L, NULL, 1)) != EOF) {
if (gotk == '-' && !digcnt) {
minus = -1;
digcnt++;