]> andersk Git - test.git/commitdiff
Removed a VLA that can trip up some compilers.
authorMarkus Gutschke <markus@shellinabox.com>
Mon, 27 Sep 2010 16:56:43 +0000 (16:56 +0000)
committerMarkus Gutschke <markus@shellinabox.com>
Mon, 27 Sep 2010 16:56:43 +0000 (16:56 +0000)
config.h
configure
configure.ac
demo/vt100.js
shellinabox/shell_in_a_box.js
shellinabox/shellinaboxd.c
shellinabox/vt100.js

index 347a300e2f675f0d972bb07519f3a73cf00f0c8b..c2361668c21a60515b2b1e8cd5f7d37217980b8c 100644 (file)
--- a/config.h
+++ b/config.h
 #define STDC_HEADERS 1
 
 /* Most recent revision number in the version control system */
-#define VCS_REVISION "225"
+#define VCS_REVISION "228"
 
 /* Version number of package */
 #define VERSION "2.10"
index ca1d7a891290f995d010a8fdc469f4ee0f613915..1c9896e6b6c9480ddf611582d90b5f02eb7bf85a 100755 (executable)
--- a/configure
+++ b/configure
@@ -2328,7 +2328,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-VCS_REVISION=225
+VCS_REVISION=228
 
 
 cat >>confdefs.h <<_ACEOF
index 65d2ff8cec617f25ec2eb186e20812776e8c3dbf..24a2e8a649115298dea11b3e5ef92cece5cf4c4c 100644 (file)
@@ -2,7 +2,7 @@ AC_PREREQ(2.57)
 
 dnl This is the one location where the authoritative version number is stored
 AC_INIT(shellinabox, 2.10, markus@shellinabox.com)
-VCS_REVISION=225
+VCS_REVISION=228
 AC_SUBST(VCS_REVISION)
 AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
                    [Most recent revision number in the version control system])
index 6b25ce5babecd186f9ba34c60411f50085a29788..0cab41f084ff6ad822b8de5e280f99f2f979e892 100644 (file)
@@ -2402,7 +2402,7 @@ VT100.prototype.toggleCursorBlinking = function() {
 };
 
 VT100.prototype.about = function() {
-  alert("VT100 Terminal Emulator " + "2.10 (revision 225)" +
+  alert("VT100 Terminal Emulator " + "2.10 (revision 228)" +
         "\nCopyright 2008-2010 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com");
 };
index 571d945b61247f13730fb5070b6d48f84f82d94f..c9b288db76351364e5ad6269117ffd253b886c63 100644 (file)
@@ -358,7 +358,7 @@ ShellInABox.prototype.extendContextMenu = function(entries, actions) {
 };
 
 ShellInABox.prototype.about = function() {
-  alert("Shell In A Box version " + "2.10 (revision 225)" +
+  alert("Shell In A Box version " + "2.10 (revision 228)" +
         "\nCopyright 2008-2010 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com" +
         (typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ?
index e5268182b6bc82c20a6a93a90c093026ff8ed965..43c685e6f988123588e537eb05af56a9c76f2bf3 100644 (file)
@@ -269,7 +269,7 @@ static int handleSession(struct ServerConnection *connection, void *arg,
   if (len <= 0) {
     len                         = 1;
   }
-  char buf[len];
+  char buf[MAX_RESPONSE];
   int bytes                     = 0;
   if (revents & POLLIN) {
     bytes                       = NOINTR(read(session->pty, buf, len));
index 6b25ce5babecd186f9ba34c60411f50085a29788..0cab41f084ff6ad822b8de5e280f99f2f979e892 100644 (file)
@@ -2402,7 +2402,7 @@ VT100.prototype.toggleCursorBlinking = function() {
 };
 
 VT100.prototype.about = function() {
-  alert("VT100 Terminal Emulator " + "2.10 (revision 225)" +
+  alert("VT100 Terminal Emulator " + "2.10 (revision 228)" +
         "\nCopyright 2008-2010 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com");
 };
This page took 0.054965 seconds and 5 git commands to generate.