[PATCH 2/3] util: add xtalloc.[ch]

2012-12-20 Thread Austin Clements
Quoth david at tethera.net on Dec 16 at 11:24 pm: > From: David Bremner > > These are intended to be simple wrappers to provide slightly better > debugging information than what talloc currently provides natively. > --- > notmuch-client.h|2 +- > util/Makefile.local |2 +- >

[PATCH 1/3] CLI: add talloc leak report, controlled by an environment variable.

2012-12-20 Thread Austin Clements
Quoth david at tethera.net on Dec 16 at 11:24 pm: > From: David Bremner > > The argument handling in notmuch.c seems due for an overhaul, but > until then use an environment variable to specify a location to write > the talloc leak report to. This is only enabled for the (interesting) > case

[PATCH 2/3] util: add xtalloc.[ch]

2012-12-20 Thread Tomi Ollila
On Mon, Dec 17 2012, david at tethera.net wrote: > From: David Bremner > > These are intended to be simple wrappers to provide slightly better > debugging information than what talloc currently provides natively. > --- AFAIC it's been customary to have memory allocation functions starting with

[PATCH 1/3] CLI: add talloc leak report, controlled by an environment variable.

2012-12-20 Thread Tomi Ollila
On Mon, Dec 17 2012, david at tethera.net wrote: > From: David Bremner > > The argument handling in notmuch.c seems due for an overhaul, but > until then use an environment variable to specify a location to write > the talloc leak report to. This is only enabled for the (interesting) > case

[PATCH 1/3] CLI: add talloc leak report, controlled by an environment variable.

2012-12-20 Thread David Bremner
Tomi Ollila writes: > On Mon, Dec 17 2012, david at tethera.net wrote: > >> From: David Bremner >> >> The argument handling in notmuch.c seems due for an overhaul, but >> until then use an environment variable to specify a location to write >> the talloc leak report to. This is only enabled

Re: [PATCH 1/3] CLI: add talloc leak report, controlled by an environment variable.

2012-12-20 Thread Tomi Ollila
On Mon, Dec 17 2012, da...@tethera.net wrote: From: David Bremner brem...@debian.org The argument handling in notmuch.c seems due for an overhaul, but until then use an environment variable to specify a location to write the talloc leak report to. This is only enabled for the (interesting)

Re: [PATCH 2/3] util: add xtalloc.[ch]

2012-12-20 Thread Tomi Ollila
On Mon, Dec 17 2012, da...@tethera.net wrote: From: David Bremner brem...@debian.org These are intended to be simple wrappers to provide slightly better debugging information than what talloc currently provides natively. --- AFAIC it's been customary to have memory allocation functions

Re: [PATCH 1/3] CLI: add talloc leak report, controlled by an environment variable.

2012-12-20 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: On Mon, Dec 17 2012, da...@tethera.net wrote: From: David Bremner brem...@debian.org The argument handling in notmuch.c seems due for an overhaul, but until then use an environment variable to specify a location to write the talloc leak report to.

Re: [PATCH 1/3] CLI: add talloc leak report, controlled by an environment variable.

2012-12-20 Thread Austin Clements
Quoth da...@tethera.net on Dec 16 at 11:24 pm: From: David Bremner brem...@debian.org The argument handling in notmuch.c seems due for an overhaul, but until then use an environment variable to specify a location to write the talloc leak report to. This is only enabled for the (interesting)

Re: [PATCH 2/3] util: add xtalloc.[ch]

2012-12-20 Thread Austin Clements
Quoth da...@tethera.net on Dec 16 at 11:24 pm: From: David Bremner brem...@debian.org These are intended to be simple wrappers to provide slightly better debugging information than what talloc currently provides natively. --- notmuch-client.h|2 +- util/Makefile.local |2 +-