Diff
Not logged in

Differences From Artifact [25675dd2b5]:

To Artifact [5a8870e5fb]:


464
465
466
467
468
469
470





471
472
473
474
475
476
477
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482







+
+
+
+
+







    tsdPtr->initialized = 0;
}

int
TclFSCwdIsNative(void)
{
    ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&fsDataKey);

    /* if not yet initialized - ensure we'll once obtain cwd */
    if (!tsdPtr->cwdPathEpoch) {
	Tcl_FSGetCwd(NULL);
    }

    if (tsdPtr->cwdClientData != NULL) {
	return 1;
    } else {
	return 0;
    }
}