1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

865 Commits

Author SHA1 Message Date
Michael Adam
400f08450b tdb:mksyms: allow characters after closing functions parenthesis.
Michael
2009-09-11 15:31:29 +02:00
Michael Adam
907e05595f tdb:mksyms: allow double pointer return value of functions.
Michael
2009-09-11 15:31:29 +02:00
Michael Adam
6b9298191a tevent:signatures: add _tevent_req_cancel and tevent_req_set_cancel_fn
introduced in 45e4be0d96abdc729252df1e97bb9a56302e5a4a

Michael
2009-09-11 15:31:29 +02:00
Michael Adam
7165f29aea tevent:exports: add _tevent_req_cancel and tevent_req_set_cancel_fn.
These were added in 45e4be0d96abdc729252df1e97bb9a56302e5a4a

Michael
2009-09-11 15:31:28 +02:00
Michael Adam
f98470e3a4 tevent:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args
Michael
2009-09-11 15:31:28 +02:00
Michael Adam
085c07b743 tevent:mksigs: normalize bool -> _Bool
Michael
2009-09-11 15:31:28 +02:00
Michael Adam
636f8b5e5b tevent:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses
Michael
2009-09-11 15:31:27 +02:00
Michael Adam
aa7748484f tevent:mksigs: correctly ignode multiline function typedefs
by first concatenating multilint parentheses and removing typefes afterwards.

Michael
2009-09-11 15:31:27 +02:00
Michael Adam
1e2393c178 tevent:mksigs: ignore struct forward declarations.
Michael
2009-09-11 15:31:27 +02:00
Michael Adam
1f1a900dd7 tevent:mksyms: allow characters after closing functions parenthesis.
Michael
2009-09-11 15:31:26 +02:00
Michael Adam
095a11226e tevent:mksyms: allow double pointer return value of functions.
Michael
2009-09-11 15:31:26 +02:00
Michael Adam
4fb82727b1 tevent: add abi_checks to "make test"
Michael
2009-09-11 15:31:25 +02:00
Michael Adam
cf67b1bff7 tevent: remove filese generated by "make abi_checks" in "make clean".
Michael
2009-09-11 15:31:24 +02:00
Michael Adam
40c670f8cb tevent: add a make target "make abi_checks"
Michael
2009-09-11 15:31:24 +02:00
Michael Adam
f0e276cff8 tevent: move the original abi_checks script to script/abi_checks_gcc.sh
Michael
2009-09-11 15:31:24 +02:00
Michael Adam
31ee072934 tevent: add script/abi_checks.sh. check for abi changes without gcc magic.
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
2009-09-11 15:31:23 +02:00
Michael Adam
ffc72b9207 tevent: add script to extract signatures from header files.
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
2009-09-11 15:31:23 +02:00
Michael Adam
4530fcd820 tevent: add scripts to extract library symbols (exports file) from headers
Michael
2009-09-11 15:31:23 +02:00
Matthias Dieter Wallnöfer
41596d2c43 util_strlist: Add some more "const"s - small correction 2009-09-10 22:07:47 +02:00
Matthias Dieter Wallnöfer
7669bc3c89 util_strlist: Add some more "const"s 2009-09-10 07:27:15 +02:00
Steven Danneman
5975ea793a s4/torture: add new torture_assert_*_todo() macros
These allow torture tests to perform cleanup after a failure, by
jumping to a goto label.
2009-09-08 13:43:06 -07:00
Steven Danneman
11bd19c007 lib/util: add unique string generator helper function 2009-09-08 13:43:06 -07:00
Stefan Metzmacher
4b6e9a8e49 socket_wrapper: swrap_read() should use SWRAP_RECV* for swrap_dump_packet()
This is the same as swrap_recv().

