From owner-freebsd-current Tue Sep 12 14:39:40 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA01871 for current-outgoing; Tue, 12 Sep 1995 14:39:40 -0700 Received: (from hsu@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA01860 ; Tue, 12 Sep 1995 14:39:38 -0700 Date: Tue, 12 Sep 1995 14:39:38 -0700 From: Jeffrey Hsu Message-Id: <199509122139.OAA01860@freefall.freebsd.org> To: nate@rocky.sri.MT.net, terry@lambert.org Subject: Re: Find *still* broken... Cc: current@freebsd.org, roberto@keltia.freenix.fr Sender: current-owner@freebsd.org Precedence: bulk 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");