summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-01-18Work around bad use of autoconf internaLars Müller1-13/+37
Merge fix made by Andreas Schwab <schwab@linux-m68k.org>. This change had been in use by SUSE since 2008-07-03.
2010-01-16subunit/testtools: Include newer version.Jelmer Vernooij11-22/+205
2010-01-16Import testtools as well, required for subunit.Jelmer Vernooij22-1/+3849
2010-01-16subunit: Import new version.Jelmer Vernooij26-504/+4061
2010-01-16Add README about subunit.Jelmer Vernooij1-0/+7
2010-01-16Add script for updating the copy of subunit.Jelmer Vernooij1-0/+13
2010-01-11tsocket: Added doxygen config file.Andreas Schneider1-0/+1538
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-11tsocket: Added complete doxygen documentation.Andreas Schneider2-63/+834
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-09s4-debug: removed debug_ctx(). It didn't catch on :-)Andrew Tridgell1-4/+0
There was only one user, which isn't worth it for the overhead.
2010-01-07lib/util: move TIME_T_MIN/MAX defines into header fileBjörn Jacke2-14/+14
2010-01-06tdb: fix standalone 'make installdocs'Stefan Metzmacher2-3/+4
metze
2010-01-06tdb: create symbol links to shared libraries see ↵Brian Lu1-0/+4
https://bugzilla.samba.org/show_bug.cgi?id=6991 for details Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-06talloc: create symbol links to shared libraries see ↵Brian Lu1-0/+5
https://bugzilla.samba.org/show_bug.cgi?id=6991 for details Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-06tevent: create symbol links to shared libraries see ↵Brian Lu1-0/+4
https://bugzilla.samba.org/show_bug.cgi?id=6991 for details Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-02libreplace: some systems don't have memmem()Andrew Tridgell4-0/+68
added rep_memmem() and a testsuite
2009-12-24tsocket: only copy the specific part of sockaddr*Stefan Metzmacher1-0/+5
This makes sure we fill the unspefic bytes with 0 and have zero termination for sockaddr_un. metze
2009-12-24tsocket: allow AF_UNIX sockaddrs smaller than sizeof(sockaddr_un)Stefan Metzmacher1-4/+5
This is needed as getpeername() truncates the length to 2 if the peer socket has no name. metze
2009-12-21tdb: Also build and install tdb manpages from standalone tdb.Jelmer Vernooij7-3/+459
2009-12-21tdb: Fix formatting of API check file.Jelmer Vernooij1-1/+1
2009-12-20tevent: prefix types and defined with tevent_ and TEVENT_Stefan Metzmacher1-37/+39
This fixes the build warnings on some build-farm hosts. metze
2009-12-19Output %p as unsigned in snprintf replacement.Peter Rosin1-0/+1
2009-12-18Return NULL in strlower_talloc if src is NULLBrendan Powers1-0/+4
Prevents strlower_talloc from segfaulting if you pass it a NULL string. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-12-17tdbtool: avoid using c++ reserved words.Günther Deschner1-2/+2
Guenther
2009-12-15tsocket: Fixed tsocket_guide.txt asciidoc syntax.Andreas Schneider1-148/+161
2009-12-15tsocket: Fixed documentation for tsocket_address_bsd_sockaddr().Andreas Schneider1-6/+5
2009-12-15tsocket: Fixed typo in LGPL header.Andreas Schneider5-5/+5
2009-12-15tsocket: add tsocket_address_bsd_sockaddr() and ↵Stefan Metzmacher3-5/+87
tsocket_address_bsd_from_sockaddr() metze
2009-12-15Fix release script to work with recent git versionsSimo Sorce1-1/+1
2009-12-10util: added binsearch.h for binary array searchesAndrew Tridgell1-0/+68
This was moved from the schema_query code. It will now be used in more than one place, so best to make it a library macro. I think there are quite a few places that could benefit from this.
2009-12-08tdr-test: Fix 'push_charset' testKamen Mazdrashki1-1/+1
4 bytes of 'bloe' string are pushed, so we should check only for the first 4 caracters Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-08talloc: Fix write behind memory blockKamen Mazdrashki1-1/+1
If ALWASY_REALLOC is defined and we are to 'shrink' memory block, memcpy() will write outside memory just allocated. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-07Fix release script with newer versins of gitSimo Sorce1-1/+1
2009-12-01util/util_strlist - add a call "const_str_list" for making "unconst" lists ↵Matthias Dieter Wallnöfer2-0/+14
"const"
2009-11-26tevent: Fix a commentVolker Lendecke1-1/+1
2009-11-20charset/tests/iconv - Remove the "const" from "ptr_in" to prevent ↵Matthias Dieter Wallnöfer1-7/+7
"discard_const_p" use Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-20tdb tools: Mostly cosmetic adaptionsMatthias Dieter Wallnöfer2-8/+9
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-20util/strlist: Fix up "const" warnings in the string list and test codeMatthias Dieter Wallnöfer3-26/+30
This work I did using suggestions by Jelmer. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-20tdb: change version to 1.2.0 after adding TDB_*ALLOW_NESTINGStefan Metzmacher1-1/+1
metze
2009-11-20tdb: add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behaviorStefan Metzmacher5-3/+63
We need to keep TDB_ALLOW_NESTING as default behavior, so that existing code continues to work. However we may change the default together with a major version number change in future. metze
2009-11-20New attempt at TDB transaction nesting allow/disallow.Ronnie Sahlberg2-1/+14
Make the default be that transaction is not allowed and any attempt to create a nested transaction will fail with TDB_ERR_NESTING. If an application can cope with transaction nesting and the implicit semantics of tdb_transaction_commit(), it can enable transaction nesting by using the TDB_ALLOW_NESTING flag. (cherry picked from ctdb commit 3e49e41c21eb8c53084aa8cc7fd3557bdd8eb7b6) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-20tdb: always set tdb->tracefd to -1 to be safe on goto failStefan Metzmacher1-4/+3
metze
2009-11-18fixed the buildAndrew Tridgell1-0/+4
whoever pushed 15d93a5d8e21893e1cca5c989dbf97010aae1622, please check that what you push compiles and passes tests. In this case it didn't compile.
2009-11-17s4/torture: add a new ulong parameteric torture optionAravind Srinivasan1-0/+8
2009-11-14Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/Volker Lendecke2-25/+0
2009-11-14Introduce tevent_req_poll_ntstatusVolker Lendecke2-0/+25
2009-11-14Introduce tevent_req_simple_finish_ntstatusVolker Lendecke2-0/+22
2009-11-13util: str_list_unique() bugfixKamen Mazdrashki1-1/+1
j is actually the index of the last element in the list size of the list though is j+1 <- to make room for the terminating NULL element
2009-11-13util: str_list_unique_2() test implementationKamen Mazdrashki1-0/+33
Difference with previous test for str_list_unique() is that this test allows number of elements and number of duplicates to be supplied on command line using --option="list_unique:count=47" --option="list_unique:dups=7"
2009-11-12lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett3-3/+26
Rather than have a repeat of the bugs we found at the plugfest where hexidecimal strings must be in upper or lower case in particular places, ensure that each caller chooses which case they want. This reverts most of the callers back to upper case, as things were before tridge's patch. The critical call in the extended DN code is of course handled in lower case. Andrew Bartlett
2009-11-08tdb: Fix a C++ warningVolker Lendecke1-1/+2