From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) by hurricane.the-brannons.com (Postfix) with ESMTPS id A5F4277D0D for ; Wed, 13 Jan 2016 11:04:35 -0800 (PST) Received: by mail-wm0-x22a.google.com with SMTP id f206so308707645wmf.0 for ; Wed, 13 Jan 2016 11:05:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=geoffair-info.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=5zu6fny8oYCfps4crcRS9JvI0rC6QT77ZXlfCAWfoII=; b=MnQz6BngwJVIO7xRjyD6/CBuQ4vUMWrC0HZ3MV9seePlygWXYZFksJBZIgSjfoKheF Y7bcG6jW+RW9ZYF+2q0VDuWqMIhCgjvIqnIerGwsZCyaNDON3q+Dwhi6F56jVFy6N7Wc kA4og5eP8GrtV8YJJ+zIMsaeewpUxu9dcTeRrBWaG+VxxCrWQU9QUa5gL1jZoFvUUCfo /I/GWaEQO0y2YhkDrSJ31/XsW3dzLEHsHMk4DzGeE7NPcqm9KeTlksrUOi/d141u+cGV vje0Qm9RytKR47TaHjG95hT95QtsM6UnoJEOHXmoZmtvk7VfVotgWnCflqz+kRcgncJf kg8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=5zu6fny8oYCfps4crcRS9JvI0rC6QT77ZXlfCAWfoII=; b=d5aILY0jCIN7AOKOa1Ie6R3jAVQWkJ+cNHd1kfVhpwIYuJr1joXV8/JEkAXn5DEuC9 gedJBWP065/9raKTI9lSZSYR9yCtCW6Yb6YBXAiTQKFJaueGk7ikrIifPMQp5sBgBQo8 GcsJaviG+QSakxFdxgTSWg2KWbFDu0Kk/qU7b5lDpC1YDjo6KECFikGEOYIgxNhB7r84 kSuPG7CH7E+qga17KP+t0IhO7zPeP91GJgdNSNIw1+dIi2DWDF0nH8qbzNstHZsEyyx0 NGEgWBOto8DmgMkAtlQaiFrfJujq3psMhmeeaXNfVYS3zYQ7TEOlDp4YoulBZXFT1w2x rU3Q== X-Gm-Message-State: ALoCoQnaoT+uJNWy9ri5eSgRFMeSgVYyIoJw96bvFfV2CRfHB/X2uLKt/p3NQnUdTAYiLttE3wGPGtpIB0bgR6fBVhmsumeDgg== X-Received: by 10.194.22.132 with SMTP id d4mr22103335wjf.174.1452711932019; Wed, 13 Jan 2016 11:05:32 -0800 (PST) Received: from [192.168.1.34] (AMontsouris-655-1-171-20.w90-2.abo.wanadoo.fr. [90.2.142.20]) by smtp.googlemail.com with ESMTPSA id q4sm2733235wja.6.2016.01.13.11.05.30 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jan 2016 11:05:30 -0800 (PST) To: edbrowse-dev@lists.the-brannons.com References: <20160013035742.eklhad@comcast.net> From: Geoff McLane Message-ID: <56969FF9.30402@geoffair.info> Date: Wed, 13 Jan 2016 20:05:29 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20160013035742.eklhad@comcast.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 13 Jan 2016 19:04:36 -0000 Hi Karl, As you predicted can not compile in windows... missing 'setlinebuf(FILE *file)' ;=(( What exactly does it do? Since you mention "to make sure the log is up to date", so is it like a flush? In a segfault like crash quite often the last lines do not get to the log... and of course they are usually the lines we need to see most... but a fflush after a write fix this... mostly... Regards, Geoff.