summaryrefslogtreecommitdiffstats
path: root/generic/tclPkg.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-11-15 09:42:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-11-15 09:42:07 (GMT)
commit346cce57455de92d12fcef5ea4115a9657458b84 (patch)
tree62153fbab1b634ba4e9a9b9e0c15c0d394aa4127 /generic/tclPkg.c
parente3439b6af28680828231cfcf081ebb618ac1740f (diff)
downloadtcl-346cce57455de92d12fcef5ea4115a9657458b84.zip
tcl-346cce57455de92d12fcef5ea4115a9657458b84.tar.gz
tcl-346cce57455de92d12fcef5ea4115a9657458b84.tar.bz2
Remove compat/float.h and related machinery. The last system known where this was needed was SunOS-4, which is not supported by Tcl any more for a long ... long time ....
Also, fix a typo in generic/tclInt.h and remove some end-of-line spacing.
Diffstat (limited to 'generic/tclPkg.c')
-rw-r--r--generic/tclPkg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c
index ea95320..fb721a0 100644
--- a/generic/tclPkg.c
+++ b/generic/tclPkg.c
@@ -480,7 +480,7 @@ PkgRequireCore(
continue;
}
-
+
/* Check satisfaction of requirements before considering the current version further. */
if (reqc > 0) {
satisfies = SomeRequirementSatisfied(availVersion, reqc, reqv);
@@ -490,7 +490,7 @@ PkgRequireCore(
continue;
}
}
-
+
if (bestPtr != NULL) {
int res = CompareVersions(availVersion, bestVersion, NULL);
@@ -547,7 +547,7 @@ PkgRequireCore(
/*
* Clean up memorized internal reps, if any.
*/
-
+
if (bestVersion != NULL) {
ckfree(bestVersion);
bestVersion = NULL;