From owner-freebsd-current Tue Sep 12 13:48:24 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA27368 for current-outgoing; Tue, 12 Sep 1995 13:48:24 -0700 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA27355 for ; Tue, 12 Sep 1995 13:48:20 -0700 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id WAA20442 ; Tue, 12 Sep 1995 22:48:09 +0200 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id WAA10375 ; Tue, 12 Sep 1995 22:48:08 +0200 Received: (from roberto@localhost) by keltia.Freenix.FR (8.7.Beta.14/keltia-uucp-2.4) id WAA17935; Tue, 12 Sep 1995 22:14:53 +0200 (MET DST) From: Ollivier Robert Message-Id: <199509122014.WAA17935@keltia.Freenix.FR> Subject: Re: Find *still* broken... To: terry@lambert.org (Terry Lambert) Date: Tue, 12 Sep 1995 22:14:52 +0200 (MET DST) Cc: current@freebsd.org In-Reply-To: <199509112047.NAA26687@phaeton.artisoft.com> from "Terry Lambert" at Sep 11, 95 01:47:00 pm X-Operating-System: FreeBSD 2.2-CURRENT ctm#1085 X-Mailer: ELM [version 2.4 PL24 ME7a+] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: current-owner@freebsd.org Precedence: bulk It seems that Terry Lambert said: > Still produce diffrent output because find does not flush stdout > when doing a -print. Here is a fix: Index: function.c =================================================================== RCS file: /spare/FreeBSD-current/src/usr.bin/find/function.c,v retrieving revision 1.4 diff -u -2 -r1.4 function.c --- 1.4 1995/08/07 19:17:28 +++ function.c 1995/09/12 20:12:06 @@ -782,4 +782,5 @@ { (void)printf("%s\n", entry->fts_path); + (void)fflush(stdout); return (1); } -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia.Freenix.FR 2.2-CURRENT #1: Sun Sep 10 18:50:19 MET DST 1995