version of glibc.
Fixed incorrect autoconf detection of isnan() support when using glibc and more
recent versions of gcc.
#define STDC_HEADERS 1
/* Most recent revision number in the version control system */
-#define VCS_REVISION "208"
+#define VCS_REVISION "209"
/* Version number of package */
#define VERSION "2.10"
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-VCS_REVISION=208
+VCS_REVISION=209
cat >>confdefs.h <<_ACEOF
int
main ()
{
-isnan(0.0);
+if (isnan(0.0)) return 1;
;
return 0;
}
dnl This is the one location where the authoritative version number is stored
AC_INIT(shellinabox, 2.10, markus@shellinabox.com)
-VCS_REVISION=208
+VCS_REVISION=209
AC_SUBST(VCS_REVISION)
AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
[Most recent revision number in the version control system])
dnl Not every system has support for isnan()
AC_TRY_LINK([#include <math.h>],
- [isnan(0.0);],
+ [if (isnan(0.0)) return 1;],
[AC_DEFINE(HAVE_ISNAN, 1,
Define to 1 if you have support for isnan)])
};
VT100.prototype.about = function() {
- alert("VT100 Terminal Emulator " + "2.10 (revision 208)" +
+ alert("VT100 Terminal Emulator " + "2.10 (revision 209)" +
"\nCopyright 2008-2010 by Markus Gutschke\n" +
"For more information check http://shellinabox.com");
};
};
ShellInABox.prototype.about = function() {
- alert("Shell In A Box version " + "2.10 (revision 208)" +
+ alert("Shell In A Box version " + "2.10 (revision 209)" +
"\nCopyright 2008-2010 by Markus Gutschke\n" +
"For more information check http://shellinabox.com" +
(typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ?
FILE *fp;
check(fp = fdopen(fd, "r"));
check(*style = malloc(st.st_size + 1));
- check(fread(*style, st.st_size, 1, fp) == 1);
+ if (st.st_size > 0) {
+ check(fread(*style, st.st_size, 1, fp) == 1);
+ }
(*style)[st.st_size] = '\000';
*len = st.st_size;
fclose(fp);
};
VT100.prototype.about = function() {
- alert("VT100 Terminal Emulator " + "2.10 (revision 208)" +
+ alert("VT100 Terminal Emulator " + "2.10 (revision 209)" +
"\nCopyright 2008-2010 by Markus Gutschke\n" +
"For more information check http://shellinabox.com");
};