Received: from eggs.gnu.org ([140.186.70.92]:46682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFQic-0006dW-PL for qemu-devel@nongnu.org; Thu, 28 Apr 2011 08:53:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFQia-0001fD-Ts for qemu-devel@nongnu.org; Thu, 28 Apr 2011 08:53:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFQia-0001ez-Hr for qemu-devel@nongnu.org; Thu, 28 Apr 2011 08:53:16 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3SCrFHf023452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 28 Apr 2011 08:53:15 -0400 From: Markus Armbruster References: <1303991910-28052-1-git-send-email-Jes.Sorensen@redhat.com> Date: Thu, 28 Apr 2011 14:53:13 +0200 In-Reply-To: <1303991910-28052-1-git-send-email-Jes.Sorensen@redhat.com> (Jes Sorensen's message of "Thu, 28 Apr 2011 13:58:30 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH v2] qemu-progress.c: printf isn't signal safe List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jes.Sorensen@redhat.com Cc: kwolf@redhat.com, qemu-devel@nongnu.org Jes.Sorensen@redhat.com writes: > From: Jes Sorensen > > Change the signal handling to indicate a signal is pending, rather > then printing directly from the signal handler. > > In addition make the signal prints go to stderr, rather than stdout. Looks good now.