| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
|
|
|
|
|
| |
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
|
|
|
|
|
|
|
|
| |
The WAF build does not have the code to detect getprpwnam on which
this is based, and so this is dead code.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
|
|
|
|
|
|
|
|
| |
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Apr 2 17:11:37 CEST 2014 on sn-devel-104
|
|
|
|
|
|
|
|
|
| |
http://www.python.org/doc//current/c-api/none.html
Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User(master): Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date(master): Thu Jan 9 16:27:47 CET 2014 on sn-devel-104
|
|
|
|
|
| |
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
|
|
|
|
|
| |
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
|
|
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 60cb40d090e45ff6134c098a238fac7ad854f134)
|
|
|
|
| |
(This used to be ctdb commit f8bf99de3a5f56be67aaa67ed836458b1cf73e86)
|
|
|
|
| |
(This used to be ctdb commit 82d61f77c01df0fbb42743593937b175ce22a445)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The latest commits affecting lib/replace remove autoconf build from
Samba tree. So using following commit as a sync point.
commit 9ddfd7d8784e6f546628f48990b69ee2850be52d
Author: Andrew Bartlett <abartlet@samba.org>
Date: Wed May 22 17:23:30 2013 +1000
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 506b27c944b4031e8a325816bd12abddd442a0bb)
|
|
|
|
| |
(This used to be ctdb commit bb3a32ec055432afc7225c9fd7504fb187694bda)
|
|
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 3bffca8c17e441364525df115ee2ac16b5969e24)
|
|
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit b091f09ea01482823bd850d1d4e2329e0a19c959)
|
|
|
|
|
|
| |
The list of include files is the 4th argument of AC_CHECK_DECLS.
(This used to be ctdb commit 85b777196289646ca37e06ebbf1f7a684d0aabc5)
|
|
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 307416afda707b687f5e89e8438e45c154a4c806)
|
|
|
|
|
|
| |
We depend on the tracing callback mechanism in ctdb.
(This used to be ctdb commit 5f58c811127a89f162b6a41ddcd6e944801740a5)
|
|
|
|
|
|
|
|
|
|
|
| |
This adds tevent_*_trace_*() and tevent_context_init_ops()
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Jun 8 20:47:41 CEST 2012 on sn-devel-104
(This used to be ctdb commit 0dc204988eadff214dd149a756d756ab6e96e410)
|
|
|
|
|
|
|
|
|
|
| |
This can be used to implement wrapper backends,
while passing a private pointer to the backens init function
via ev->additional_data.
metze
(This used to be ctdb commit 7ebc00dc6a89043a971a720e7c21baf5f2a0233d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set/get a single callback function to be invoked at various trace
points. Define "before wait" and "after wait" trace points - more
trace points can be added later if required.
CTDB wants this to log long waits and events.
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Martin Schwenke <martin@meltin.net>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit cb2bbe93628c1ab932c2e1ad6e2ec199a98f74c6)
|
|
|
|
|
|
|
|
|
|
| |
of tevent library"
This reverts commit 5aba53e6adcfcd7edbdac9e30aa5fcba176aca00.
Do this using new tevent trace point callback.
(This used to be ctdb commit 88040778aace229d724de1ba7556aded12e22f86)
|
|
|
|
|
|
|
|
|
| |
This makes it consistent with the other backends.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit e0c9200c05b1f7a04e002f505ebb5ba9340c0ca1)
|
|
|
|
|
|
| |
metze
(This used to be ctdb commit 6559106b8b853920f325f2dba532f4008e931fa3)
|
|
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 6e5cbe8fff71985e5a2fc16b7e9f2b868011ff5d)
|
|
|
|
|
|
| |
library
(This used to be ctdb commit 5aba53e6adcfcd7edbdac9e30aa5fcba176aca00)
|
|\
| |
| |
| | |
(This used to be ctdb commit 8052ee0a6bda3fa88501d77b2d53315be2b75ec1)
|
| |
| |
| |
| |
| |
| | |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 0f40ea2386892ae10b30beeded0e00edf4c019c3)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since tdb library will never be built from ctdb sources, we don't need the build
related files.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit a7aace3d165e6cb7d63950107e584edaee12a357)
|
|\ \
| | |
| | |
| | | |
(This used to be ctdb commit 17ff3f240b0d72c72ed28d70fb9aeb3b20c80670)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 483459c79884891b3639a8bb865d5e8318cde98c)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since we are not going to build tevent library from ctdb source, remote build
related files.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit efbb7e0b9dcde547b46efd8e3b26c571e4fcf893)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit d1bc4a97ea649f5a07802178591688e438313ff8)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 0681014ca5ed2a9b56f63fdace7f894beccf8a9a)
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
This allows to build against system tevent library. Also include tevent header
along with other common headers.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 9ae4389c2c959c5dcd8395fdae2b25ed7e1e873a)
|
| |
| |
| |
| |
| |
| | |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 670ebada4bafe79bd535c9bb5cc2d5d49d646af3)
|
|/
|
|
|
|
|
| |
Since talloc library will never be built from ctdb sources, we don't need the
build related files.
(This used to be ctdb commit 2cd6a7ce648c1d2cc4d5580c3809858c100fa930)
|
|
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 10ab88a5c822ac403a70a9cd1a6c81020eb91d08)
|
|
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 2ade83de4e1f318c91489ec9a7f90d1b26f77e1b)
|
|
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 94f1e02406c353c3a0235685acdd107ee5a7f285)
|
|
|
|
| |
(This used to be ctdb commit d306c3c9a53e012c412c96ab9743de6cd96826e0)
|
|
|
|
| |
(This used to be ctdb commit 99ce8a9de648babdfb1b1ea0219ee184c9718048)
|
|
|
|
| |
(This used to be ctdb commit 8dd377b6a4d188af086f9a5b41a1b48e44eda6f3)
|
|
|
|
| |
(This used to be ctdb commit 17bcffab19fdbb435b4745ff90c327342bbbf0f8)
|
|
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit fdca12c25e6fce6206135b994dedf44265e4eb09)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Warnings are generated when compiling strptime.c. Why is it being
compiled on Linux? strptime(3) has been in glibc for 15 years!
It turns out that some of the test fragments were being looked for in
lib/replace/test/ and some in lib/replace/tests/. In addition,
test*/strptime.c was missing.
Move the tests to lib/replace/test/ for consistency with upstream
(Samba) and copy in test/strptime.c from Samba. Tweak repdir.m4 to
handle the directory rename.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit aaf1ddfc83cf2ede29288baf04a1aa1c69a5cab5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
popt generates 4 compiler warnings with GCC 4.6. There are 2
different types:
* 3 instances of:
warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
One occurs in the _free() hack that is used to try and avoid a
compiler warning. I guess GCC got smarter? ;-)
The other is where an array of constant strings is passed to
execvp(2), which arguably has the wrong type, since it has no need
to modify the strings.
Both of these can be worked around by casting to intptr_t before
casting to the desired argument type.
In poptReadConfigFile() the variable file is declared to be a
constant string. However, it is then passed to read(2) straight
away and an attempt is made to cast away the "const". However, to
protect the value the of file is assigned to (const char *) chptr
before it is passed to any other functions, so this protects the
value anyway. I'm not sure exactly what the thinking was
here... but there seems to be no use having file be constant.
* 1 instance of:
warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
for the result of an execvp(2) call. Recast the return type to
void. However, due to some #if-fu in the function, that can make rc
unused in this function. So we also need to wrap the declaration of
rc in some corresponding #if-fu to make it disappear if not used.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit ac9236e64bd0b61740cc787819a1222bc6a67d4a)
|
|
|
|
|
|
|
|
| |
Have sent this upstream to Samba.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 080edee3d053d770466ebcc976eb1135c80feef8)
|
|
|
|
|
|
|
|
|
|
| |
CTDB wants to use these functions but Samba's tevent wants to mark
them deprecated. This adds a #define to shut up the warnings and sets
it in CFLAGS.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 788cdbddbc902a5b076d23473450065b551d274d)
|
|
|
|
|
|
|
|
| |
Submited by Lorenzo De Liso on <http://bugs.debian.org/603155>
(originaly named 99-fix-broken-readdir-test.diff). Also reported as
<https://bugzilla.samba.org/show_bug.cgi?id=7032>.
(This used to be ctdb commit 29474420606e802c83b53ef5f8e372c8eeac83c1)
|
|
|
|
|
|
| |
CQ S1028400
(This used to be ctdb commit 3ce1d3d6c8b8fd3097b8efd2c75797ed7682a562)
|