[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-93-g09ac816

Stefan (metze) Metzmacher metze at samba.org
Tue Mar 3 13:46:08 GMT 2009


Jelmer Vernooij schrieb:
> On Mon, 2009-03-02 at 08:44 +0100, Stefan (metze) Metzmacher wrote:
>> Jelmer Vernooij schrieb:
>>> The branch, master has been updated
>>>        via  09ac816b36e45fd537af2f7fe7c57a11f5c744f5 (commit)
>>>        via  235244f4cc707130dd130afce88bde49606bd501 (commit)
>>>       from  54bc27e9374742d37b1ed9012d1cfe8f5ace6d40 (commit)
>>>
>>> http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
>>>
>>>
>>> - Log -----------------------------------------------------------------
>>> commit 09ac816b36e45fd537af2f7fe7c57a11f5c744f5
>>> Merge: 235244f4cc707130dd130afce88bde49606bd501 54bc27e9374742d37b1ed9012d1cfe8f5ace6d40
>>> Author: Jelmer Vernooij <jelmer at samba.org>
>>> Date:   Sun Mar 1 16:39:35 2009 +0100
>>>
>>>     Merge branch 'master' of git://git.samba.org/samba into teventfix
>>>     
>>>     Conflicts:
>>>     	lib/tevent/pytevent.c
>>>
>>> commit 235244f4cc707130dd130afce88bde49606bd501
>>> Author: Jelmer Vernooij <jelmer at samba.org>
>>> Date:   Sun Mar 1 16:38:07 2009 +0100
>>>
>>>     Avoid using tevent_util.h, which won't be available if we use the system
>>>     tevent.
>>>
>>> -----------------------------------------------------------------------
>>>
>>> Summary of changes:
>>>  lib/tevent/pytevent.c |    4 ++--
>>>  1 files changed, 2 insertions(+), 2 deletions(-)
>>>
>>>
>>> Changeset truncated at 500 lines:
>>>
>>> diff --git a/lib/tevent/pytevent.c b/lib/tevent/pytevent.c
>>> index 3b45ba1..fe7e7e3 100644
>>> --- a/lib/tevent/pytevent.c
>>> +++ b/lib/tevent/pytevent.c
>>> @@ -29,7 +29,6 @@
>>>  
>>>  #include <tevent.h>
>>>  #include <stdbool.h>
>>> -#include "tevent_util.h"
>>>  
>>>  typedef struct {
>>>  	PyObject_HEAD
>>> @@ -54,7 +53,8 @@ static PyObject *py_backend_list(PyObject *self)
>>>      PyObject *ret;
>>>      int i, len;
>>>  
>>> -    len = ev_str_list_length(backends);
>>> +    for (len = 0; backends[len]; len++);
>>> +
>>>      ret = PyList_New(len);
>>>      for (i = 0; i < len; i++)
>>>          PyList_SetItem(ret, i, PyString_FromString(backends[i]));
>>>
>> I think we should include pytevent in the standalone build and don't
>> build it when we use the system tevent library. (We should do that for
>> all statndalone libraries)
> We already build pytevent in the standalone build, but only in case that
> Python is available. Should we make Python mandatory for building
> standalone TDB and tevent?

No, but we should require it when building samba with a system tevent
library.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20090303/5bb0f2de/signature.bin


More information about the samba-technical mailing list