From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 20D3977DF0 for ; Sat, 16 Jan 2016 06:45:43 -0800 (PST) Received: by mail-wm0-x22b.google.com with SMTP id n5so4675827wmn.0 for ; Sat, 16 Jan 2016 06:46:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=mXeMzmU4eH5fn4PnKvBzCCs2r8ruC5lgpgXOxWBPGUU=; b=aP7S7mpC36q1redO0qVZfcgAL3eRPkYbXqKcSi7L+dJ058L1ilxupDx5A1N+KVF5oY 0RG5bCgs4k/gnzLzKV59iBp3wfmTvV+PdH3/QAyCG0O1iMPkbBpqG5RPeKX2mSH+IQlk Cql1QkvbZ2cSrUKEumw0AMqXCPzx+3+SRRaaAMbrMLpOtHm9zUedbMxn66UpBqqgwSSY mOvyOwEI4edMbH1A+zCdMZdyAAHZ6f0KSj6qM5GNcgzwAvKPXNqtFJ9+Yz/D0xIiQoNe Cw6FeoYERa2D0OT8QyMa9r/T4CFirBXDkyxQaXHaciuIvk5xXFfhOkfSXiFL4aFBIS6E 4vZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=mXeMzmU4eH5fn4PnKvBzCCs2r8ruC5lgpgXOxWBPGUU=; b=a/qC+BixR0JQvCMaWJMvuG5hYYix1QAhBcOoZBFeLeW3SvyJpdfgswp3+gMdJruREC 8Tx1tGhhaTgrxiy8RbQDHbQxF4uyYVnke43nWFOBNtgSRfwF6AvOGKUnqbu66jbwfEGz HvCUsgAVl7W4dmmwTpJ4PrcUe6sz2Q6Mq/eKtKUbyaQ9tb9I5/cVQnKIsax7iBv9mdGd +ECouzDTAn1qisjKd1OVpjiscqj9oDTiqaBQP775gj6isk/gNv6oHTZIjniYyYb94iyH KdgrtE5zOoE/Zhp1dwyGmatqV6qxWSUt/PATxdP1+XlNyIAz8HorgYHGqIDLxjmfENUj A/Nw== X-Gm-Message-State: ALoCoQlDfb5fwD/PYHm6BrmicN6gFt2uDDFnLyhLP7A3zs7IsPmxkJ1lKpvNUlAAvaBtcW6Ixs+CSlC+ny9rUDMzx+4iRH2T8w== X-Received: by 10.194.9.169 with SMTP id a9mr15130954wjb.60.1452955606010; Sat, 16 Jan 2016 06:46:46 -0800 (PST) Received: from 122oven.adamthompson.me.uk (c.2.2.f.4.7.e.f.f.f.d.1.4.2.2.0.2.4.0.9.2.4.1.1.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1142:9042:224:1dff:fe74:f22c]) by smtp.gmail.com with ESMTPSA id b127sm7182323wmh.9.2016.01.16.06.46.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jan 2016 06:46:45 -0800 (PST) Date: Sat, 16 Jan 2016 14:46:43 +0000 From: Adam Thompson To: Geoff McLane Cc: edbrowse-dev@lists.the-brannons.com Message-ID: <20160116144643.GC29400@122oven.adamthompson.me.uk> References: <20160013035742.eklhad@comcast.net> <56969FF9.30402@geoffair.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NU0Ex4SbNnrxsi6C" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [Edbrowse-dev] debugging output to a file X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2016 14:45:43 -0000 --NU0Ex4SbNnrxsi6C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jan 13, 2016 at 08:23:54PM +0100, Geoff McLane wrote: > I do not know if specifically setting the debugFile to 0 is required, > but otherwise there is no guarantee that it starts as a zero... and I > see it tested in a lots of places, maybe before it is otherwise > initialized... I think I'd set it to NULL, but yeah it needs to be set. Can we use another ifdef to do fflush in the relevant functions, or just use fflush rather than line buffering? Cheers, Adam. --NU0Ex4SbNnrxsi6C Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWmlfTAAoJELZ22lNQBzHODpsH/R4IYXUYsmG79fYoQqibZvCI KuqbQgr0OSqMHxhryX/TTNYxXDflSXSvI2FUwDOxpiq29TWooXoMqJnmw1vOJVOb epE6zEOQCSZTZn5pWyJsHgnz6gOBYC6nOtgEFHblM8+09gOprfRA9bRUktZ9ffA1 c9ziG65BnSc9RzAFalkJW6zW/j4kdeEFsqG1ji4btLQ60nTpHZnNrk8RSu1/eGNE nXecSjSuRorezC6ZRY1Yx+KBnsS98bt80YSfe3fJIhWJRPjqJ6RCKGze4Wh8sdCg 8gvu7WTu+Z3yVsu19EeqEShBFxU1h3YiTUHqrr1BFMAFDsbb8Gwj6dFzS0Tz9mY= =MKO7 -----END PGP SIGNATURE----- --NU0Ex4SbNnrxsi6C--