]> andersk Git - test.git/commitdiff
Second try :-)
authorMarkus Gutschke <markus@shellinabox.com>
Sat, 2 Oct 2010 23:54:49 +0000 (23:54 +0000)
committerMarkus Gutschke <markus@shellinabox.com>
Sat, 2 Oct 2010 23:54:49 +0000 (23:54 +0000)
config.h
configure
configure.ac
demo/vt100.js
libhttp/server.c
shellinabox/shell_in_a_box.js
shellinabox/vt100.js

index cbea12a10234e61dbc765ed020a62b529b4c0ce6..5ca99653d67b0e6f2cd39ea564456bfe1aabc664 100644 (file)
--- a/config.h
+++ b/config.h
 #define STDC_HEADERS 1
 
 /* Most recent revision number in the version control system */
-#define VCS_REVISION "238"
+#define VCS_REVISION "239"
 
 /* Version number of package */
 #define VERSION "2.10"
index b449c85525ec3c8fefb75ccd658308221031bece..03771da74cd2aecb569e68c8a9a07ded9ef746da 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=238
+VCS_REVISION=239
 
 
 cat >>confdefs.h <<_ACEOF
index b8d05bb8d51f00601ce66adbc60699d3127fbee2..c4a4d557927496ee64553b304474e84400a8fe86 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=238
+VCS_REVISION=239
 AC_SUBST(VCS_REVISION)
 AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
                    [Most recent revision number in the version control system])
index f76687c731b65ea6d39c3e1c9207c6170894a32f..ddbdd7e84e3ba1ee88aaa9bc3ef8c420db7ea46f 100644 (file)
@@ -2402,7 +2402,7 @@ VT100.prototype.toggleCursorBlinking = function() {
 };
 
 VT100.prototype.about = function() {
-  alert("VT100 Terminal Emulator " + "2.10 (revision 238)" +
+  alert("VT100 Terminal Emulator " + "2.10 (revision 239)" +
         "\nCopyright 2008-2010 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com");
 };
index 58ef9493c476a2881777a383c64fa144f3b56d33..51c0e60d94c4f96a691ef0c849631a999b95dcd2 100644 (file)
@@ -583,12 +583,15 @@ void serverLoop(struct Server *server) {
         if (server->pollFds[i].revents) {
           eventCount--;
         }
+        short events                      = server->pollFds[i].events;
+        short oldEvents                   = events;
         if (!connection->handleConnection(connection, connection->arg,
-                                          &server->pollFds[i].events,
-                                          server->pollFds[i].revents)) {
+                                         &events, server->pollFds[i].revents)){
           connection                      = server->connections + i - 1;
           connection->destroyConnection(connection->arg);
           connection->deleted             = 1;
+        } else if (events != oldEvents) {
+          server->pollFds[i].events       = events;
         }
       }
     }
index 244384e43fa8771c2231c590c23b0ada5f8ae334..294a91471b6df631ff079ecc24c7205859413c75 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 238)" +
+  alert("Shell In A Box version " + "2.10 (revision 239)" +
         "\nCopyright 2008-2010 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com" +
         (typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ?
index f76687c731b65ea6d39c3e1c9207c6170894a32f..ddbdd7e84e3ba1ee88aaa9bc3ef8c420db7ea46f 100644 (file)
@@ -2402,7 +2402,7 @@ VT100.prototype.toggleCursorBlinking = function() {
 };
 
 VT100.prototype.about = function() {
-  alert("VT100 Terminal Emulator " + "2.10 (revision 238)" +
+  alert("VT100 Terminal Emulator " + "2.10 (revision 239)" +
         "\nCopyright 2008-2010 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com");
 };
This page took 0.077826 seconds and 5 git commands to generate.