diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-01-09 21:13:59 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-01-09 21:13:59 +0000 |
commit | 27264dc4e514bb33d2afaad26540cc7a2c38a31a (patch) | |
tree | 90eafa9b8ff87d2906587d66ca522b285a031cd9 /eclass | |
parent | bump to 2.20.3 (diff) | |
download | historical-27264dc4e514bb33d2afaad26540cc7a2c38a31a.tar.gz historical-27264dc4e514bb33d2afaad26540cc7a2c38a31a.tar.bz2 historical-27264dc4e514bb33d2afaad26540cc7a2c38a31a.zip |
Close file handles in gawk code to avoid leakage, bug 205037
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vim.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass index b8a87fcb86ce..1291d7a8bb55 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.168 2007/11/07 15:01:18 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.169 2008/01/09 21:13:59 hawking Exp $ # Authors: # Ryan Phillips <rphillips@gentoo.org> @@ -188,6 +188,8 @@ apply_vim_patches() { next } } + # Close the file to avoid leakage, bug 205037 + close(thisfile) # Print the previous lines and start printing print firstlines printing = 1 |