summaryrefslogtreecommitdiffstats
path: root/generic/tclLoad.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-03-08 08:59:32 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-03-08 08:59:32 (GMT)
commita00c70241d676e238f275f3cd0265f2c5470ee7d (patch)
treeff66eb52b929bb532fe52f8cac03ce16ce0a8781 /generic/tclLoad.c
parent9c3e75d3d4c2a5b80155880c80b8f204cf88c896 (diff)
parent4b85ca90cba7edb9a10caead17ffa8d407e1e2b3 (diff)
downloadtcl-a00c70241d676e238f275f3cd0265f2c5470ee7d.zip
tcl-a00c70241d676e238f275f3cd0265f2c5470ee7d.tar.gz
tcl-a00c70241d676e238f275f3cd0265f2c5470ee7d.tar.bz2
merge from trunk
Diffstat (limited to 'generic/tclLoad.c')
-rw-r--r--generic/tclLoad.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c
index 820707e..202e66a 100644
--- a/generic/tclLoad.c
+++ b/generic/tclLoad.c
@@ -305,6 +305,12 @@ Tcl_LoadObjCmd(
&& (pkgGuess[2] == 'b')) {
pkgGuess += 3;
}
+#ifdef __CYGWIN__
+ if ((pkgGuess[0] == 'c') && (pkgGuess[1] == 'y')
+ && (pkgGuess[2] == 'g')) {
+ pkgGuess += 3;
+ }
+#endif /* __CYGWIN__ */
for (p = pkgGuess; *p != 0; p += offset) {
offset = Tcl_UtfToUniChar(p, &ch);
if ((ch > 0x100)