pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/configure remember to close() the "ls -l " exprs, l...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b86353a03f1b
branches: trunk
changeset: 536695:b86353a03f1b
user: abs <abs%pkgsrc.org@localhost>
date: Thu Dec 20 18:51:18 2007 +0000
description:
remember to close() the "ls -l " exprs, lest we run out of file descriptors
diffstat:
mk/configure/cmake-rewrite.awk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 3f87d19cbc03 -r b86353a03f1b mk/configure/cmake-rewrite.awk
--- a/mk/configure/cmake-rewrite.awk Thu Dec 20 18:04:04 2007 +0000
+++ b/mk/configure/cmake-rewrite.awk Thu Dec 20 18:51:18 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cmake-rewrite.awk,v 1.1 2007/12/12 01:00:38 markd Exp $
+# $NetBSD: cmake-rewrite.awk,v 1.2 2007/12/20 18:51:18 abs Exp $
#
# cleanup references to libraries in the buildlink tree in files
# written by cmake's export_library_dependencies() function
@@ -17,6 +17,7 @@
d=substr(d,RLENGTH+2,length(d))
if (dep ~ "^" buildlink_dir) {
"ls -l " dep | getline ls_out
+ close ("ls -l " dep)
match(ls_out,"-> ")
if (RSTART > 0) {
dep=substr(ls_out,RSTART+RLENGTH,length(ls_out))
Home |
Main Index |
Thread Index |
Old Index