Menu

#2 "too many open files" (building tclpro)

open
nobody
None
5
2001-06-07
2001-06-07
Anonymous
No

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]

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.