aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_lock.rb
AgeCommit message (Collapse)Author
2013-07-27Set close-on-exec on lock file descriptorsJack Nagel
The formula locks used by the installer and commands like link and unlink are backed by open files and flock(). The open file descriptors are thus leaked to any subprocesses. This can result in weird behavior in programs spawned from formula that do not expect to inherit these descriptors. Fix this by setting close-on-exec on the lock file descriptors. Fixes #21486.
2013-04-05FormulaLock: fix uninitialized ivarJack Nagel
2013-02-09Extract formula locks into a classJack Nagel