summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Add release script for teventSimo Sorce2009-09-041-0/+48
|
* tevent: change version to 0.9.8 after some critical bugs have been fixedStefan Metzmacher2009-09-041-1/+1
| | | | metze
* report the location of the original talloc_free on double freeAndrew Tridgell2009-09-041-11/+18
| | | | | | | | When we get a double free abort from talloc it is often hard to work out where the first free came from. This patch takes advantage of the fact that _talloc_free() now takes a location the free was called from to allow the double free abort code to print the location of the first free that conflicts.
* Another part of the fix for bug 6651 - smbd SIGSEGV when breaking oplocks.Jeremy Allison2009-09-031-2/+6
| | | | | | SA_INFO_QUEUE_COUNT *MUST* be a power of 2, in order for the ring buffer wrap to work correctly at the 32 bit boundary. Thanks to Petr Vandrovec <petr@vandrovec.name> for this.
* One would expect I could spell my name...Michael Adam2009-08-301-1/+1
|
* One would expect I could spell my name.Michael Adam2009-08-301-1/+1
|
* tdb: move the original abi_checks script to script/abi_checks_gcc.shMichael Adam2009-08-301-0/+0
| | | | Michael
* tdb: run abi_checks as part of "make test".Michael Adam2009-08-301-0/+2
| | | | | | | Strange: I had to place "test:: abi_checks" before the main "test::" target here, otherwise the abi checks would not get run. Michael
* tdb: remove files generated by "make abi_checks" in "make clean".Michael Adam2009-08-301-0/+2
| | | | Michael
* tdb: add a target "abi_checks" to tdb.Michael Adam2009-08-301-0/+4
| | | | | | Simply run "make abi_checks" to call the abi check script appropriately. Michael
* tdb: add script/abi_checks.sh. check for abi changes without gcc magic.Michael Adam2009-08-301-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
* tdb: add script to extract signatures from header files.Michael Adam2009-08-301-0/+178
| | | | | | | | | | | | This produces output like the output gcc produces when invoked with the -aux-info switch. Run like this: cat include/tdb.h | ./script/mksigs.pl This simple parser is probably too coarse to handle all possible header files, but it treats tdb.h correctly... Michael
* tdb: add scripts to extract library symbols (exports file) from headersMichael Adam2009-08-302-0/+121
| | | | Michael
* talloc: move the original abi_checks script to script/abi_checks_gcc.shMichael Adam2009-08-301-0/+0
| | | | Michael
* talloc: remove talloc_free from the exportsMichael Adam2009-08-301-1/+0
| | | | Michael
* talloc: run abi_checks as part of "make test"Michael Adam2009-08-301-0/+2
| | | | Michael
* talloc: remove files generated by "make abi_check" in "make clean"Michael Adam2009-08-301-0/+2
| | | | Michael
* talloc: add a target "abi_checks" to talloc.Michael Adam2009-08-301-0/+4
| | | | | | Simply run "make abi_checks" to call the abi check script appropriately. Michael
* talloc: add script/abi_checks.sh. check for abi changes without gcc magic.Michael Adam2009-08-301-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
* talloc: add script to extract signatures from header files.Michael Adam2009-08-301-0/+178
| | | | | | | | | | | | This produces output like the output gcc produces when invoked with the -aux-info switch. Run like this: cat talloc.h | ./script/mksigs.pl This simple parser is probably too coarse to handle all possible header files, but it does treat talloc.h correctly. Michael
* talloc: add scripts to extract library symbols (exports file) from headersMichael Adam2009-08-302-0/+121
| | | | Michael
* tevent: Fix a segfault upon the first signalVolker Lendecke2009-08-291-0/+6
| | | | | | | | | | | | | When the first signal arrives, tevent_common_signal_handler() crashed: "ev" is initialized to NULL, so the first "write(ev->pipe_fds[1], &c, 1);" dereferences NULL. Rusty, Tridge, please check. Also, can you tell me a bit more about the environment you tested this in? I'd be curious to see where this survived. Thanks, Volker
* lib/tevent: close pipe_fds on event_context destructionRusty Russell2009-08-281-0/+2
| | | | | | | The "hack_fds" were never closed before; now they're inside event_context they should be closed when that is destroyed. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tevent: handle tevent_common_add_signal on different event contexts.Rusty Russell2009-08-282-14/+31
| | | | | | | | | | I don't know if this is a problem in real life. The code assumes there's only one tevent_context; all signals will notify the first event context. That's counter-intuitive if you ever use more than one, and there's nothing else in this code which prevents it AFAICT. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tevent: fix race with signals and tevent_common_add_signalRusty Russell2009-08-281-20/+20
| | | | | | | | | | | We carefully preserve the old signal handler, but we replace it before we've set up everything; in particular, if we fail setting up the pipe_hack we could write a NUL char to stdout (fd 0), instead of calling the old signal handler. Replace the signal handler as the very last thing we do. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb: don't overwrite TDBs with different version numbers.Rusty Russell2009-08-281-5/+7
| | | | | | In future, this may happen, and we don't want to clobber them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tevent: remove spectacularly complicated manual subtractionRusty Russell2009-08-281-4/+1
| | | | | | | | | | | To be completely honest, I don't quite know whether to laugh or cry at this one: 1 + (0xFFFFFFFF & ~(s.seen - s.count)) == 1 + (~(s.seen - s.count)) # s.seen, s.count are uint32_t == s.count - s.seen # -A == ~A + 1 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>