summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-06-10Since idtree assigns sequentially, it rarely reaches high numbers.Rusty Russell1-3/+5
But such numbers can be forced with idr_get_new_above(), and that reveals two bugs: 1) Crash in sub_remove() caused by pa array being too short. 2) Shift by more than 32 in _idr_find(), which is undefined, causing the "outside the current tree" optimization to misfire and return NULL.
2010-06-10tevent: Fix maxfd calculation in tevent_selectVolker Lendecke1-1/+2
When doing fd1 = tevent_add_fd(ev, ev, 2, 0, NULL, NULL); fd2 = tevent_add_fd(ev, ev, 3, 0, NULL, NULL); TALLOC_FREE(fd2); fd2 = tevent_add_fd(ev, ev, 1, 0, NULL, NULL); we end up with select_ev->maxfd==1. This is wrong. An alternative fix might be to make select_ev->maxfd an unsigned int and make EVENT_INVALID_MAXFD==UINT_MAX. But in theory we might end up with an fd of UINT_MAX. std_event_add_fd() contains exactly the same piece of code, so I'm directly pushing it. Volker
2010-06-03libreplace: Fix readline build with libedit.James Peach1-1/+7
libedit on MAc OSX 10.5 does not have the rl_completion_t typedef, but uses a internal typedef names CPPFunction. Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-01lib/replace: fix some c++ build warnings in testsuite.Günther Deschner1-4/+4
Guenther
2010-05-31talloc: Don't set is_bundled for standalone build.Jelmer Vernooij1-2/+4
2010-05-31Add manpages argument to SAMBA_LIBRARY().Jelmer Vernooij1-17/+2
2010-05-31tdb-waf: Don't install binaries when using system tdb.Jelmer Vernooij1-17/+17
2010-05-31tdb-waf: Simplify manpage handling.Jelmer Vernooij1-17/+4
2010-05-31s4-waf: sanitize library names like the old build system did, only addJelmer Vernooij4-5/+7
-samba4 suffix for libraries that are bundled.
2010-05-30libreplace: include sys/file.h only when availableBjörn Jacke3-2/+4
thanks to Joachim Schmitz <schmitz@hp.com>. This fixes #7460.
2010-05-30nss_wrapper/testsuite.c - make sure to test always the "NSS wrapper" callsMatthias Dieter Wallnöfer1-1/+5
This should fix bug #7319 and #7320.
2010-05-24fix a typoVolker Lendecke1-1/+1
2010-05-20s3-waf: move the KRB5_DEPRECATED check into lib/replaceAndrew Tridgell1-1/+1
this needs to be with the krb5.h check
2010-05-20build: Don't look for krb5.h in libreplaceKai Blin1-1/+1
2010-05-19tsocket: Improve the language in some parts of the guide.Simo Sorce1-41/+37
2010-05-18Change data_blob() to be based on top of data_blob_talloc(), instead of the ↵Jeremy Allison1-15/+10
reverse (as it is now). It makes no sense to talloc off the null context, then talloc steal into the required context - just talloc off the correct context, and change data_blob() to pass in the null context to data_blob_talloc(). Jeremy. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij3-21/+16
2010-05-18smbconf: only include smbconf headers where needed.Günther Deschner1-0/+1
Guenther
2010-05-14lib/util: fix waf configure tests for xattr functions on Mac OS 10.Stefan Metzmacher1-4/+6
metze
2010-05-12Install util/tevent_* public headers. Required by OpenChange for compiling IDLJulien Kerihuel2-1/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-11tdb: commit ABI/tdb-1.2.2.sigsStefan Metzmacher1-0/+60
metze
2010-05-11waf:libreplace: set _OSF_SOURCE to fix build on Tru64Björn Jacke1-0/+4
2010-05-11tdb: remove unused variable in tdb_new_database().Günther Deschner1-1/+0
Guenther
2010-05-10tevent: Added a description for tevent queue.Andreas Schneider1-0/+9
2010-05-10tevent: Added an introduction to the tevent_queue tutorial.Andreas Schneider1-4/+38
Thanks Volker.
2010-05-10tevent: Fixed a doxygen problem with PRINTF_ATTRIBUTE.Andreas Schneider1-3/+3
2010-05-10talloc: Fixed a doxygen problem with PRINTF_ATTRIBUTE.Andreas Schneider1-3/+3
2010-05-06talloc: Documented the missing string functions.Andreas Schneider1-0/+86
2010-05-05tevent: Started a tevent_queue tutorial.Andreas Schneider1-0/+9
2010-05-05tevent: Document the tevent_queue functions.Andreas Schneider1-0/+68
2010-05-05tevent: Document the tevent helper functions.Andreas Schneider1-0/+67
2010-05-05tevent: Document missing callback typedefs.Andreas Schneider1-2/+36
2010-05-05tevent: Document the missing tevent async request callback functions.Andreas Schneider1-1/+144
2010-05-05tevent: Create a typedef for the debug function callback.Andreas Schneider1-6/+20
2010-05-05tevent: Added more documentation.Stephen Gallagher1-11/+247
2010-05-05tevent: Remove erroneous comments about TEVENT_FD_AUTOCLOSEStephen Gallagher2-6/+0
There is no such flag.
2010-05-05tevent: Add doxygen tevent config file.Andreas Schneider1-0/+1538
2010-05-05tevent: Added basic doxygen documentation.Andreas Schneider3-190/+426
2010-05-05tsocket: Added the warning again to tsocket_address_bsd_sockaddr.Andreas Schneider1-0/+3
2010-05-05tdb: fix short write logic in tdb_new_databaseRusty Russell3-17/+17
Commit 207a213c/24fed55d purported to fix the problem of signals during tdb_new_database (which could cause a spurious short write, hence a failure). However, the code is wrong: newdb+written is not correct. Fix this by introducing a general tdb_write_all() and using it here and in the tracing code. Cc: Stefan Metzmacher <metze@samba.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2010-05-04s4-waf: fixed indentation for python 3.1Andrew Tridgell1-1/+1
python 3.x is very fussy about tabs/spaces
2010-05-03s4-waf: fixed target group for SOCKET_WRAPPERAndrew Tridgell1-0/+1
2010-05-03tsocket: Fixed the documentation of tsocket_address_bsd_sockaddr.Andreas Schneider1-6/+13
2010-05-01talloc: Documentation fix for tallocHolger Hans Peter Freyther2-2/+2
2010-04-27lib/tsocket: add tsocket_address_is_unix() functionStefan Metzmacher2-0/+29
metze
2010-04-27lib/tsocket: add tsocket_address_is_inet() functionStefan Metzmacher2-0/+54
metze
2010-04-24Revert "tsocket: not all systems have IPV6_V6ONLY"Stefan Metzmacher1-2/+2
This reverts commit 63fc3978089df403d7e63462593784ff3d05e6e7. We now don't support IPv6 when IPV6_V6ONLY isn't available, as we rely on the behavior. metze
2010-04-24lib/replace/wscript: make sure IPV6_V6ONLY is available for IPv6 supportStefan Metzmacher1-0/+8
We really on IPV6_V6ONLY being supported. metze
2010-04-24lib/replace: make sure IPV6_V6ONLY is available for IPv6 supportStefan Metzmacher1-0/+8
We really on IPV6_V6ONLY being supported. metze
2010-04-24lib/replace/wscript: add replacement for IPV6_V6ONLY on linux systems with ↵Stefan Metzmacher1-0/+19
broken headers This is needed on SLES8. metze