The following patch to buildenv/module_hints.tcl
remedies a
problem which occurs right after the start of the
tclpro build
(at least on Solaris 2.6):
"Too many open files" from buildenv/module_hints.tcl.
This script file
apparently opens many dependency files (possibly
recursively?)
without ever closing one, which leads to this error.
Adding the
missing close-statement solves this:
-----------------------------------------------------------------------------
*** module_hints.tcl.old Thu May 31 14:39:50 2001
--- module_hints.tcl Thu May 31 14:40:43 2001
***************
*** 196,201 ****
--- 196,202 ----
lappend depList $line
}
}
+ close $fileId
} else {
set depList [getBestIndex ModuleData::moduleDep \
$moduleName $moduleName,$ModuleData::platform]