From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21189 invoked by alias); 2 Oct 2006 02:04:31 -0000 Received: (qmail 21178 invoked by uid 22791); 2 Oct 2006 02:04:30 -0000 X-Spam-Check-By: sourceware.org Received: from mailguard-send.adelaide.edu.au (HELO tosh.services.adelaide.edu.au) (192.43.227.21) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 02 Oct 2006 02:04:27 +0000 Received: from stimpy.services.adelaide.edu.au ([10.0.10.10]) by tosh.services.adelaide.edu.au with ESMTP; 02 Oct 2006 11:34:22 +0930 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AQAAAGsQIEUN X-IronPort-AV: i="4.09,242,1157293800"; d="scan'208"; a="18898905:sNHT16292983" Received: from stimpy.services.adelaide.edu.au (localhost.localdomain [127.0.0.1]) by stimpy.services.adelaide.edu.au (8.13.1/8.13.1) with ESMTP id k9224Mb6031391 for ; Mon, 2 Oct 2006 11:34:22 +0930 Received: (from apache@localhost) by stimpy.services.adelaide.edu.au (8.13.1/8.13.1/Submit) id k9224MMm031385 for gcc-help@gcc.gnu.org; Mon, 2 Oct 2006 11:34:22 +0930 Received: from 203-173-35-182.dyn.iinet.net.au (203-173-35-182.dyn.iinet.net.au [203.173.35.182]) by webmail.adelaide.edu.au (IMP) with HTTP for ; Mon, 2 Oct 2006 11:34:22 +0930 Message-ID: <1159754662.452073a60479f@webmail.adelaide.edu.au> Date: Mon, 02 Oct 2006 02:04:00 -0000 From: Owen Lucas To: gcc-help@gcc.gnu.org Subject: Re: problem piping stdout References: <1159709654.451fc3d67797a@webmail.adelaide.edu.au> <200610011628.31370.vda.linux@googlemail.com> In-Reply-To: <200610011628.31370.vda.linux@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg00011.txt.bz2 > Use strace to find out what is going on. shows what I would expect > Does it work if you do write(1, "foo bar\n", 8) instead of printf? YES it does! So why does that work and not printf? owen Quoting Denis Vlasenko : > > Use strace to find out what is going on. > > Does it work if you do write(1, "foo bar\n", 8) instead of printf? > -- > vda >