Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 1995 14:39:38 -0700
From:      Jeffrey Hsu <hsu>
To:        nate@rocky.sri.MT.net, terry@lambert.org
Cc:        current@freebsd.org, roberto@keltia.freenix.fr
Subject:   Re: Find *still* broken...
Message-ID:  <199509122139.OAA01860@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The applied patch flushes stdout on every print, even if the output is to a
pipe.  I believe the correct patch is

*** /usr/src/usr.bin/find/function.c.0	Sat Oct 23 14:34:03 1993
--- /usr/src/usr.bin/find/function.c	Mon Jan 24 20:13:25 1994
***************
*** 240,245 ****
--- 240,248 ----
  	if (plan->flags == F_NEEDOK && !queryuser(plan->e_argv))
  		return (0);
  
+ 	/* make sure find output is interspersed correctly with subprocesses */
+ 	fflush(stdout);
+ 
  	switch (pid = vfork()) {
  	case -1:
  		err(1, "fork");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509122139.OAA01860>