From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27775 invoked by alias); 9 Oct 2008 18:47:21 -0000 Received: (qmail 27418 invoked by uid 48); 9 Oct 2008 18:46:01 -0000 Date: Thu, 09 Oct 2008 18:47:00 -0000 Message-ID: <20081009184601.27417.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/37785] printf without '\n' + sleep = problems with output buffer In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg00644.txt.bz2 ------- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-09 18:46 ------- FILEs only fushes its internal buffer when it encounters a newline or when done explicitly. Do it explicitly, use fflush (stdout);. Anyways this is not a compiler or a library issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37785