summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--unix/tclUnixTest.c7
2 files changed, 9 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 180b267..9bd668d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-12 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * unix/tclUnixTest.c (TestalarmCmd): don't bother checking return
+ value of alarm. [Bug #664755] (english)
+
2003-10-08 Don Porter <dgp@users.sourceforge.net>
* generic/tclBasic.c: Save and restore the iPtr->flag bits that
@@ -77,8 +82,8 @@
* tests/fileName.test:
* tests/winFCmd.test:
- * doc/FileSystem.3: backported various test and documentation
- changes from HEAD. Backport of actual code fixes to follow.
+ * doc/FileSystem.3: backported various test and documentation
+ changes from HEAD. Backport of actual code fixes to follow.
2003-10-02 Don Porter <dgp@users.sourceforge.net>
diff --git a/unix/tclUnixTest.c b/unix/tclUnixTest.c
index 2b636b4..e4c5662 100644
--- a/unix/tclUnixTest.c
+++ b/unix/tclUnixTest.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixTest.c,v 1.14 2003/02/15 22:30:29 kennykb Exp $
+ * RCS: @(#) $Id: tclUnixTest.c,v 1.14.2.1 2003/10/13 01:00:38 hobbs Exp $
*/
#include "tclInt.h"
@@ -647,10 +647,7 @@ TestalarmCmd(clientData, interp, argc, argv)
Tcl_AppendResult(interp, "sigaction: ", Tcl_PosixError(interp), NULL);
return TCL_ERROR;
}
- if (alarm(sec) < 0) {
- Tcl_AppendResult(interp, "alarm: ", Tcl_PosixError(interp), NULL);
- return TCL_ERROR;
- }
+ (void)alarm(sec);
return TCL_OK;
#else
Tcl_AppendResult(interp, "warning: sigaction SA_RESTART not support on this platform", NULL);