metze
2009-09-08 22:07:30 +02:00
Jeremy Allison
5ce12a0565 Add read() to socketwrapper. Metze please check.
Jeremy.
2009-09-07 20:31:01 -07:00
Matthias Dieter Wallnöfer
56a0f995b8 s4:tests/iconv - Fix a warning 2009-09-07 12:38:44 +02:00
Stefan Metzmacher
ff7b41c4de lib/tdr: fix the build with --enable-automatic-dependencies
metze
2009-09-07 14:22:41 +02:00
Günther Deschner
1c2f4919ab tdb: fix c++ build warning.
Guenther
2009-09-07 11:57:10 +02:00
Inra
7ce01743c1 s4: Fix "Small memory leak after calling several times lp_update"
Should fix bug #6660.
2009-09-07 09:40:34 +02:00
Andrew Kroeger
a32f4dd3cf util:tests: Correct time tests for negative UTC offsets.
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.
2009-09-05 10:06:29 +10:00
Simo Sorce
ab6e82910a Add release script for tevent 2009-09-04 18:20:29 -04:00
Stefan Metzmacher
1bb68402a2 tevent: change version to 0.9.8 after some critical bugs have been fixed
metze
2009-09-04 13:01:06 +02:00
Andrew Tridgell
27b19eb9f6 report the location of the original talloc_free on double free
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.
2009-09-04 14:40:51 +10:00
Jeremy Allison
c97698e762 Another part of the fix for bug 6651 - smbd SIGSEGV when breaking oplocks.
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.
2009-09-03 07:38:21 -07:00
Michael Adam
0d120be36b One would expect I could spell my name... 2009-08-30 00:56:04 +02:00
Michael Adam
700533a748 One would expect I could spell my name. 2009-08-30 00:56:03 +02:00
Michael Adam
84446a2407 tdb: move the original abi_checks script to script/abi_checks_gcc.sh
Michael
2009-08-30 00:51:55 +02:00
Michael Adam
f7c473f534 tdb: run abi_checks as part of "make test".
Strange: I had to place "test:: abi_checks" before the main
"test::" target here, otherwise the abi checks would not get run.

Michael
2009-08-30 00:51:55 +02:00
Michael Adam
dff3f37cf1 tdb: remove files generated by "make abi_checks" in "make clean".
Michael
2009-08-30 00:51:55 +02:00
Michael Adam
e21ecfc563 tdb: add a target "abi_checks" to tdb.
Simply run "make abi_checks" to call the abi check script appropriately.

Michael
2009-08-30 00:51:54 +02:00
Michael Adam
9636e0d373 tdb: add script/abi_checks.sh. check for abi changes without gcc magic.
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
2009-08-30 00:51:54 +02:00
Michael Adam
0760a04ef9 tdb: add script to extract signatures from header files.
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
2009-08-30 00:51:54 +02:00
Michael Adam
006fd0c43c tdb: add scripts to extract library symbols (exports file) from headers
Michael
2009-08-30 00:51:53 +02:00
Michael Adam
c7d9617259 talloc: move the original abi_checks script to script/abi_checks_gcc.sh
Michael
2009-08-30 00:51:53 +02:00
Michael Adam
d9b193189a talloc: remove talloc_free from the exports
Michael
2009-08-30 00:51:53 +02:00
Michael Adam
fe0b5234ba talloc: run abi_checks as part of "make test"
Michael
2009-08-30 00:51:52 +02:00
Michael Adam
4e9a06d601 talloc: remove files generated by "make abi_check" in "make clean"
Michael
2009-08-30 00:51:52 +02:00
Michael Adam
cbc75c11fd talloc: add a target "abi_checks" to talloc.
Simply run "make abi_checks" to call the abi check script appropriately.

Michael
2009-08-30 00:51:52 +02:00
Michael Adam
f1b386a894 talloc: add script/abi_checks.sh. check for abi changes without gcc magic.
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
2009-08-30 00:51:51 +02:00
Michael Adam
4579c05462 talloc: add script to extract signatures from header files.
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
2009-08-30 00:51:51 +02:00
Michael Adam
e896f9188d talloc: add scripts to extract library symbols (exports file) from headers
Michael
2009-08-30 00:51:50 +02:00