summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Fix bug 8385Volker Lendecke2011-08-251-26/+14
| | | | | | | | | | | | Poll and select behave differently regarding error handling. When doing the connect(2), we can not rely on poll telling us both readability and writability upon error. Just always try a second connect(2). At least on Linux it returns 0 when it succeeded. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Aug 25 19:39:12 CEST 2011 on sn-devel-104
* pyldb: fixed a warningAndrew Tridgell2011-08-251-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* talloc: Fix talloc-compat pc files/headers.Jelmer Vernooij2011-08-211-1/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 21 04:53:07 CEST 2011 on sn-devel-104
* wafsamba: Only install .pc files if libraries are public.Jelmer Vernooij2011-08-214-16/+7
|
* tdb: Install pkg-config file.Jelmer Vernooij2011-08-211-1/+3
|
* wafsamba: Require public libraries to have a pc file specified, or ↵Jelmer Vernooij2011-08-211-1/+2
| | | | explicitly specified that they don't need one.
* ldb:ldb_controls.c - cosmetic indentation fixMatthias Dieter Wallnöfer2011-08-191-5/+4
|
* ldb - two cosmetic fixesMatthias Dieter Wallnöfer2011-08-192-4/+2
| | | | | @ldb.h: Removes an invalid comment line @pyldb.c: Fixes indentation
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-181-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
* tdb: increment sequence number in tdb_wipe_all().Rusty Russell2011-08-161-0/+2
| | | | | | | | | TDB2 testing revealed that tdb1 doesn't do this. It's minor, but fix it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue Aug 16 10:47:41 CEST 2011 on sn-devel-104
* util: add function to extend anonymous shared memorySimo Sorce2011-08-142-0/+65
|
* replace: Check if we have mremap() availableSimo Sorce2011-08-142-0/+55
|
* ldb: Remove use after free in error caseAndrew Bartlett2011-08-131-1/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Aug 13 13:49:44 CEST 2011 on sn-devel-104
* socket-wrapped: added wrappers for dup() and dup2()Andrew Tridgell2011-08-122-2/+131
| | | | | | | | | | The Samba4 standard process model uses dup() on incoming sockets as an optimisation (it makes select() a tiny bit faster when used). Adding dup() to socket wrapper allows us to use the standard process model in selftest Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tevent: don't force the nesting flag to false in the destructorAndrew Tridgell2011-08-121-3/+7
| | | | | | | | | | | the tevent destructor is called in tevent_re_initialise(), to reset the event context back to its original state for creating child processes. We need the nesting flag to stay the same Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Aug 12 05:18:25 CEST 2011 on sn-devel-104
* tevent: fix documentation for tevent_context_init_byname()Sumit Bose2011-08-111-2/+2
| | | | | | | Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Aug 11 21:56:37 CEST 2011 on sn-devel-104
* tevent: Set FD_CLOEXEC on epoll handleSumit Bose2011-08-114-2/+52
| | | | | | | | If an application using libtevent starts a new process the epoll file descriptor is leaked to the new process if the event context is not freed explicitly. By setting FD_CLOEXEC this is not needed anymore. Signed-off-by: Simo Sorce <idra@samba.org>
* Adapt tally_histogram to Samba coding conventionsVolker Lendecke2011-08-101-10/+16
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Aug 10 21:12:59 CEST 2011 on sn-devel-104
* Adapt get_max_bucket to Samba coding conventionsVolker Lendecke2011-08-101-2/+4
|
* Adapt tally_approx_median to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt bucket_range to Samba coding conventionsVolker Lendecke2011-08-101-2/+3
|
* Adapt tally_mean to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt divls64 to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Avoid some // style comments in divls64Volker Lendecke2011-08-101-9/+10
|
* Adapt divlu64 to Samba coding conventionsVolker Lendecke2011-08-101-2/+5
|
* Avoid some // style comments in divlu64Volker Lendecke2011-08-101-26/+26
|
* Adapt fls64 to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt tally_num to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt tally_add to Samba coding conventionsVolker Lendecke2011-08-101-3/+5
|
* Adapt renormalize to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt shift_overflows to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt bucket_min to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt bucket_of to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt tally_new to Samba coding conventionsVolker Lendecke2011-08-101-2/+5
|
* Slightly simplify tally_newVolker Lendecke2011-08-101-7/+9
|
* Fix a c++ warningVolker Lendecke2011-08-101-1/+1
|
* Fix a c++ warningVolker Lendecke2011-08-101-1/+2
|
* tevent: cleanup nesting counter when doing a full reinit.Simo Sorce2011-08-101-0/+7
| | | | | | | We may be forking from within a loop, so we need to clean-up to avoid aborts when nesting is not allowed and we are in a new children. Signed-off-by: Andreas Schneider <asn@samba.org>
* lib-util: Make create_unlink_tmp argument optionalSimo Sorce2011-08-101-1/+6
| | | | | | Use tmpdir() if no dir is provided. Signed-off-by: Andreas Schneider <asn@samba.org>
* lib-util: Make useful function a common utility.Simo Sorce2011-08-102-0/+37
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* libutil: use AI_ADDRCONFIG only when AI_NUMERIC is not definedSimo Sorce2011-08-101-5/+11
| | | | | | | This flag prevents startup w/o ip addresses assigned to any interface. If AI_NUMERIC is passed it should be safe to avoid it. Signed-off-by: Andreas Schneider <asn@samba.org>
* pytalloc: Regenerate ABI file.Jelmer Vernooij2011-08-101-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Aug 10 16:51:11 CEST 2011 on sn-devel-104
* pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij2011-08-105-51/+57
|
* tsocket: make use of tevent_queue_add_optimize_empty() to optimize for the ↵Stefan Metzmacher2011-08-101-37/+48
| | | | | | empty queue case metze
* tevent: change the version to 0.9.14 after the tevent_queue changestevent-0.9.14Stefan Metzmacher2011-08-092-1/+79
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 23:02:17 CEST 2011 on sn-devel-104
* tevent: fix some comments in tevent.hStefan Metzmacher2011-08-091-2/+2
| | | | metze
* tevent: add tevent_queue_add_entry() and tevent_queue_add_optimize_empty()Stefan Metzmacher2011-08-092-2/+131
| | | | | | | | | | | | This adds more flexible handling for the add operation: - It allows the caller to remove a tevent_req from the queue by calling talloc_free() on the returned tevent_queue_entry. - It allows the caller to optimize for the empty queue case, where it the caller wants to avoid the delay caused by the immediate event. metze
* tevent: splitout tevent_queue_add_internal() from tevent_queue_add()Stefan Metzmacher2011-08-091-8/+26
| | | | metze
* tevent: allow tevent_queue_add() to take a NULL trigger functionStefan Metzmacher2011-08-092-1/+10
| | | | | | This way the caller can add a blocker to the queue. metze
* tevent: add tevent_queue_running() functionStefan Metzmacher2011-08-092-0/+16
| | | | metze