diff options
author | dgp <dgp@users.sourceforge.net> | 2012-12-07 19:26:49 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-12-07 19:26:49 (GMT) |
commit | 64a4cb5635ebcaa6a114e48d9cf23d37fc4e9017 (patch) | |
tree | a26ad2430da36dea249328e02a574fdc36e3a386 /generic/tclPkg.c | |
parent | cd4ea3194fc39818bd06e1ffec598e4230befcf5 (diff) | |
parent | f21757bb59b183ee82e709542e8d741db5648e9a (diff) | |
download | tcl-64a4cb5635ebcaa6a114e48d9cf23d37fc4e9017.zip tcl-64a4cb5635ebcaa6a114e48d9cf23d37fc4e9017.tar.gz tcl-64a4cb5635ebcaa6a114e48d9cf23d37fc4e9017.tar.bz2 |
merge trunk
Diffstat (limited to 'generic/tclPkg.c')
-rw-r--r-- | generic/tclPkg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c index 9b6e942..5b09ddb 100644 --- a/generic/tclPkg.c +++ b/generic/tclPkg.c @@ -356,6 +356,10 @@ PkgRequireCore( char *script, *pkgVersionI; Tcl_DString command; + if (TCL_OK != CheckAllRequirements(interp, reqc, reqv)) { + return NULL; + } + /* * It can take up to three passes to find the package: one pass to run the * "package unknown" script, one to run the "package ifneeded" script for |