<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/talloc/talloc.h, branch talloc-2.0.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION</title>
<updated>2009-08-24T06:29:58+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-08-20T11:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6c9ace27c591e48fdffdf5add6b4e11b2f669922'/>
<id>6c9ace27c591e48fdffdf5add6b4e11b2f669922</id>
<content type='text'>
We also use the major and minor versions in the TALLOC_MAGIC,
so that we can detect if two conflicting versions of talloc
are loaded in one process. In this case we use talloc_log() to
output a very useful debug message before we call
talloc_abort().

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We also use the major and minor versions in the TALLOC_MAGIC,
so that we can detect if two conflicting versions of talloc
are loaded in one process. In this case we use talloc_log() to
output a very useful debug message before we call
talloc_abort().

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: remove ABI compat functions</title>
<updated>2009-08-24T06:29:58+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-08-20T11:36:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=5760edeeb6b6d5a8aaebae2422ba3e7c3df700cc'/>
<id>5760edeeb6b6d5a8aaebae2422ba3e7c3df700cc</id>
<content type='text'>
metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: add talloc_set_log_fn() and talloc_set_log_stderr()</title>
<updated>2009-08-24T06:29:58+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-07-29T19:54:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=e40f3144f2a3f8e7aebf009a4cddb9f463292c1c'/>
<id>e40f3144f2a3f8e7aebf009a4cddb9f463292c1c</id>
<content type='text'>
So that the application can setup a log function to get ERROR
and WARNING messages.

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So that the application can setup a log function to get ERROR
and WARNING messages.

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore ABI compatibility for talloc.</title>
<updated>2009-07-03T12:45:29+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>idra@samba.org</email>
</author>
<published>2009-07-02T13:29:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=2738178d1301f9c1c4144c7472c9419911cd816e'/>
<id>2738178d1301f9c1c4144c7472c9419911cd816e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>changes to remove the ambiguity in talloc_free() and talloc_steal() </title>
<updated>2009-07-01T05:15:37+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-07-01T04:53:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=5fe1d8dc1275e43d96da1297f5fb0d0088a1c3ab'/>
<id>5fe1d8dc1275e43d96da1297f5fb0d0088a1c3ab</id>
<content type='text'>
These changes follow from the discussions on samba-technical. The
changes are in several parts, and stem from the inherent ambiguity
that was in talloc_free() and talloc_steal() when the pointer that is
being changes has more than one parent, via references.

The changes are:

 1) when you call talloc_free() on a pointer with more than one parent
 the free will fail, and talloc will log an error to stderr like this:

    ERROR: talloc_free with references at some/foo.c:123
	   reference at other/bar.c:201
	   reference at other/foobar.c:641
 
 2) Similarly, when you call talloc_steal() on a pointer with more
 than one parent, the steal will fail and talloc will log an error to
 stderr like this:

    ERROR: talloc_steal with references at some/foo.c:123
	   reference at other/bar.c:201

 3) A new function talloc_reparent() has been added to change a parent
 in a controlled fashion. You need to supply both the old parent and
 the new parent. It handles the case whether either the old parent was
 a normal parent or a reference

The use of stderr in the logging is ugly (and potentially dangerous),
and will be removed in a future patch. We'll need to add a debug
registration function to talloc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These changes follow from the discussions on samba-technical. The
changes are in several parts, and stem from the inherent ambiguity
that was in talloc_free() and talloc_steal() when the pointer that is
being changes has more than one parent, via references.

The changes are:

 1) when you call talloc_free() on a pointer with more than one parent
 the free will fail, and talloc will log an error to stderr like this:

    ERROR: talloc_free with references at some/foo.c:123
	   reference at other/bar.c:201
	   reference at other/foobar.c:641
 
 2) Similarly, when you call talloc_steal() on a pointer with more
 than one parent, the steal will fail and talloc will log an error to
 stderr like this:

    ERROR: talloc_steal with references at some/foo.c:123
	   reference at other/bar.c:201

 3) A new function talloc_reparent() has been added to change a parent
 in a controlled fashion. You need to supply both the old parent and
 the new parent. It handles the case whether either the old parent was
 a normal parent or a reference

The use of stderr in the logging is ugly (and potentially dangerous),
and will be removed in a future patch. We'll need to add a debug
registration function to talloc.
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: try to fix the source4 build on AIX</title>
<updated>2009-06-08T07:40:11+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-06-08T06:20:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=eff9bcc9c74089d5f1e944449aa4ebb8a0c49d81'/>
<id>eff9bcc9c74089d5f1e944449aa4ebb8a0c49d81</id>
<content type='text'>
metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc_array_length: talloc_get_size deals fine with NULL</title>
<updated>2009-03-22T21:10:09+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-03-22T21:07:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=979a1b06d01817a01967d9137e4f70f222fa8eab'/>
<id>979a1b06d01817a01967d9137e4f70f222fa8eab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Convert the contents of talloc_guide.txt to doxygen-style talloc.h comments"</title>
<updated>2009-03-22T08:48:48+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-03-22T08:48:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a83c18062ae04942ceff757534ba251b045ad04c'/>
<id>a83c18062ae04942ceff757534ba251b045ad04c</id>
<content type='text'>
This reverts commit d21212c9192b41a3fdc7e96cb9bf0125a1dc6c2d.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit d21212c9192b41a3fdc7e96cb9bf0125a1dc6c2d.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Add a default "undocumented" module"</title>
<updated>2009-03-22T08:48:34+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-03-22T08:48:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b7fb083dd775c625882163f140e7e5ca550ebec7'/>
<id>b7fb083dd775c625882163f140e7e5ca550ebec7</id>
<content type='text'>
This reverts commit ba42320c7e9f5ccbd32eccbfb1f2d77e13b3a318.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ba42320c7e9f5ccbd32eccbfb1f2d77e13b3a318.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Add some initial hook to the front page"</title>
<updated>2009-03-22T08:48:27+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-03-22T08:48:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=790326cc38a9453aea3ad7e5a3f7384bfdd58e84'/>
<id>790326cc38a9453aea3ad7e5a3f7384bfdd58e84</id>
<content type='text'>
This reverts commit cfce2d3611f225244fadf3d27d76371827fd6422.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit cfce2d3611f225244fadf3d27d76371827fd6422.
</pre>
</div>
</content>
</entry>
</feed>
