Stefan Metzmacher
10d58661be
r18064: merge from samba3
...
metze
(This used to be commit c60deff667 )
2007-10-10 14:17:10 -05:00
Jelmer Vernooij
38fdde5d9b
r18031: Merge my replace fixes:
...
* libreplace can now build stand-alone
* add stub testsuite for libreplace
* make talloc/tdb/ldb use libreplace
(This used to be commit fe7ca4b145 )
2007-10-10 14:17:05 -05:00
Volker Lendecke
f6f4d868ea
r18027: Fix some 64-bit warnings
...
(This used to be commit cd495d8931 )
2007-10-10 14:17:04 -05:00
Stefan Metzmacher
c3d6fea11f
r17966: remove all generated files
...
metze
(This used to be commit 2493f670d3 )
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
5e214d5160
r17965: make talloc build more portable
...
metze
(This used to be commit 64ba7ffdb8 )
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
e683a57f32
r17964: try to support sun* hosts
...
metze
(This used to be commit 87d88b3a47 )
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
648dacfaa1
r17963: fix install logic for talloc.3
...
metze
(This used to be commit 161f2c04f7 )
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
071582898c
r17960: try to use gmake if present on IRIX
...
metze
(This used to be commit 18b4ae591a )
2007-10-10 14:16:57 -05:00
Stefan Metzmacher
722d20f4dd
r17958: as talloc_init() enabled null tracking, we should avoid to use it
...
in smbtorture, and in the LOCAL-TALLOC we should reset the null tracking
also make bin/smbtorture //url/foo LOCAL-TALLOC LOCAL-TALLOC possible
metze
(This used to be commit d1dd3df5e4 )
2007-10-10 14:16:57 -05:00
Stefan Metzmacher
cca9dbb66f
r17957: don't try to use an internet connection when generating the manpage
...
and only install the manpage if we build it
metze
(This used to be commit 23c6c7a27c )
2007-10-10 14:16:57 -05:00
Stefan Metzmacher
930edaaba7
r17952: merge changes from samba3
...
metze
(This used to be commit ff8d044c2e )
2007-10-10 14:16:56 -05:00
Stefan Metzmacher
4ce057c3f4
r17950: sync talloc with samba3
...
metze
(This used to be commit 5697841e29 )
2007-10-10 14:16:56 -05:00
Stefan Metzmacher
832ac85ba3
r17907: - add a generic talloc_report_depth_cb() function which takes a callback
...
to do the actual report.
- make the talloc_report_depth_file() a wrapper of it
- and talloc_report() and talloc_report_full() are wrapper of
talloc_report_depth_file()
metze
(This used to be commit b199557b35 )
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
3caba85623
r17905: fix c++ warnings
...
metze
(This used to be commit 972a84f220 )
2007-10-10 14:16:53 -05:00
Stefan Metzmacher
59057c8d56
r17895: - talloc_increase_ref_count() can fail
...
- make talloc_reference() typesafe when gcc >= 3 is used
metze
(This used to be commit 933d1b47ad )
2007-10-10 14:16:53 -05:00
Stefan Metzmacher
3400d91197
r17893: add a function to disable the null_context
...
metze
(This used to be commit 7cab4285b1 )
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
98a1bd7fb3
r17892: fix the last talloc c++ warning
...
metze
(This used to be commit 6955ffe454 )
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
45b8c41038
r17891: remove c++ warnings from talloc
...
metze
(This used to be commit fb73ce8d43 )
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
5ed074715a
r17886: add talloc_ptrtype() and talloc_array_ptrtype(),
...
see the manpage what they do:-)
metze
(This used to be commit bfca83c91e )
2007-10-10 14:16:51 -05:00
Stefan Metzmacher
82d4c5095d
r17885: use _TALLOC_TYPEPF() consitently
...
metze
(This used to be commit 155cd6b882 )
2007-10-10 14:16:51 -05:00
Stefan Metzmacher
200619b368
r17883: check if talloc_asprintf() works correct
...
metze
(This used to be commit bb79542edb )
2007-10-10 14:16:50 -05:00
Stefan Metzmacher
31356c0283
r17712: fix compiler warning
...
metze
(This used to be commit 669d1e5f92 )
2007-10-10 14:16:29 -05:00
Andrew Tridgell
f35b215147
r17685: talloc.pc is in the build directory
...
(This used to be commit 14a8faa164 )
2007-10-10 14:16:24 -05:00
Andrew Tridgell
a11045d913
r17683: to pick up config.h we need -I. as well for talloc
...
(This used to be commit 07401300ff )
2007-10-10 14:16:23 -05:00
Andrew Tridgell
d132f724bd
r17681: fixed standalone talloc build to support building in a separate
...
directory
(This used to be commit c137a7049e )
2007-10-10 14:16:23 -05:00
Andrew Tridgell
f23be49188
r17645: gcc 4.1.x has started producing "value computed is not used" warnings
...
in very annoying ways for talloc_steal. This rather strange looking
cpp approach avoids these warnings. It's really a problem in gcc, but
better to do this than put up with the huge flood of warnings.
(This used to be commit 8236a0ac5e )
2007-10-10 14:16:19 -05:00
Andrew Tridgell
c0e60d0535
r17578: in standalone talloc build ensure we get intptr_t if available (which
...
makes the discard_const stuff nicer)
(This used to be commit 662f01f8ba )
2007-10-10 14:15:38 -05:00
Stefan Metzmacher
14d3223321
r17413: add a new case for the this:
...
top->level1->level2->level3
level3 has a deny destructor
talloc_free(level1)
result: top->level3
metze
(This used to be commit 3be930b81d )
2007-10-10 14:15:22 -05:00
Stefan Metzmacher
da9723c224
r17264: - remove unused includes from talloc
...
- check explicit check for varargs.h as fallback from stdarg.h
and fail the build if both are not present
metze
(This used to be commit b091d182fe )
2007-10-10 14:10:25 -05:00
Stefan Metzmacher
02ea24bcd1
r17263: export talloc_free_children()
...
metze
(This used to be commit 195754b169 )
2007-10-10 14:10:24 -05:00
Stefan Metzmacher
8194dfd289
r17257: make the size_t is to small error more verbose
...
(hopefully nobody will ever see this:-)
metze
(This used to be commit 196803a6c6 )
2007-10-10 14:10:24 -05:00
Stefan Metzmacher
d86e04ca1e
r17241: substitude @datarootdir@ with old autoconf versions:-)
...
metze
(This used to be commit ed5ffc7bfc )
2007-10-10 14:10:23 -05:00
Jelmer Vernooij
7cdd639cc2
r17238: Add datarootdir (required for newer autoconf versions)
...
(This used to be commit c575dee5c7 )
2007-10-10 14:10:22 -05:00
Stefan Metzmacher
550f5fb26e
r17176: remove off_t from talloc. size_t is large enough to hold
...
the max amount of memory of one process
metze
(This used to be commit f47b7bb656 )
2007-10-10 14:10:16 -05:00
Stefan Metzmacher
48fac823d2
r17157: bail out if sizeof(size_t) < sizeof(void *)
...
metze
(This used to be commit f94198c2a8 )
2007-10-10 14:10:14 -05:00
Stefan Metzmacher
02ac968a26
r17156: check for the size of a pointer
...
metze
(This used to be commit 58e124ade3 )
2007-10-10 14:10:14 -05:00
Stefan Metzmacher
e3fd9ccd4e
r17109: - use AC_SYS_LARGEFILE so that type sizes are the same when talloc
...
is build standalone and inside samba
- add configure checks for the some type sizes for debugging
metze
(This used to be commit 2977e7097a )
2007-10-10 14:10:13 -05:00
Stefan Metzmacher
4e4e698f2b
r17062: make correct use of talloc destructors, and make the code much simpler
...
should I merge that aslo to samba3?
metze
(This used to be commit c5672a54a0 )
2007-10-10 14:10:10 -05:00
Stefan Metzmacher
cab68a413b
r17061: - remove the currect talloc chunk from it's parent before freeing the children
...
this fixes an endless loop bug!
- reenable the test for this
should I merge this to samba3?
metze
(This used to be commit 0559222b62 )
2007-10-10 14:10:09 -05:00
Stefan Metzmacher
ec2b3baf09
r16922: move some macros out of talloc.h as the don't belong to talloc
...
metze
(This used to be commit 4c68e315e2 )
2007-10-10 14:10:01 -05:00
Stefan Metzmacher
3cd96fd4f9
r16447: print the result of talloc_set_parent()
...
trying to find the bug on HPUX
metze
(This used to be commit 3db6bd8715 )
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
816c055123
r16446: talloc_set_name() allocates and can fail...
...
pass the error to the callers
metze
(This used to be commit 7aa07a1e0b )
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
3a0a00f1b9
r16445: print out values
...
metze
(This used to be commit 972634b202 )
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
ca17b875b3
r16442: if we want to use CHECK_SIZE(NULL, 3)
...
we need null tracking, so enable it explicit before running any tests
metze
(This used to be commit f3cd971ab7 )
2007-10-10 14:09:14 -05:00
Andrew Tridgell
d5e3f86ece
r15856: fixed talloc_asprintf_append() on solaris
...
(This used to be commit bba33a976b )
2007-10-10 14:08:33 -05:00
Andrew Tridgell
a665cccd2e
r15852: patch from Rusty to make talloc_set_destructor() and talloc_steal()
...
type safe. This only works on recent gcc versions. With other
compilers it reverts to a non-typesafe cast
The patch also ensures that talloc_free() does not change error on
systems where free() can change errno
(This used to be commit babbff5f77 )
2007-10-10 14:08:32 -05:00
Andrew Tridgell
0db0de6190
r15828: a talloc steal optimisation spotted by metze
...
(This used to be commit e00ff9f35e )
2007-10-10 14:08:29 -05:00
Andrew Tridgell
5da75f5c36
r15824: fixed a subtle talloc bug to do with memory context loops. When you
...
have a structure that references one of its parents, and a parent of
that parent is freed, then the whole structure should be freed, not
just the reference.
this was found by the change notify code, as a side effect of fixing
the memory leak yesterday
(This used to be commit 70531dcaee )
2007-10-10 14:08:28 -05:00
Jelmer Vernooij
69b51f702a
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
...
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6 )
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
4a61e4901e
r14999: Remove more unused autoconf code
...
Simplify va_copy() replacement code a bit
(This used to be commit a5c87360a7 )
2007-10-10 14:04:00 -05:00