summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-01 21:05:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-01 21:05:25 (GMT)
commit921a0bbbfb177411e3fe27f4c4654909fd599859 (patch)
treef10affcc12787513eab5ade51bdaf65c4e4c2f32 /macosx
parent5a0260cbcca3fe75e95b352ccd9df4d82cc6a1ae (diff)
downloadtcl-921a0bbbfb177411e3fe27f4c4654909fd599859.zip
tcl-921a0bbbfb177411e3fe27f4c4654909fd599859.tar.gz
tcl-921a0bbbfb177411e3fe27f4c4654909fd599859.tar.bz2
More use of TclHasIntRep() macro. Add vfs build director to fossil ignore-glob
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tclMacOSXFCmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c
index ab9b74f..1f7dcd8 100644
--- a/macosx/tclMacOSXFCmd.c
+++ b/macosx/tclMacOSXFCmd.c
@@ -577,7 +577,7 @@ GetOSTypeFromObj(
{
int result = TCL_OK;
- if (objPtr->typePtr != &tclOSTypeType) {
+ if (!TclHasIntRep(objPtr, &tclOSTypeType)) {
result = SetOSTypeFromAny(interp, objPtr);
}
*osTypePtr = (OSType) objPtr->internalRep.longValue;