ira/third_party.git
14 years agoAdd exports file and abi checker for tdb
Simo Sorce [Mon, 15 Jun 2009 20:19:19 +0000 (16:19 -0400)]
Add exports file and abi checker for tdb

This is a first attempt at exporting symbols only for public functions
We also provide a rudimentary ABI checker that tries to check that
function signatures are not changed by mistake.
Given our use of macros this is not an API checker.
It's all based on tdb.h contents and the gcc -aux-info option

14 years agoAdd new replace check for --version-script
Simo Sorce [Mon, 15 Jun 2009 20:20:06 +0000 (16:20 -0400)]
Add new replace check for --version-script

Allows us to pass an export files on Linux and Solaris so that we can expose
only symbols that are actually supposed to be global, and keep as local anything
else.

14 years agoAdd option to --disable-python on build
Simo Sorce [Mon, 15 Jun 2009 19:08:25 +0000 (15:08 -0400)]
Add option to --disable-python on build

15 years agoFix a = vs == error in writev_handler
Volker Lendecke [Mon, 15 Jun 2009 05:45:11 +0000 (07:45 +0200)]
Fix a = vs == error in writev_handler

15 years agos4:heimdal: import lorikeet-heimdal-200906080040 (commit 904d0124b46eed7a8ad6e5b73e89...
Andrew Bartlett [Mon, 8 Jun 2009 09:06:16 +0000 (19:06 +1000)]
s4:heimdal: import lorikeet-heimdal-200906080040 (commit 904d0124b46eed7a8ad6e5b73e892ff34b6865ba)

Also including the supporting changes required to pass make test

A number of heimdal functions and constants have changed since we last
imported a tree (for the better, but inconvenient for us).

Andrew Bartlett

15 years agoselftest: Fix handling of testsuite, reintroduce progress indication.
Jelmer Vernooij [Fri, 5 Jun 2009 14:10:12 +0000 (16:10 +0200)]
selftest: Fix handling of testsuite, reintroduce progress indication.

15 years agoFix build of recurusion fix in reopen_logs()
Andrew Bartlett [Thu, 11 Jun 2009 09:08:33 +0000 (19:08 +1000)]
Fix build of recurusion fix in reopen_logs()

15 years agoDon't recurse in reopen_logs().
Andrew Bartlett [Thu, 11 Jun 2009 08:53:14 +0000 (18:53 +1000)]
Don't recurse in reopen_logs().

Use the state to avoid recursion in reopen_logs(), as DEBUG() can call
this function.

Andrew Bartlett

15 years agolib-util: move set_blocking() call into own file.
Günther Deschner [Wed, 10 Jun 2009 19:22:33 +0000 (21:22 +0200)]
lib-util: move set_blocking() call into own file.

Guenther

15 years agoadded asn1 functions for handling booleans in a simple context
Andrew Tridgell [Wed, 10 Jun 2009 01:44:47 +0000 (11:44 +1000)]
added asn1 functions for handling booleans in a simple context

15 years agoIt seems that IRIX doesn't have IOV_MAX
Andrew Tridgell [Tue, 9 Jun 2009 04:54:15 +0000 (14:54 +1000)]
It seems that IRIX doesn't have IOV_MAX

15 years agotry to get PICFLAG right for HP-UX with gcc
Andrew Tridgell [Tue, 9 Jun 2009 04:18:58 +0000 (14:18 +1000)]
try to get PICFLAG right for HP-UX with gcc

15 years agofixed socket wrapper to determine family from the right structure
Andrew Tridgell [Tue, 9 Jun 2009 03:33:09 +0000 (13:33 +1000)]
fixed socket wrapper to determine family from the right structure

In convert_in_un_remote() the socket family can be accessed either as
si->family or inaddr->sa_family. We were using the si->family to
determine how to cast the inaddr structure, but if si->family !=
inaddr->sa_family then we will incorrectly be casting a in6 structure
as in4 or vice-versa.

15 years agonss_wrapper: fix typo in testsuite.
Günther Deschner [Mon, 8 Jun 2009 20:33:51 +0000 (22:33 +0200)]
nss_wrapper: fix typo in testsuite.

Guenther

15 years agolibsamba-util: Fix soversion.
Jelmer Vernooij [Mon, 8 Jun 2009 20:43:36 +0000 (22:43 +0200)]
libsamba-util: Fix soversion.

15 years agoAdd langinfo.h to the system/locale.h
Timur I. Bakeyev [Sun, 7 Jun 2009 12:39:22 +0000 (12:39 +0000)]
Add langinfo.h to the system/locale.h

This patch for Samba4. It's not really inspired by any real need, just
for the consistency. We define replace/system/locale.h as a generic
header, that includes all locale related headers and we are using
nl_langinfo at least in Samba3. So, it would be consistent to add yet
another locale-related header to the set of locale.h headers.

Here is the patch.

With regards,
Timur Bakeyev.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
15 years agonss_wrapper: add my copyright.
Günther Deschner [Sun, 7 Jun 2009 13:59:20 +0000 (15:59 +0200)]
nss_wrapper: add my copyright.

Guenther

15 years agoreplace: add fallback define for IOV_MAX
Stefan Metzmacher [Mon, 8 Jun 2009 07:01:45 +0000 (09:01 +0200)]
replace: add fallback define for IOV_MAX

This hopefully fixes the build on IRIX.

metze

15 years agotalloc: try to fix the source4 build on AIX
Stefan Metzmacher [Mon, 8 Jun 2009 06:20:11 +0000 (08:20 +0200)]
talloc: try to fix the source4 build on AIX

metze

15 years agoasync_sock: try fix the source4 build on FreeBSD, Solaris, SLES8
Stefan Metzmacher [Mon, 8 Jun 2009 06:15:57 +0000 (08:15 +0200)]
async_sock: try fix the source4 build on FreeBSD, Solaris, SLES8

metze

15 years agolib/tdb/tools/tdbtorture.c: fixed memory leak.
Slava Semushin [Sat, 6 Jun 2009 17:06:04 +0000 (00:06 +0700)]
lib/tdb/tools/tdbtorture.c: fixed memory leak.

Found by cppcheck:
[lib/tdb/tools/tdbtorture.c:326]: (error) Memory leak: pids

15 years agoUse data_blob_null instead of data_blob(NULL, 0)
Volker Lendecke [Mon, 1 Jun 2009 22:20:48 +0000 (00:20 +0200)]
Use data_blob_null instead of data_blob(NULL, 0)

15 years agoFix an uninitialized variable read in async_connect_send
Volker Lendecke [Fri, 5 Jun 2009 22:46:38 +0000 (00:46 +0200)]
Fix an uninitialized variable read in async_connect_send

15 years agonss_wrapper: rename nwrap_cache_{re,un}load as per metzes request.
Günther Deschner [Fri, 5 Jun 2009 23:14:04 +0000 (01:14 +0200)]
nss_wrapper: rename nwrap_cache_{re,un}load as per metzes request.

Guenther

15 years agonss_wrapper: add support for loading nss_winbind.so via WINBIND_SO_PATH env.
Günther Deschner [Thu, 4 Jun 2009 10:26:55 +0000 (12:26 +0200)]
nss_wrapper: add support for loading nss_winbind.so via WINBIND_SO_PATH env.

Guenther

15 years agonss_wrapper: fill in module nwrap_backend.
Günther Deschner [Thu, 4 Jun 2009 10:25:14 +0000 (12:25 +0200)]
nss_wrapper: fill in module nwrap_backend.

Guenther

15 years agonss_wrapper: add missing return in nwrap_module_init().
Günther Deschner [Fri, 5 Jun 2009 21:10:58 +0000 (23:10 +0200)]
nss_wrapper: add missing return in nwrap_module_init().

Guenther

15 years agonss_wrapper: add skeleton for module nwrap_backend.
Günther Deschner [Thu, 4 Jun 2009 10:17:39 +0000 (12:17 +0200)]
nss_wrapper: add skeleton for module nwrap_backend.

Guenther

15 years agonss_wrapper: add capability to load nss modules.
Günther Deschner [Thu, 4 Jun 2009 09:59:32 +0000 (11:59 +0200)]
nss_wrapper: add capability to load nss modules.

Guenther

15 years agonss_wrapper: add struct nwrap_backend.
Günther Deschner [Wed, 3 Jun 2009 09:10:13 +0000 (11:10 +0200)]
nss_wrapper: add struct nwrap_backend.

Guenther

15 years agonss_wrapper: add cross checking test to testsuite.
Günther Deschner [Thu, 4 Jun 2009 22:33:14 +0000 (00:33 +0200)]
nss_wrapper: add cross checking test to testsuite.

Guenther

15 years agonss_wrapper: add tests for getgrent_r to testsuite.
Günther Deschner [Thu, 4 Jun 2009 21:57:43 +0000 (23:57 +0200)]
nss_wrapper: add tests for getgrent_r to testsuite.

Guenther

15 years agonss_wrapper: add tests for getpwent_r to testsuite.
Günther Deschner [Thu, 4 Jun 2009 20:52:03 +0000 (22:52 +0200)]
nss_wrapper: add tests for getpwent_r to testsuite.

Guenther

15 years agonss_wrapper: fix segfault in nwrap_gr_copy_r()
Stefan Metzmacher [Fri, 5 Jun 2009 13:41:46 +0000 (15:41 +0200)]
nss_wrapper: fix segfault in nwrap_gr_copy_r()

metze

15 years agonss_wrapper: rename test_nwrap_env to test_nwrap_enumeration in testsuite.
Günther Deschner [Fri, 5 Jun 2009 10:13:25 +0000 (12:13 +0200)]
nss_wrapper: rename test_nwrap_env to test_nwrap_enumeration in testsuite.

Guenther

15 years agonss_wrapper: add more coherency checks for user and group enumeration.
Günther Deschner [Thu, 4 Jun 2009 21:49:02 +0000 (23:49 +0200)]
nss_wrapper: add more coherency checks for user and group enumeration.

Guenther

15 years agonss_wrapper: remove getgrouplist from nwrap_ops table.
Günther Deschner [Thu, 4 Jun 2009 18:12:27 +0000 (20:12 +0200)]
nss_wrapper: remove getgrouplist from nwrap_ops table.

Guenther

15 years agoIncrease tevent version for tevent_req_notify_callback()
Volker Lendecke [Thu, 4 Jun 2009 15:48:17 +0000 (17:48 +0200)]
Increase tevent version for tevent_req_notify_callback()

15 years agoAdd tevent_req_notify_callback
Volker Lendecke [Thu, 4 Jun 2009 15:26:23 +0000 (17:26 +0200)]
Add tevent_req_notify_callback

This is necessary for requests that have multiple results. Examples would be
SMBEcho and ldap_search.

15 years agonss_wrapper: call the nwrap_files_*() from nwrap_files_*_r()
Stefan Metzmacher [Thu, 4 Jun 2009 15:12:40 +0000 (17:12 +0200)]
nss_wrapper: call the nwrap_files_*() from nwrap_files_*_r()

We should not call the public functions, as this could lead
to a recursive loop when we have multiple nwrap backends
in future.

This also fixes the build if --enable-nss-wrapper was not
given to ./configure.

metze

15 years agoOnly err on readability if writev_send was explicitly asked to do so
Volker Lendecke [Thu, 4 Jun 2009 10:02:38 +0000 (12:02 +0200)]
Only err on readability if writev_send was explicitly asked to do so

A socket might be readable for other reasons

15 years agonss_wrapper: more coherence tests for group membership.
Günther Deschner [Wed, 3 Jun 2009 19:09:52 +0000 (21:09 +0200)]
nss_wrapper: more coherence tests for group membership.

Guenther

15 years agonss_wrapper: add coherency tests for get{gr,pw}{nam,id}.
Günther Deschner [Wed, 3 Jun 2009 12:31:20 +0000 (14:31 +0200)]
nss_wrapper: add coherency tests for get{gr,pw}{nam,id}.

Guenther

15 years agonss_wrapper: refactor test_nwrap_membership_user() in testsuite.
Günther Deschner [Tue, 2 Jun 2009 10:24:43 +0000 (12:24 +0200)]
nss_wrapper: refactor test_nwrap_membership_user() in testsuite.

Guenther

15 years agonss_wrapper: make full talloced copies of struct passwd and group in testsuite.
Günther Deschner [Tue, 2 Jun 2009 10:20:54 +0000 (12:20 +0200)]
nss_wrapper: make full talloced copies of struct passwd and group in testsuite.

Guenther

15 years agosocket_wrapper Cope with SOCK_CLOEXEC and SOCK_NONBLOCK flags
Andrew Bartlett [Thu, 4 Jun 2009 04:14:14 +0000 (14:14 +1000)]
socket_wrapper Cope with SOCK_CLOEXEC and SOCK_NONBLOCK flags

Heimdal will, on supporting systems, set these flags in the type
argument of socket(), causing breakage when combined with
socket_wrapper.

For background on these flags, see http://lwn.net/Articles/281965/

Andrew Bartlett

15 years agoadd gendb_search_single_extended_dn()
Andrew Tridgell [Tue, 2 Jun 2009 07:27:37 +0000 (17:27 +1000)]
add gendb_search_single_extended_dn()

This function searches for a single record using a given filter,
adding the extended-dn control so that any returned DNs will have the
GUID and SID fields returned. This will be used in the sam auth code
to prevent us doing a member= search for the groups, which invokes an
unindexed search.

15 years agoRename harness2subunit.pl -> tap2subunit to be consistent with the
Jelmer Vernooij [Wed, 13 May 2009 16:48:44 +0000 (18:48 +0200)]
Rename harness2subunit.pl -> tap2subunit to be consistent with the
subunit tools.

15 years agoBuild libsamba-util as a shared library.
Jelmer Vernooij [Mon, 20 Apr 2009 11:47:31 +0000 (13:47 +0200)]
Build libsamba-util as a shared library.

15 years agonss_wrapper: prefix function pointer names in struct nwrap_ops.
Günther Deschner [Tue, 2 Jun 2009 12:52:53 +0000 (14:52 +0200)]
nss_wrapper: prefix function pointer names in struct nwrap_ops.

Guenther

15 years agotorture: minor fixes to torture macro text output.
Günther Deschner [Tue, 2 Jun 2009 10:18:59 +0000 (12:18 +0200)]
torture: minor fixes to torture macro text output.

Guenther

15 years agonss_wrapper: resort calls to move public calls to the end.
Günther Deschner [Sun, 31 May 2009 00:20:29 +0000 (02:20 +0200)]
nss_wrapper: resort calls to move public calls to the end.

Guenther

15 years agonss_wrapper: add nwrap_ops function pointer table.
Günther Deschner [Sat, 30 May 2009 23:01:13 +0000 (01:01 +0200)]
nss_wrapper: add nwrap_ops function pointer table.

Guenther

15 years agonss_wrapper: make sure to return after calling real_{set,end}{gr,pw}ent.
Günther Deschner [Sat, 30 May 2009 22:54:56 +0000 (00:54 +0200)]
nss_wrapper: make sure to return after calling real_{set,end}{gr,pw}ent.

Guenther

15 years agonss_wrapper: fix typo while checking for getgrid_r support.
Günther Deschner [Sat, 30 May 2009 22:50:42 +0000 (00:50 +0200)]
nss_wrapper: fix typo while checking for getgrid_r support.

Metze, this has been in here for a long time, please check.

Guenther

15 years agooverallocate all records by 25%
Andrew Tridgell [Mon, 1 Jun 2009 03:13:07 +0000 (13:13 +1000)]
overallocate all records by 25%

This greatly reduces the fragmentation of databases where records
tend to grow slowly by a small amount each time. The case where this
is most seen is the ldb index records. Adding this overallocation
reduced the size of the resulting database by more than 20x when
running a test that adds 10k users.

15 years agoauto-repack in transactions that expand the tdb
Andrew Tridgell [Mon, 1 Jun 2009 03:11:39 +0000 (13:11 +1000)]
auto-repack in transactions that expand the tdb

The idea behind this is to recover from badly fragmented free
lists. Choosing the point where the file expands is fairly arbitrary,
but seems to work well.

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Mon, 1 Jun 2009 00:39:30 +0000 (10:39 +1000)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agoFix a C++ warning
Volker Lendecke [Sun, 31 May 2009 09:06:23 +0000 (11:06 +0200)]
Fix a C++ warning

15 years agonss_wrapper: try to fix the build of nss_wrapper on solaris.
Günther Deschner [Sat, 30 May 2009 20:43:17 +0000 (22:43 +0200)]
nss_wrapper: try to fix the build of nss_wrapper on solaris.

Guenther

15 years agoHandle EINTR in async_sock.c
Volker Lendecke [Sat, 30 May 2009 07:49:17 +0000 (09:49 +0200)]
Handle EINTR in async_sock.c

15 years agolibwbclient: Add async call framework.
Kai Blin [Thu, 16 Apr 2009 12:53:36 +0000 (14:53 +0200)]
libwbclient: Add async call framework.

15 years agonss_wrapper: add test_nwrap_membership to testsuite.
Günther Deschner [Fri, 29 May 2009 07:21:11 +0000 (09:21 +0200)]
nss_wrapper: add test_nwrap_membership to testsuite.

Guenther

15 years agonss_wrapper: restructure parts of the testsuite.
Günther Deschner [Fri, 29 May 2009 20:37:07 +0000 (22:37 +0200)]
nss_wrapper: restructure parts of the testsuite.

Guenther

15 years agonss_wrapper: add support for getgrouplist.
Günther Deschner [Fri, 29 May 2009 07:19:16 +0000 (09:19 +0200)]
nss_wrapper: add support for getgrouplist.

Guenther

15 years agoutil: Change license on tevent_unix to LGPLv3+
Volker Lendecke [Fri, 29 May 2009 16:28:36 +0000 (18:28 +0200)]
util: Change license on tevent_unix to LGPLv3+

15 years agoasync_sock: Change license to LGPLv3+
Volker Lendecke [Fri, 29 May 2009 12:14:50 +0000 (14:14 +0200)]
async_sock: Change license to LGPLv3+

15 years agos4-smbtorture: add a very basic NSS-WRAPPER testsuite.
Günther Deschner [Thu, 28 May 2009 14:13:33 +0000 (16:13 +0200)]
s4-smbtorture: add a very basic NSS-WRAPPER testsuite.

Guenther

15 years agoutil: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.
Günther Deschner [Thu, 28 May 2009 14:08:04 +0000 (16:08 +0200)]
util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.

Guenther

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Thu, 28 May 2009 12:12:00 +0000 (22:12 +1000)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agonss_wrapper: fix nss_wrapper build for solaris.
Günther Deschner [Thu, 28 May 2009 09:51:46 +0000 (11:51 +0200)]
nss_wrapper: fix nss_wrapper build for solaris.

Guenther

15 years agonss_wrapper: remove re-structuring leftovers (unused variables).
Günther Deschner [Thu, 28 May 2009 08:53:53 +0000 (10:53 +0200)]
nss_wrapper: remove re-structuring leftovers (unused variables).

Guenther

15 years agonss_wrapper: support member add and delete for groups in nss_wrapper.pl.
Günther Deschner [Thu, 28 May 2009 08:39:37 +0000 (10:39 +0200)]
nss_wrapper: support member add and delete for groups in nss_wrapper.pl.

Guenther

15 years agonss_wrapper: split out passwd and group paths in nss_wrapper.pl.
Günther Deschner [Wed, 27 May 2009 20:35:14 +0000 (22:35 +0200)]
nss_wrapper: split out passwd and group paths in nss_wrapper.pl.

Guenther

15 years agonss_wrapper: restructure nwrap calls.
Günther Deschner [Wed, 27 May 2009 16:38:10 +0000 (18:38 +0200)]
nss_wrapper: restructure nwrap calls.

Guenther

15 years agofixed tdbbackup to give tdb error messages
Andrew Tridgell [Thu, 28 May 2009 07:35:12 +0000 (17:35 +1000)]
fixed tdbbackup to give tdb error messages

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Thu, 28 May 2009 06:12:34 +0000 (16:12 +1000)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agomake TDB_NOSYNC affect all the fsync/msync calls in transactions
Andrew Tridgell [Thu, 28 May 2009 06:08:28 +0000 (16:08 +1000)]
make TDB_NOSYNC affect all the fsync/msync calls in transactions

During a transaction commit tdb normally uses fsync/msync calls to
make it crash safe. This can be disabled using the TDB_NOSYNC flag,
but it wasn't disabling all the code paths that caused a fsync/msync.

15 years agotdb: Fix some recently introduced warnings in tdbtool
Tim Prouty [Wed, 27 May 2009 19:52:37 +0000 (12:52 -0700)]
tdb: Fix some recently introduced warnings in tdbtool

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Tue, 26 May 2009 04:18:16 +0000 (14:18 +1000)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agoAdd support for sendmsg() in socket_wrapper
Andrew Bartlett [Tue, 26 May 2009 01:43:37 +0000 (11:43 +1000)]
Add support for sendmsg() in socket_wrapper

This is required because the deferred connect code skips the connect()
until sending the packet, but unless we catch this call, the connect()
never happens.

Andrew Bartlett

15 years agoadded some more speed tests to tdbtool
Andrew Tridgell [Mon, 25 May 2009 23:24:37 +0000 (09:24 +1000)]
added some more speed tests to tdbtool

This adds 3 simple speed tests to tdbtool, for transaction store,
store and fetch.

On my laptop this shows transactions costing about 10ms

15 years agoChange async_connect to use connect instead of getsockopt to get the error
Volker Lendecke [Sun, 24 May 2009 11:14:12 +0000 (13:14 +0200)]
Change async_connect to use connect instead of getsockopt to get the error

On my Linux box, this is definitely the more reliable strategy with unix domain
sockets, and according to my tests it also works correctly with TCP sockets.

15 years agoAdd "err_on_readability" to writev_send
Volker Lendecke [Sat, 23 May 2009 14:10:54 +0000 (16:10 +0200)]
Add "err_on_readability" to writev_send

A socket where the other side has closed only becomes readable. To catch
errors early when sitting in a pure writev, we need to also test for
readability.

15 years agoAllow NULL queue to writev_send
Volker Lendecke [Sun, 10 May 2009 08:49:18 +0000 (10:49 +0200)]
Allow NULL queue to writev_send

15 years agotsocket: allow empty vectors at the end for tstream_writev()/readv()
Stefan Metzmacher [Fri, 22 May 2009 10:28:17 +0000 (12:28 +0200)]
tsocket: allow empty vectors at the end for tstream_writev()/readv()

metze

15 years agoDetect tight loop in tdb_find()
Jim McDonough [Thu, 21 May 2009 20:26:26 +0000 (16:26 -0400)]
Detect tight loop in tdb_find()

15 years agonsswrapper: implement group_del() in nss_wrapper.pl.
Günther Deschner [Wed, 20 May 2009 00:10:12 +0000 (02:10 +0200)]
nsswrapper: implement group_del() in nss_wrapper.pl.

Guenther

15 years agonsswrapper: implement group_add() in nss_wrapper.pl.
Günther Deschner [Wed, 20 May 2009 00:06:22 +0000 (02:06 +0200)]
nsswrapper: implement group_add() in nss_wrapper.pl.

Guenther

15 years agoSet errno=ENOMEM if tevent_add_fd fails
Volker Lendecke [Tue, 19 May 2009 21:48:41 +0000 (23:48 +0200)]
Set errno=ENOMEM if tevent_add_fd fails

tevent_add_fd does not properly set that. At least in epoll and select this is
the only error condition.

Metze, please check!

15 years agoSimplify the logic of tsocket_bsd_pending
Volker Lendecke [Tue, 19 May 2009 21:31:55 +0000 (23:31 +0200)]
Simplify the logic of tsocket_bsd_pending

Remove two indentation levels by returning early on error.

Metze, please check!

15 years agotevent/python: Makefile was still trying to build some non AC_SUBST python targets
Jelmer Vernooij [Tue, 19 May 2009 21:31:34 +0000 (23:31 +0200)]
tevent/python: Makefile was still trying to build some non AC_SUBST python targets

Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
15 years agotevent: Define TALLOC_FREE() if it's not defined yet, to allow building
Jelmer Vernooij [Sat, 16 May 2009 18:31:59 +0000 (20:31 +0200)]
tevent: Define TALLOC_FREE() if it's not defined yet, to allow building
with released versions of talloc.

15 years agotevent: Remove python module.
Jelmer Vernooij [Sat, 16 May 2009 12:56:37 +0000 (14:56 +0200)]
tevent: Remove python module.

This module didn't have any functionality that we actually used yet, and
it was quite small.

Tevent is quite low level and perhaps doesn't make much sense to expose
directly as a Python module. It was also causing build problems when used with a
system-tevent. We can always back later if necessary.

15 years agotevent: Install tevent_internal.h in the standalone build.
Jelmer Vernooij [Sat, 16 May 2009 02:14:21 +0000 (04:14 +0200)]
tevent: Install tevent_internal.h in the standalone build.

This is not ideal, but at least it fixes the build of samba-gtk for now.
I've also added a warning about API guarantees at the top of the header.

15 years agoFix linker flags on non-Linux GNU platforms.
Samuel Thibault [Sat, 16 May 2009 02:05:53 +0000 (04:05 +0200)]
Fix linker flags on non-Linux GNU platforms.

(e.g. Debian GNU/kFreeBSD)

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
15 years agoUpdate copies of config.guess and config.sub.
Jelmer Vernooij [Sat, 16 May 2009 02:03:12 +0000 (04:03 +0200)]
Update copies of config.guess and config.sub.

15 years agotevent: Don't install headers, since we don't install a shared lib
Jelmer Vernooij [Fri, 15 May 2009 23:54:10 +0000 (01:54 +0200)]
tevent: Don't install headers, since we don't install a shared lib
either (from Samba).

15 years agoAdd extensive tests for str_list function behaviour
Andrew Bartlett [Thu, 14 May 2009 15:47:39 +0000 (01:47 +1000)]
Add extensive tests for str_list function behaviour

15 years agoRemove two unused variables
Volker Lendecke [Thu, 14 May 2009 13:39:52 +0000 (15:39 +0200)]
Remove two unused variables