From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Patch for x11idle Date: Tue, 24 Jul 2012 17:09:20 +0200 Message-ID: <87eho1fb6n.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Stgj2-0004Wv-AW for emacs-orgmode@gnu.org; Tue, 24 Jul 2012 11:08:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Stgj1-0006E4-84 for emacs-orgmode@gnu.org; Tue, 24 Jul 2012 11:08:40 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:35584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Stgj1-0006Dh-1Q for emacs-orgmode@gnu.org; Tue, 24 Jul 2012 11:08:39 -0400 Received: by wibhm2 with SMTP id hm2so3673114wib.0 for ; Tue, 24 Jul 2012 08:08:38 -0700 (PDT) In-Reply-To: (Nicolas Calderon's message of "Wed, 18 Jul 2012 16:39:55 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Calderon Cc: emacs-orgmode@gnu.org Nicolas Calderon writes: > From c4856a35a2118efb16d6b8eb674ff9e05fc7f65a Mon Sep 17 00:00:00 2001 > From: Nicolas Calderon Asselin > Date: Wed, 18 Jul 2012 14:19:10 -0400 > Subject: [PATCH 1/2] Made x11idle more robust > > * UTILITIES/x11idle.c (org-clock-idle-time): Added multiple checks to > functions return values to prevent segfault. Also "fixed" return codes > to fail unless the value could be printed, in which case the program > succeeds. Applied, thanks! -- Bastien