edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Adam Thompson <arthompson1990@gmail.com>
To: Geoff McLane <ubuntu@geoffair.info>
Cc: edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] debugging output to a file
Date: Sat, 16 Jan 2016 14:46:43 +0000	[thread overview]
Message-ID: <20160116144643.GC29400@122oven.adamthompson.me.uk> (raw)
In-Reply-To: <CA+PgotKpV0g5AALeosUtSwg=pacyPszzpzAO2OzWaT89+fCb5A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

      reply	other threads:[~2016-01-16 14:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-13  8:57 Karl Dahlke
2016-01-13 19:05 ` Geoff McLane
2016-01-13 19:23   ` Geoff McLane
2016-01-16 14:46     ` Adam Thompson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160116144643.GC29400@122oven.adamthompson.me.uk \
    --to=arthompson1990@gmail.com \
    --cc=edbrowse-dev@lists.the-brannons.com \
    --cc=ubuntu@geoffair.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).