[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inconstancy with RS = "(\r?\n){2}"
From: |
arnold |
Subject: |
Re: inconstancy with RS = "(\r?\n){2}" |
Date: |
Sun, 25 Jul 2021 06:27:10 -0600 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> wrote:
> i noticed on the terminal variant it processes after couple of \ns more
> but thats still not good enuff for tcp httpd connections
I think this fixes the issue for terminals.
Arnold
----------------------------------------
diff --git a/io.c b/io.c
index 91c94d9b..4b38f092 100644
--- a/io.c
+++ b/io.c
@@ -3759,7 +3759,7 @@ again:
*/
/* succession of tests is easier to trace in GDB. */
- if (RSre->maybe_long) {
+ if (RSre->maybe_long && (iop->flag & IOP_IS_TTY) == 0) {
char *matchend = iop->off + reend;
if (iop->dataend - matchend < RS->stlen)
- Re: inconstancy with RS = "(\r?\n){2}", (continued)
- Re: inconstancy with RS = "(\r?\n){2}", Wolfgang Laun, 2021/07/24
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/24
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/24
- Re: inconstancy with RS = "(\r?\n){2}", arnold, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", Ed Morton, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}",
arnold <=
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", arnold, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", arnold, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", Alex fxmbsw7 Ratchev, 2021/07/25
- Re: inconstancy with RS = "(\r?\n){2}", arnold, 2021/07/25