      }
  
      for (idx = 0; idx < optArgc; idx += 2) {
-diff --git a/vendor/tclx8.4/generic/tclXfcntl.c b/vendor/tclx8.4/generic/tclXfcntl.c
-index 43a26117b..a83e8af15 100644
---- a/vendor/tclx8.4/generic/tclXfcntl.c
-+++ b/vendor/tclx8.4/generic/tclXfcntl.c
-@@ -211,7 +211,7 @@ GetFcntlAttr (interp, channel, mode, attrib)
+diff --git a/vendor/tclx-8.4.4/generic/tclXfcntl.c b/vendor/tclx-8.4.4/generic/tclXfcntl.c
+index 070caa313..0da14307c 100644
+--- a/vendor/tclx-8.4.4/generic/tclXfcntl.c
++++ b/vendor/tclx-8.4.4/generic/tclXfcntl.c
+@@ -204,7 +204,7 @@ GetFcntlAttr (Tcl_Interp *interp, Tcl_Channel channel, int mode, int attrib)
              return TCL_ERROR;
          break;
        default:
 -        panic ("bug in fcntl get attrib");
 +        Tcl_Panic ("bug in fcntl get attrib");
-     }
- 
-     Tcl_SetIntObj (Tcl_GetObjResult (interp), value != 0);
-@@ -267,7 +267,7 @@ SetFcntlAttrObj (interp, channel, attrib, valueObj)
+         value = 0; /* suppress compiler warning for initialized value */
+     }
+ 
+@@ -260,7 +260,7 @@ SetFcntlAttrObj (Tcl_Interp *interp,
        case ATTR_KEEPALIVE:
          return TclXOSsetsockopt (interp, channel, SO_KEEPALIVE, value);
        default:

                                     __FILE__, __LINE__, "expr"))
 #else
 #   define TclX_Assert(expr)
diff --git a/vendor/tclx8.4/generic/tclXdup.c b/vendor/tclx8.4/generic/tclXdup.c
index 41f3eec39..263e5d483 100644
--- a/vendor/tclx8.4/generic/tclXdup.c
+++ b/vendor/tclx8.4/generic/tclXdup.c
@@ -76,7 +76,7 @@ DupChannelOptions (interp, srcChannel, targetChannel)
         goto errorExit;
     }
     if ((optArgc % 2) != 0) {

     }
     entryPtr->prevScopePtr = scanPtr;
     infoPtr->scopeChainPtr = entryPtr;
@@ -434,7 +434,7 @@ ProfCommandEvalSetup (profInfo_t *infoPtr, int *isProcPtr)
         UpdateTOSTimes (infoPtr);
         do {
             if (infoPtr->stackPtr->evalLevel != UNKNOWN_LEVEL) 
-                panic (PROF_PANIC, 2);  /* Not an initial entry */
+                Tcl_Panic (PROF_PANIC, 2);  /* Not an initial entry */
             PopEntry (infoPtr);
         } while (infoPtr->stackPtr->procLevel > procLevel);
     }
@@ -569,7 +569,7 @@ ProfTraceRoutine (ClientData  clientData,
     Tcl_CmdInfo cmdInfo;
 
     if (cmd == NULL)
-        panic (PROF_PANIC, 4);
+        Tcl_Panic (PROF_PANIC, 4);
 
     //TIP #571: We don' want to profile the tailcall itself. As it can only be called in a procedure/lambda context
     if ( ! strcmp((*objv)->bytes, "tailcall") ) {
@@ -701,7 +701,7 @@ TurnOnProfiling (profInfo_t *infoPtr, int commandMode, int evalMode)
          * Only global level can be NULL.
          */
         if (scanPtr == NULL)
