summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-12-29 21:08:02 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-12-29 21:08:02 +0000
commit9d9b7e309b3909893c0eac63b30334e84f7debdd (patch)
tree56c165634e0da8fa5e0368ae16a1032e52b368e7
parentAdd patch to allow reiserfsprogs to compile on 2.6 kernel headers and also fi... (diff)
downloadgentoo-2-9d9b7e309b3909893c0eac63b30334e84f7debdd.tar.gz
gentoo-2-9d9b7e309b3909893c0eac63b30334e84f7debdd.tar.bz2
gentoo-2-9d9b7e309b3909893c0eac63b30334e84f7debdd.zip
If match for @GCC is found, close all pipes _before_ exit(1)
-rw-r--r--sys-devel/gcc/files/awk/scanforssp.awk4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/gcc/files/awk/scanforssp.awk b/sys-devel/gcc/files/awk/scanforssp.awk
index b6be00059aae..141762b77321 100644
--- a/sys-devel/gcc/files/awk/scanforssp.awk
+++ b/sys-devel/gcc/files/awk/scanforssp.awk
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# Author: Martin Schlemmer <azarah@gentoo.org>
# Contributor: Ned Ludd <solar@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/scanforssp.awk,v 1.3 2003/12/29 18:51:16 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/scanforssp.awk,v 1.4 2003/12/29 21:08:02 azarah Exp $
# Does not seem to be used in this script.
@@ -193,6 +193,8 @@ BEGIN {
print
+ close(scan_file_pipe)
+ close(pipe)
exit(1)
}
}