summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-02-02Change uint_t to unsigned int in lib/utilMatt Kraai4-6/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/tallocMatt Kraai2-6/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/cryptoMatt Kraai1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/replaceMatt Kraai4-4/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01tdb: fix an early release of the global lock that can cause data corruptionVolker Lendecke1-5/+10
There was a bug in tdb where the tdb_brlock(tdb, GLOBAL_LOCK, F_UNLCK, F_SETLKW, 0, 1); (ending the transaction-"mutex") was done before the /* remove the recovery marker */ This means that when a transaction is committed there is a window where another opener of the file sees the transaction marker while the transaction committer is still fully functional and working on it. This led to transaction being rolled back by that second opener of the file while transaction_commit() gave no error to the caller. This patch moves the F_UNLCK to after the recovery marker was removed, closing this window.
2010-01-29lib/util: remove data_blob_talloc_reference()Stefan Metzmacher2-23/+0
We want to avoid the usage of talloc_reference() in Samba. metze
2010-01-28tsocket: Fix the description of tstream_writev_queue_send/recvKai Blin1-6/+6
2010-01-28tsocket: Fix description for tstream_readv_pdu_queue_send/recvKai Blin1-7/+6
2010-01-26Revert "libreplace: fix unused varibale warning on IRIX"Björn Jacke1-2/+2
this one was broken
2010-01-26libreplace: fix unused varibale warning on IRIXBjörn Jacke1-2/+2
2010-01-25lib/popt: Fix typo in README.Karolin Seeger1-1/+1
Karolin
2010-01-23libreplace: Fix a C++ warningVolker Lendecke1-2/+2
2010-01-21s4: Include Python.h early to avoid double definition errors.Jelmer Vernooij1-0/+1
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>