summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* tdb: allow reads after prepare commitAndrew Tridgell2009-09-151-8/+0
| | | | | | We previously only allowed a commit to happen after a prepare commit. It is in fact safe to allow reads between a prepare and a commit, and the s4 replication code can make use of that, so allow it.
* talloc: when we enable NULL tracking, reparent the autofree contextAndrew Tridgell2009-09-151-0/+3
| | | | | | | If NULL tracking is enabled after the autofree context is initialised then autofree ends up separate from the null_context. This means that talloc_report_full() doesn't report the autofree context. Fix this by reparenting the autofree context when we create the null_context.
* lib/crypto: link in AES crypto for s4 as well.Günther Deschner2009-09-161-1/+2
| | | | Guenther
* lib/crypto: add aes encryption routines to main cryto lib.Günther Deschner2009-09-164-0/+1462
| | | | Guenther
* libreplace: white space cleanupsBjörn Jacke2009-09-152-12/+12
|
* libcli:nbt put util_net.c protos in new header fileAndrew Bartlett2009-09-152-21/+46
| | | | | | | This fixed a very odd build problem due to util.h importing system/network.h being imported before the uid_wapper code. Andrew Bartlett
* libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett2009-09-152-2/+138
| | | | | | This starts the process to have Samba4 use lmhosts. Andrew Bartlett
* Prepend "$libreplacedir/" to all objects in LIBREPLACEOBJMatt Kraai2009-09-147-14/+14
|
* tevent:mksyms: fix spelling...Michael Adam2009-09-112-2/+2
| | | | Michael
* talloc:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion argsMichael Adam2009-09-111-1/+1
| | | | Michael
* talloc:mksigs: normalize bool -> _BoolMichael Adam2009-09-111-0/+3
| | | | Michael
* talloc:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵Michael Adam2009-09-111-0/+1
| | | | | | parentheses Michael
* talloc:mksigs: correctly ignode multiline function typedefsMichael Adam2009-09-111-5/+5
| | | | | | by first concatenating multilint parentheses and removing typefes afterwards. Michael
* talloc:mksigs: ignore struct forward declarations.Michael Adam2009-09-111-0/+1
| | | | Michael
* talloc:mksyms: allow characters after closing functions parenthesis.Michael Adam2009-09-111-2/+2
| | | | Michael
* talloc:mksyms: allow double pointer return value of functions.Michael Adam2009-09-111-1/+1
| | | | Michael
* tdb:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion argsMichael Adam2009-09-111-1/+1
| | | | Michael
* tdb:mksigs: normalize bool -> _BoolMichael Adam2009-09-111-0/+3
| | | | Michael
* tdb:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵Michael Adam2009-09-111-0/+1
| | | | | | parentheses Michael
* tdb:mksigs: correctly ignode multiline function typedefsMichael Adam2009-09-111-5/+5
| | | | | | by first concatenating multilint parentheses and removing typefes afterwards. Michael
* tdb:mksigs: ignore struct forward declarations.Michael Adam2009-09-111-0/+1
| | | | Michael
* tdb:mksyms: allow characters after closing functions parenthesis.Michael Adam2009-09-111-2/+2
| | | | Michael
* tdb:mksyms: allow double pointer return value of functions.Michael Adam2009-09-111-1/+1
| | | | Michael
* tevent:signatures: add _tevent_req_cancel and tevent_req_set_cancel_fnMichael Adam2009-09-111-0/+2
| | | | | | introduced in 45e4be0d96abdc729252df1e97bb9a56302e5a4a Michael
* tevent:exports: add _tevent_req_cancel and tevent_req_set_cancel_fn.Michael Adam2009-09-111-0/+2
| | | | | | These were added in 45e4be0d96abdc729252df1e97bb9a56302e5a4a Michael
* tevent:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion argsMichael Adam2009-09-111-1/+1
| | | | Michael
* tevent:mksigs: normalize bool -> _BoolMichael Adam2009-09-111-0/+3
| | | | Michael
* tevent:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵Michael Adam2009-09-111-0/+1
| | | | | | parentheses Michael
* tevent:mksigs: correctly ignode multiline function typedefsMichael Adam2009-09-111-5/+5
| | | | | | by first concatenating multilint parentheses and removing typefes afterwards. Michael
* tevent:mksigs: ignore struct forward declarations.Michael Adam2009-09-111-0/+1
| | | | Michael
* tevent:mksyms: allow characters after closing functions parenthesis.Michael Adam2009-09-111-2/+2
| | | | Michael
* tevent:mksyms: allow double pointer return value of functions.Michael Adam2009-09-111-1/+1
| | | | Michael
* tevent: add abi_checks to "make test"Michael Adam2009-09-111-0/+2
| | | | Michael
* tevent: remove filese generated by "make abi_checks" in "make clean".Michael Adam2009-09-111-0/+2
| | | | Michael
* tevent: add a make target "make abi_checks"Michael Adam2009-09-111-0/+4
| | | | Michael
* tevent: move the original abi_checks script to script/abi_checks_gcc.shMichael Adam2009-09-111-0/+0
| | | | Michael
* tevent: add script/abi_checks.sh. check for abi changes without gcc magic.Michael Adam2009-09-111-0/+91
| | | | | | | | | USAGE: abi_checks.sh LIBRARY_NAME header1 [header2 ...] This creates symbol signature lists using the mksyms and mksigs scripts and compares them with the checked in lists. Michael
* tevent: add script to extract signatures from header files.Michael Adam2009-09-111-0/+178
| | | | | | | | | | | | This produces output like the output gcc produces when invoked with the -aux-info switch. Run like this: cat include/tevent.h | ./script/mksigs.pl This simple parser is probably too coarse to handle all possible header files, but it treats tevent.h correctly... Michael
* tevent: add scripts to extract library symbols (exports file) from headersMichael Adam2009-09-112-0/+121
| | | | Michael
* util_strlist: Add some more "const"s - small correctionMatthias Dieter Wallnöfer2009-09-101-1/+1
|
* util_strlist: Add some more "const"sMatthias Dieter Wallnöfer2009-09-102-22/+27
|
* s4/torture: add new torture_assert_*_todo() macrosSteven Danneman2009-09-081-0/+38
| | | | | These allow torture tests to perform cleanup after a failure, by jumping to a goto label.
* lib/util: add unique string generator helper functionSteven Danneman2009-09-082-0/+69
|
* socket_wrapper: swrap_read() should use SWRAP_RECV* for swrap_dump_packet()Stefan Metzmacher2009-09-081-5/+3
| | | | | | This is the same as swrap_recv(). metze
* Add read() to socketwrapper. Metze please check.Jeremy Allison2009-09-072-1/+38
| | | | Jeremy.
* s4:tests/iconv - Fix a warningMatthias Dieter Wallnöfer2009-09-071-1/+2
|
* lib/tdr: fix the build with --enable-automatic-dependenciesStefan Metzmacher2009-09-071-1/+1
| | | | metze
* tdb: fix c++ build warning.Günther Deschner2009-09-071-2/+2
| | | | Guenther
* s4: Fix "Small memory leak after calling several times lp_update"Inra2009-09-072-37/+20
| | | | Should fix bug #6660.
* util:tests: Correct time tests for negative UTC offsets.Andrew Kroeger2009-09-051-2/+23
| | | | | | | | | | | | | | | | | | | | | | | All: Please find attached a patch to fix the timestring and http_timestring tests on hosts that have a negative UTC offset (west of the Prime Meridian). Sincerely, Andrew Kroeger >From 8a8ca35edccf64aa98f2f3ae1469c4c27db8215e Mon Sep 17 00:00:00 2001 From: Andrew Kroeger <andrew@id10ts.net> Date: Fri, 4 Sep 2009 01:31:50 -0500 Subject: [PATCH] util:tests: Correct time tests for negative UTC offsets. The timestring and http_timestring tests were failing on hosts with negative offsets from UTC. Due to the timezone offset, the returned values were back in the year 1969 (before the epoch) and did not match the test patterns. The correction computes the offset from UTC, and if it is negative that offset is added onto the value given to the timestring() and http_timestring() calls so that the returned values fall on 01-Jan-1970 and match the test pattern.