Tcl Source Code

Artifact [6c863b968e]
Login

Artifact 6c863b968ebbe9d4a4d1dddd644c2f930f5f1b60:

Attachment "tcl74p3.patch" to ticket [418869ffff] added by dgp 2001-04-25 23:22:12.
Index: Makefile.in
===================================================================
RCS file: /home/cvs/cvsroot/sun/tcl/Attic/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.in
--- Makefile.in	1997/08/14 16:43:25	1.1.1.1
+++ Makefile.in	2001/04/25 16:19:01
@@ -73,6 +73,8 @@
 # To change the compiler switches, for example to change from -O
 # to -g, change the following line:
 CFLAGS = -O
+# For compiling on Alpha, -mieee will prevent crashes on FPEs.
+#CFLAGS = -O -mieee
 
 # To disable ANSI-C procedure prototypes reverse the comment characters
 # on the following lines:
Index: tclUnixStr.c
===================================================================
RCS file: /home/cvs/cvsroot/sun/tcl/Attic/tclUnixStr.c,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -u -r1.1.1.1 -r1.1.1.1.2.1
--- tclUnixStr.c	1997/08/14 16:43:26	1.1.1.1
+++ tclUnixStr.c	2000/09/28 14:49:10	1.1.1.1.2.1
@@ -119,7 +119,7 @@
 #if defined(EDEADLK) && (!defined(EWOULDBLOCK) || (EDEADLK != EWOULDBLOCK))
 	case EDEADLK: return "EDEADLK";
 #endif
-#ifdef EDEADLOCK
+#if defined(EDEADLOCK) && (!defined(EDEADLK) || (EDEADLOCK != EDEADLK))
 	case EDEADLOCK: return "EDEADLOCK";
 #endif
 #ifdef EDESTADDRREQ