From: <api...@us...> - 2006-03-28 18:26:04
|
Update of /cvsroot/aolserver/aolserver/nsd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13800 Modified Files: Tag: aolserver_v40_bp tclobj.c Log Message: Fix for x86-64: Comment out bogus sizeof(int) < sizeof(long) check. Index: tclobj.c =================================================================== RCS file: /cvsroot/aolserver/aolserver/nsd/tclobj.c,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -C2 -d -r1.6 -r1.6.2.1 *** tclobj.c 21 Oct 2003 18:24:59 -0000 1.6 --- tclobj.c 28 Mar 2006 18:25:53 -0000 1.6.2.1 *************** *** 86,92 **** --- 86,95 ---- Tcl_Panic("NsTclInitObjs: sizeof(obj.internalRep) < sizeof(Ns_Time)"); } + /* As Dossy pointed out c. 2005-08-01, this check is bogus on + x86-64, comment it out: if (sizeof(int) < sizeof(long)) { Tcl_Panic("NsTclInitObjs: sizeof(int) < sizeof(long)"); } + */ intTypePtr = Tcl_GetObjType("int"); if (intTypePtr == NULL) { |