This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  ca404fb90885aa8d36f689936513295add317e16 (commit)
      from  b189c9e69b5727a8325651b1a40dd3c849093a27 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=ca404fb90885aa8d36f689936513295add317e16


commit ca404fb90885aa8d36f689936513295add317e16
Author: Simon Josefsson <[email protected]>
Date:   Fri Aug 24 09:09:44 2012 +0200

    Use 2kb buffer, as suggested by GNU termcap manual.
    
    Tiny patch from Petr Malát  <[email protected]>.

diff --git a/ChangeLog b/ChangeLog
index dec4809..fd41f82 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2012-08-24  Petr Malát  <[email protected]>  (tiny change)
 
+       * telnetd/utility.c (terminaltypeok): Use 2kb buffer, as suggested
+       by GNU termcap manual.
+
+2012-08-24  Petr Malát  <[email protected]>  (tiny change)
+
        * telnetd/utility.c (io_drain): New variable rfds.
        (io_drain): Use select to wait for data to be available.
 
diff --git a/telnetd/utility.c b/telnetd/utility.c
index 1128cea..b02601a 100644
--- a/telnetd/utility.c
+++ b/telnetd/utility.c
@@ -845,7 +845,7 @@ getterminaltype (char *user_name)
 int
 terminaltypeok (char *s)
 {
-  char buf[1024];
+  char buf[2048];
 
   if (terminaltype == NULL)
     return 1;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    5 +++++
 telnetd/utility.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 

_______________________________________________
Commit-inetutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/commit-inetutils

Reply via email to