diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-12-19 11:42:46 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-12-19 11:42:46 (GMT) |
commit | d9823d1d2b4d2f7e653dbd27b3ce38b470cf7b42 (patch) | |
tree | 708322eb43a1d2e6430c6e9112ccbb9fc850838c /generic/tclPkg.c | |
parent | 0d9c3c6fea70ee5c02ec0c52388a1914bca1ff4c (diff) | |
parent | ee58f2d325a281f03cf6669e8d7ae2c377a5af2d (diff) | |
download | tcl-d9823d1d2b4d2f7e653dbd27b3ce38b470cf7b42.zip tcl-d9823d1d2b4d2f7e653dbd27b3ce38b470cf7b42.tar.gz tcl-d9823d1d2b4d2f7e653dbd27b3ce38b470cf7b42.tar.bz2 |
merge main dev branch
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 |