Skip to content
Tcl Source Code Artifact [35e7ab673f]
Login

Artifact [35e7ab673f]

Artifact 35e7ab673f92d20cb42de86142a748be4229ed62:

Ticket change [35e7ab673f] - New ticket [219036ffffffffff|219036ffff] <i>Configuration script modification for Digital Unix &amp; Ultrix</i>. by nobody on 2000-10-26 01:09:43.
D 2000-10-26T01:09:43
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s4063\sBug\nVersion:\s8.3b2\nSubmitDate:\s'2000-01-24'\nLastModified:\s'2000-01-25'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sDigital\sUnix\nOSVersion:\sDigitalUnix-4.0F\sand\sUltrix-4.4\nMachine:\sAlphaServer\sand\sDecStation\nFixedDate:\s'2000-01-25'\nFixedInVersion:\s8.3\nClosedDate:\s'2000-10-25'\n\n\nName:\skazuro\sfurukawa\n\nComments:\nAbove\smodifications\sare\snecessary\sfor\sDigitalUnix\sand\sUltrix.\nBoth\sof\sthem\shave\stzset-localtime\sbugs,\swhich\scould\snot\sbe\scured\seven\swith\s-DTZSET.\nAlthough\sgenerated\sMakefile\sis\scorrect,\ssomething\sis\snot\scorrect\sinternally\swith\sthread\sin\stcl.m4.\n\nReproducibleScript:\n./configure\n\nObservedBehavior:\nConfiguration\sand\scompilation\sfails\sif\sthe\sthread\ssupport\sis\senabled.\n\nDesiredBehavior:\nSuccessful\stest\sresults.\n\nPatch:\n***\sunix/configure.in.org\s\s\s\s\s\s\sFri\sJan\s14\s12:53:51\s2000\n---\sunix/configure.in\s\s\sTue\sJan\s18\s20:52:45\s2000\n***************\n***\s408,417\s****\n\n\s\sSC_TCL_LINK_LIBS\n\n-\s#\sAdd\sthe\sthreads\ssupport\slibraries\n-\s\n-\sLIBS="$LIBS$THREADS_LIBS"\n-\s\n\s\s#--------------------------------------------------------------------\n\s\s#\sThe\sstatements\sbelow\sdefine\sa\scollection\sof\scompile\sflags.\s\sThis\n\s\s#\smacro\sdepends\son\sthe\svalue\sof\sSHARED_BUILD,\sand\sshould\sbe\scalled\n---\s408,413\s----\n***************\n***\s419,424\s****\n---\s415,424\s----\n\s\s#--------------------------------------------------------------------\n\n\s\sSC_CONFIG_CFLAGS\n+\s\n+\s#\sAdd\sthe\sthreads\ssupport\slibraries\n+\s\n+\sLIBS="$LIBS$THREADS_LIBS"\n\n\s\sSC_ENABLE_SYMBOLS\n\n***\sunix/tcl.m4.org\s\s\s\s\sFri\sJan\s14\s12:53:51\s2000\n---\sunix/tcl.m4\sThu\sJan\s20\s01:15:26\s2000\n***************\n***\s857,869\s****\n\s\s\s\s\s\s\s\s\s\s\s\sDL_LIBS=""\n\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS=""\n\s\s\s\s\s\s\s\s\s\s\s\sLD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'\n\s\s\s\s\s\s\s\s\s\s\s\s#\ssee\spthread_intro(3)\sfor\spthread\ssupport\son\sosf1,\sk.furukawa\n\s\s\s\s\s\s\s\s\s\s\s\sif\stest\s"${TCL_THREADS}"\s=\s"1"\s;\sthen\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sif\stest\s"$using_gcc"\s=\s"no"\s;\sthen\n!\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sEXTRA_CFLAGS="-std1\s-pthread"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS="-pthread"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\selse\n!\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTHREADS_LIBS="\s-lpthread\s-lmach\s-lexc\s-lc"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfi\n\s\s\s\s\s\s\s\s\s\s\s\sfi\n\s\s\s\s\s\s\s\s\s\s\s\s;;\n---\s857,875\s----\n\s\s\s\s\s\s\s\s\s\s\s\sDL_LIBS=""\n\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS=""\n\s\s\s\s\s\s\s\s\s\s\s\sLD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'\n+\s\s\s\s\s\s\s\s\s\s\sEXTRA_CFLAGS="-DHAVE_TZSET"\n+\s\s\s\s\s\s\s\s\s\s\sif\stest\s"$using_gcc"\s=\s"no"\s;\sthen\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sEXTRA_CFLAGS="${EXTRA_CFLAGS}\s-std1"\n+\s\s\s\s\s\s\s\s\s\s\sfi\n\s\s\s\s\s\s\s\s\s\s\s\s#\ssee\spthread_intro(3)\sfor\spthread\ssupport\son\sosf1,\sk.furukawa\n+\s\s\s\s\s\s\s\s\s\s\sTHREADS_LIBS=""\n\s\s\s\s\s\s\s\s\s\s\s\sif\stest\s"${TCL_THREADS}"\s=\s"1"\s;\sthen\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sEXTRA_CFLAGS="${EXTRA_CFLAGS}\s-DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sif\stest\s"$using_gcc"\s=\s"no"\s;\sthen\n!\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sEXTRA_CFLAGS="${EXTRA_CFLAGS}\s-pthread"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS="-pthread"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\selse\n!\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTHREADS_LIBS="\s-lpthread\s-lmach\s-lexc"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfi\n\s\s\s\s\s\s\s\s\s\s\s\sfi\n\s\s\s\s\s\s\s\s\s\s\s\s;;\n***************\n***\s981,986\s****\n---\s987,996\s----\n\s\s\s\s\s\s\s\s\s\s\s\sDL_LIBS=""\n\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS="-Wl,-D,08000000"\n\s\s\s\s\s\s\s\s\s\s\s\sLD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'\n+\s\s\s\s\s\s\s\s\s\s\sEXTRA_CFLAGS="-DHAVE_TZSET"\n+\s\s\s\s\s\s\s\s\s\s\sif\stest\s"$using_gcc"\s=\s"no"\s;\sthen\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sEXTRA_CFLAGS="${EXTRA_CFLAGS}\s-std1"\n+\s\s\s\s\s\s\s\s\s\s\sfi\n\s\s\s\s\s\s\s\s\s\s\s\s;;\n\s\s\s\s\s\s\s\sUNIX_SV*\s|\sUnixWare-5*)\n\s\s\s\s\s\s\s\s\s\s\s\sSHLIB_CFLAGS="-KPIC"\n***\sunix/tclUnixPort.h.org\s\s\s\s\s\sFri\sOct\s29\s12:04:58\s1999\n---\sunix/tclUnixPort.h\s\sThu\sJan\s13\s06:25:25\s2000\n***************\n***\s36,41\s****\n---\s36,42\s----\n\s\s\s*---------------------------------------------------------------------------\n\s\s\s*/\n\n+\s#include\s<sys/types.h>\n\s\s#include\s<utime.h>\n\s\s#include\s<errno.h>\n\s\s#include\s<fcntl.h>\n***************\n***\s47,53\s****\n\s\s#ifdef\sHAVE_SYS_PARAM_H\n\s\s#\s\s\sinclude\s<sys/param.h>\n\s\s#endif\n-\s#include\s<sys/types.h>\n\s\s#ifdef\sUSE_DIRENT2_H\n\s\s#\s\s\sinclude\s"../compat/dirent2.h"\n\s\s#else\n---\s48,53\s----\n***\sgeneric/tclClock.c.org\s\s\s\s\s\sWed\sJan\s12\s20:12:52\s2000\n---\sgeneric/tclClock.c\s\sTue\sJan\s18\s21:03:06\s2000\n***************\n***\s274,287\s****\n\s\s\s\s\s\s/*\n\s\s\s\s\s\s\s*\sSome\ssystems\sforgot\sto\scall\stzset\sin\slocaltime,\smake\ssure\sits\sdone.\n\s\s\s\s\s\s\s*/\n!\s\s\s\s\sstatic\sint\s\scalledTzset\s=\s0;\n\n!\s\s\s\s\sTcl_MutexLock(&clockMutex);\n!\s\s\s\s\sif\s(!calledTzset)\s{\n!\s\s\s\s\s\s\s\s\stzset();\n!\s\s\s\s\s\s\s\s\scalledTzset\s=\s1;\n\s\s\s\s\s\s}\n-\s\s\s\s\sTcl_MutexUnlock(&clockMutex);\n\s\s#endif\n\n\s\s#ifndef\sHAVE_TM_ZONE\n---\s274,289\s----\n\s\s\s\s\s\s/*\n\s\s\s\s\s\s\s*\sSome\ssystems\sforgot\sto\scall\stzset\sin\slocaltime,\smake\ssure\sits\sdone.\n\s\s\s\s\s\s\s*/\n!\s\s\s\s\s{\n!\s\s\s\s\s\s\sstatic\sint\s\scalledTzset\s=\s0;\n\n!\s\s\s\s\s\s\sTcl_MutexLock(&clockMutex);\n!\s\s\s\s\s\s\sif\s(!calledTzset)\s{\n!\s\s\s\s\s\s\s\s\s\s\stzset();\n!\s\s\s\s\s\s\s\s\s\s\scalledTzset\s=\s1;\n!\s\s\s\s\s\s\s}\n!\s\s\s\s\s\s\sTcl_MutexUnlock(&clockMutex);\n\s\s\s\s\s\s}\n\s\s#endif\n\n\s\s#ifndef\sHAVE_TM_ZONE\n\nPatchFiles:\nunix/configure.in\n\s\s\s\sunix/tcl.m4\n\s\s\s\sunix/tclUnixPort.h\n\s\s\s\sgeneric/tclClock.c\n\n\n\nPatch\sone\s(for\sconfigure.in)\sis\snot\sviable\sbecause\sit\sbreaks\sother\nplatforms\sthat\srequire\sit.\s\sSomething\selse\sis\sneed\sto\sreset\sthe\nLIBS\sas\sneeded\son\sOSF1.\s\sA\svariation\sof\sthe\sm4\spatches\swere\smade.\n\n*The\suser\sshould\sverify\sthese\sin\sCVS\sASAP*.\s\sThey\swill\sappear\sin\nthe\sexternal\sCVS\sby\sThursday,\sJan\s27.\n\nFor\stclUnixPort.h,\sthe\sutime\swas\smoved\slower,\sand\sa\sdifferent\ssolution\nwas\sfound\sfor\stclClock.c\s\n--\s01/25/2000\shobbs
J foundin obsolete:\s8.3b2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 75.\sTutorial
J title Configuration\sscript\smodification\sfor\sDigital\sUnix\s&\sUltrix
J type Bug
K 219036ffffffffffffffffffffffffffffffffff
U nobody
Z 8cb340bf862cabdeedc26e9a57a1b7a5