From owner-freebsd-bugs Fri Feb 14 20:06:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA26862 for bugs-outgoing; Fri, 14 Feb 1997 20:06:11 -0800 (PST) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id UAA26734; Fri, 14 Feb 1997 20:03:40 -0800 (PST) Received: from hydrogen.nike.efn.org by agora.rdrop.com with smtp (Smail3.1.29.1 #17) id m0vvbLX-0009AIC; Fri, 14 Feb 97 20:03 PST Received: from localhost (localhost [127.0.0.1]) by hydrogen.nike.efn.org (8.8.4/8.8.4) with SMTP id TAA03134; Fri, 14 Feb 1997 19:48:02 -0800 (PST) Date: Fri, 14 Feb 1997 19:47:59 -0800 (PST) From: John-Mark Gurney Reply-To: John-Mark Gurney To: graphix@iastate.edu cc: freebsd-gnats-submit@freebsd.org, GNATS Management , freebsd-bugs@freefall.freebsd.org Subject: Re: bin/2739: fetch prints messages to stdout even when receiving file to stdout In-Reply-To: <199702150225.SAA21258@freefall.freebsd.org> Message-ID: X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 14 Feb 1997 graphix@iastate.edu wrote: thanks for the bug report... > >Synopsis: fetch prints messages to stdout even when receiving file to stdout > >Description: > Fetch will print messages to stdout even when receiving a file to stdout. > This causes a problem since the fetch messages becomming intertwined > with the received file. > >How-To-Repeat: > Fetch a file to stdout and redirect to a file. Tail and head the file > and you will see fetch output. > >Fix: > My solution was to patch fetch/main.c to print to stderr instead of > stdout. > > retrieving revision 1.34 > diff -r1.34 main.c [patch deleted] could you send me the patch as a context diff instead? thanks... ttyl... John-Mark gurney_j@efn.org http://resnet.uoregon.edu/~gurney_j/ Modem/FAX: (541) 683-6954 (FreeBSD Box) Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)