1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-06 16:23:49 +03:00
Commit Graph

209 Commits

Author SHA1 Message Date
Stefan Metzmacher
2be48c1b03 r18995: - fix bug 4078
- talloc_free(talloc_autofree_context()); should not result
  in a SIGABORT on exit
- add a test for this, but this test can also pass in the standalone build
  and samba3, as samba4 uses talloc_autofree_context()

metze
2007-10-10 14:20:27 -05:00
Stefan Metzmacher
4505958224 r18946: fix compiler warning
metze
2007-10-10 14:20:23 -05:00
Andrew Tridgell
fbd8028080 r18601: updated web page for new talloc build method 2007-10-10 14:18:55 -05:00
Andrew Tridgell
13878b7e7e r18600: - fix shell syntax in tests for libraries
- add library test for libpopt
2007-10-10 14:18:55 -05:00
Andrew Tridgell
9f45f970f7 r18594: fail the configure step if the required library is not found for tdb,
talloc or libreplace
2007-10-10 14:18:54 -05:00
Andrew Tridgell
5a8becb1be r18539: 'make distclean' should delete config.cache 2007-10-10 14:18:43 -05:00
Andrew Tridgell
823cd3ab35 r18535: move the AC_CANONICAL_HOST and host specific flag tests into
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.

Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
2007-10-10 14:18:42 -05:00
Andrew Tridgell
9b9f058edb r18521: implement volkers suggestion for avoiding the type punning warnings 2007-10-10 14:18:41 -05:00
Stefan Metzmacher
95d33e4d71 r18485: include libreplace.m4 in the aclocal.m4 files
and use the macros in configure.ac

metze
2007-10-10 14:18:36 -05:00
Andrew Tridgell
254cbf09de r18439: 2nd try at a talloc_move() api. This type with the ** ptr interface
exposed.

Unfortunately this generates a large number of type punning
warnings. We'll have to find some magic to hide those.
2007-10-10 14:18:29 -05:00
Andrew Tridgell
200756017e r18435: added a function talloc_move() which is like talloc_steal(), but is
meant for moving pointers between structures. The difference is that
talloc_move() will zero the source pointer, thus ensuring you don't
reference the pointer in the old context.

talloc_move() is appropriate in some, but not all cases where we use
talloc_steal() now. The interface came out of a discussion with
Jeremy.
2007-10-10 14:18:29 -05:00
Andrew Tridgell
03f9c67c06 r18283: libreplace.m4 needs to be early in configure.ac in other packages too 2007-10-10 14:18:01 -05:00
Stefan Metzmacher
135d096776 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
2007-10-10 14:17:50 -05:00
Jelmer Vernooij
6f5e7df6f2 r18163: Remove defines for BOOL, False and True 2007-10-10 14:17:44 -05:00
Stefan Metzmacher
38f9e90a12 r18152: move our AC macros into lib/replace/libreplace_macros.m4
and include them from there

metze
2007-10-10 14:17:43 -05:00
Andrew Tridgell
a4d1f1d222 r18143: the 'showflags' convention from Samba is useful for the other packages 2007-10-10 14:17:40 -05:00
Stefan Metzmacher
c8342c9ae5 r18142: add make distclean to talloc build
metze
2007-10-10 14:17:39 -05:00
Andrew Tridgell
77d1a468e0 r18129: moved the system includes into libreplace - this gives much more
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)
2007-10-10 14:17:36 -05:00
Stefan Metzmacher
357882e6ec r18100: actually make usage of libreplace :-)
metze
2007-10-10 14:17:16 -05:00
Stefan Metzmacher
b787259365 r18096: try to make tcc happy and don't the same struct names in a global and
a local scope

metze
2007-10-10 14:17:16 -05:00
Stefan Metzmacher
8246d8ecd2 r18089: sometimes autoconf picks up some old stuff:
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done

metze
2007-10-10 14:17:14 -05:00
Andrew Tridgell
e485b25a39 r18086: here too 2007-10-10 14:17:14 -05:00
Andrew Tridgell
9bc583cf6c r18083: i should sleep more .... 2007-10-10 14:17:13 -05:00
Andrew Tridgell
7f7c85fa2f r18082: bring talloc in line with new conventions 2007-10-10 14:17:13 -05:00
Andrew Tridgell
1185dd044b r18080: added distclean target to talloc 2007-10-10 14:17:12 -05:00
Andrew Tridgell
b5d519eb1e r18077: move some configure tests out of talloc that are now in libreplace 2007-10-10 14:17:12 -05:00
Andrew Tridgell
968a4e97cf r18076: convert talloc to the new libreplace system 2007-10-10 14:17:12 -05:00
Stefan Metzmacher
c60deff667 r18064: merge from samba3
metze
2007-10-10 14:17:10 -05:00
Jelmer Vernooij
fe7ca4b145 r18031: Merge my replace fixes:
* libreplace can now build stand-alone
 * add stub testsuite for libreplace
 * make talloc/tdb/ldb use libreplace
2007-10-10 14:17:05 -05:00
Volker Lendecke
cd495d8931 r18027: Fix some 64-bit warnings 2007-10-10 14:17:04 -05:00
Stefan Metzmacher
2493f670d3 r17966: remove all generated files
metze
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
64ba7ffdb8 r17965: make talloc build more portable
metze
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
87d88b3a47 r17964: try to support sun* hosts
metze
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
161f2c04f7 r17963: fix install logic for talloc.3
metze
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
18b4ae591a r17960: try to use gmake if present on IRIX
metze
2007-10-10 14:16:57 -05:00
Stefan Metzmacher
d1dd3df5e4 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
2007-10-10 14:16:57 -05:00
Stefan Metzmacher
23c6c7a27c r17957: don't try to use an internet connection when generating the manpage
and only install the manpage if we build it

metze
2007-10-10 14:16:57 -05:00
Stefan Metzmacher
ff8d044c2e r17952: merge changes from samba3
metze
2007-10-10 14:16:56 -05:00
Stefan Metzmacher
5697841e29 r17950: sync talloc with samba3
metze
2007-10-10 14:16:56 -05:00
Stefan Metzmacher
b199557b35 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
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
972a84f220 r17905: fix c++ warnings
metze
2007-10-10 14:16:53 -05:00
Stefan Metzmacher
933d1b47ad r17895: - talloc_increase_ref_count() can fail
- make talloc_reference() typesafe when gcc >= 3 is used

metze
2007-10-10 14:16:53 -05:00
Stefan Metzmacher
7cab4285b1 r17893: add a function to disable the null_context
metze
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
6955ffe454 r17892: fix the last talloc c++ warning
metze
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
fb73ce8d43 r17891: remove c++ warnings from talloc
metze
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
bfca83c91e r17886: add talloc_ptrtype() and talloc_array_ptrtype(),
see the manpage what they do:-)

metze
2007-10-10 14:16:51 -05:00
Stefan Metzmacher
155cd6b882 r17885: use _TALLOC_TYPEPF() consitently
metze
2007-10-10 14:16:51 -05:00
Stefan Metzmacher
bb79542edb r17883: check if talloc_asprintf() works correct
metze
2007-10-10 14:16:50 -05:00
Stefan Metzmacher
669d1e5f92 r17712: fix compiler warning
metze
2007-10-10 14:16:29 -05:00
Andrew Tridgell
14a8faa164 r17685: talloc.pc is in the build directory 2007-10-10 14:16:24 -05:00