diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-04 16:38:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-04 16:38:22 (GMT) |
commit | 47dec8659f9c449f942ca6424373d1d0fe6d80ee (patch) | |
tree | 9e274cdbd334b76e1188eea62fee37cf6ce2c1e6 /generic/tclLoad.c | |
parent | 4afe209dcaf4aed60329f4f216ffd383d0aa1c61 (diff) | |
parent | b5830ef3aed89fc5af7d49820dcbeca3c5ebc65e (diff) | |
download | tcl-47dec8659f9c449f942ca6424373d1d0fe6d80ee.zip tcl-47dec8659f9c449f942ca6424373d1d0fe6d80ee.tar.gz tcl-47dec8659f9c449f942ca6424373d1d0fe6d80ee.tar.bz2 |
Patch from the cygwin folks
Diffstat (limited to 'generic/tclLoad.c')
-rw-r--r-- | generic/tclLoad.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c index e64d0e0..ac863b9 100644 --- a/generic/tclLoad.c +++ b/generic/tclLoad.c @@ -308,6 +308,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) |