summaryrefslogtreecommitdiffstats
path: root/unix/aclocal.m4
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-01-12 11:46:05 (GMT)
committerhobbs <hobbs>2000-01-12 11:46:05 (GMT)
commit47d1a4abebc84796b349dd4fbc51a2c009fcb9d2 (patch)
tree014cf7f15bc627395b5ca2f4de2bbadb6dbac8e2 /unix/aclocal.m4
parent78fd58a9d168a501537ed45e4e29229b430a8846 (diff)
downloadtk-47d1a4abebc84796b349dd4fbc51a2c009fcb9d2.zip
tk-47d1a4abebc84796b349dd4fbc51a2c009fcb9d2.tar.gz
tk-47d1a4abebc84796b349dd4fbc51a2c009fcb9d2.tar.bz2
* unix/aclocal.m4: strtod bug on Tru64 [Bug: 3378]
* unix/Makefile.in: added tests to prevent unnecessary chmod +x in source dirs while installing [Bug: 3367] * unix/configure.in: properly sub'ed in TK_SHARED_BUILD [Bug: 3385] * tests/winWm.test: * tests/unixWm.test: * mac/tkMacWm.c: * unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377] * win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077], fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338] and fixed mapping of transient window [Bug: 572] Also, for all wm's, extended 'wm state' command to allow setting of the state, and added official support of 'zoomed' state on Win.
Diffstat (limited to 'unix/aclocal.m4')
-rw-r--r--unix/aclocal.m411
1 files changed, 9 insertions, 2 deletions
diff --git a/unix/aclocal.m4 b/unix/aclocal.m4
index 1575806..9e7243d 100644
--- a/unix/aclocal.m4
+++ b/unix/aclocal.m4
@@ -1563,6 +1563,8 @@ AC_DEFUN(SC_TIME_HANDLER, [
# terminating character under some conditions. Check for this
# and if the problem exists use a substitute procedure
# "fixstrtod" (provided by Tcl) that corrects the error.
+# Also, on Compaq's Tru64 Unix 5.0,
+# strtod(" ") returns 0.0 instead of a failure to convert.
#
# Arguments:
# none
@@ -1582,12 +1584,17 @@ AC_DEFUN(SC_BUGGY_STRTOD, [
extern double strtod();
int main()
{
- char *string = "NaN";
+ char *string = "NaN", *spaceString = " ";
char *term;
- strtod(string, &term);
+ double value;
+ value = strtod(string, &term);
if ((term != string) && (term[-1] == 0)) {
exit(1);
}
+ value = strtod(string, &term);
+ if (term == (string+1)) {
+ exit(1);
+ }
exit(0);
}], tk_ok=1, tk_ok=0, tk_ok=0)
if test "$tk_ok" = 1; then