Date: Tue, 12 Sep 1995 22:14:52 +0200 (MET DST) From: Ollivier Robert <roberto@keltia.Freenix.FR> To: terry@lambert.org (Terry Lambert) Cc: current@freebsd.org Subject: Re: Find *still* broken... Message-ID: <199509122014.WAA17935@keltia.Freenix.FR> In-Reply-To: <199509112047.NAA26687@phaeton.artisoft.com> from "Terry Lambert" at Sep 11, 95 01:47:00 pm
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509122014.WAA17935>
