Import of pkgsrc-2015Q3

This commit is contained in:
2015-10-03 03:37:01 -07:00
committed by Lionel Sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228314 additions and 80018 deletions

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_grep__proc.cc,v 1.1 2015/09/05 22:12:04 wiz Exp $
stdout is not an lvalue, and if it was, this looks idempotent.
--- src/grep_proc.cc.orig 2015-04-09 03:40:09.000000000 +0000
+++ src/grep_proc.cc
@@ -159,7 +159,6 @@ void grep_proc::child_loop(void)
char outbuf[BUFSIZ * 2];
string line_value;
- stdout = fdopen(STDOUT_FILENO, "w");
/* Make sure buffering is on, not sure of the state in the parent. */
if (setvbuf(stdout, outbuf, _IOFBF, BUFSIZ * 2) < 0) {
perror("setvbuf");