Revert back to N_TTY_BUF_SIZE + 1 for Linux
authorJeff Quast <contact@jeffquast.com>
Tue, 25 Nov 2014 04:29:51 +0000 (20:29 -0800)
committerJeff Quast <contact@jeffquast.com>
Tue, 25 Nov 2014 04:29:51 +0000 (20:29 -0800)
tests/test_maxcanon.py

index a833164f966e3a3f4e9560ca3dee85b83272ed71..5f28c535ef6982c09bdf6751a0a2421952e37e02 100644 (file)
@@ -38,7 +38,7 @@ XXX interpreters without any deterministic results.
         self.echo = False
         if sys.platform.lower().startswith('linux'):
             # linux is 4096, N_TTY_BUF_SIZE.
-            self.max_input = 4096
+            self.max_input = 4096 + 1
             self.echo = True
         elif sys.platform.lower().startswith('sunos'):
             # SunOS allows PC_MAX_CANON + 1; see