diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-04 16:39:48 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-04 16:39:48 (GMT) |
commit | 006cb47ea5bad54b68b64a3d8a8788b71c19dd1b (patch) | |
tree | e40bc3bcd27564c210916245866b4881d50cf89e /generic | |
parent | e7d0f5ecae05758ef91de4a3c1e6422bd82953ed (diff) | |
parent | 47dec8659f9c449f942ca6424373d1d0fe6d80ee (diff) | |
download | tcl-006cb47ea5bad54b68b64a3d8a8788b71c19dd1b.zip tcl-006cb47ea5bad54b68b64a3d8a8788b71c19dd1b.tar.gz tcl-006cb47ea5bad54b68b64a3d8a8788b71c19dd1b.tar.bz2 |
Patch from the cygwin folks
Diffstat (limited to 'generic')
-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 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) |