summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-09-19 15:29:21 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-09-19 15:29:21 (GMT)
commit56bb33ebf356e975834c19be243c0562dd48f7fc (patch)
tree2f4d6bec03d1742059a5ee3225d96f1899050329
parent6fe73a223a72b62d422cf9587c4aff0454e7a7f5 (diff)
downloadtcl-56bb33ebf356e975834c19be243c0562dd48f7fc.zip
tcl-56bb33ebf356e975834c19be243c0562dd48f7fc.tar.gz
tcl-56bb33ebf356e975834c19be243c0562dd48f7fc.tar.bz2
formatting
-rw-r--r--generic/tclPkg.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c
index b9874f5..8d30b08 100644
--- a/generic/tclPkg.c
+++ b/generic/tclPkg.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclPkg.c,v 1.30 2007/09/17 14:50:44 dgp Exp $
+ * RCS: @(#) $Id: tclPkg.c,v 1.31 2007/09/19 15:29:21 dgp Exp $
*
* TIP #268.
* Heavily rewritten to handle the extend version numbers, and extended
@@ -397,7 +397,7 @@ PkgRequireCore(
if (CheckVersionAndConvert(interp, availPtr->version,
&availVersion, &availStable) != TCL_OK) {
/*
- * The provided version number is has invalid syntax. This
+ * The provided version number has invalid syntax. This
* should not happen. This should have been caught by the
* 'package ifneeded' registering the package.
*/
@@ -421,16 +421,12 @@ PkgRequireCore(
}
}
- /*
- * We have found a version which is better than our max.
- */
+ /* We have found a version which is better than our max. */
if (reqc > 0) {
- /*
- * Check satisfaction of requirements.
- */
+ /* Check satisfaction of requirements. */
- satisfies = SomeRequirementSatisfied(availVersion,reqc,reqv);
+ satisfies = SomeRequirementSatisfied(availVersion, reqc, reqv);
if (!satisfies) {
ckfree(availVersion);
availVersion = NULL;