[packages/adapter: 19/631] - fixed bug in is_there_line() ( close(ARGV[1]) -> close(command) )
glen
glen at pld-linux.org
Mon Sep 12 19:36:03 CEST 2016
commit 983d7d8910ec5042c4f441ed8503741a9a76fb58
Author: Sebastian Zagrodzki <sebek at zagrodzki.net>
Date: Tue Feb 15 15:09:29 2000 +0000
- fixed bug in is_there_line() ( close(ARGV[1]) -> close(command) )
Changed files:
adapter.awk -> 1.19
adapter.awk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 2417480..7760a7d 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -274,7 +274,7 @@ function is_there_line(line, l)
{
command = "grep \"" line "\" " ARGV[1];
command | getline l;
- close(ARGV[1]);
+ close(command);
if (l != "")
return 1;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list