summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-05-05tsocket: Added the warning again to tsocket_address_bsd_sockaddr.Andreas Schneider1-0/+3
2010-05-05tdb: fix short write logic in tdb_new_databaseRusty Russell3-17/+17
Commit 207a213c/24fed55d purported to fix the problem of signals during tdb_new_database (which could cause a spurious short write, hence a failure). However, the code is wrong: newdb+written is not correct. Fix this by introducing a general tdb_write_all() and using it here and in the tracing code. Cc: Stefan Metzmacher <metze@samba.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2010-05-04s4-waf: fixed indentation for python 3.1Andrew Tridgell1-1/+1
python 3.x is very fussy about tabs/spaces
2010-05-03s4-waf: fixed target group for SOCKET_WRAPPERAndrew Tridgell1-0/+1
2010-05-03tsocket: Fixed the documentation of tsocket_address_bsd_sockaddr.Andreas Schneider1-6/+13
2010-05-01talloc: Documentation fix for tallocHolger Hans Peter Freyther2-2/+2
2010-04-27lib/tsocket: add tsocket_address_is_unix() functionStefan Metzmacher2-0/+29
metze
2010-04-27lib/tsocket: add tsocket_address_is_inet() functionStefan Metzmacher2-0/+54
metze
2010-04-24Revert "tsocket: not all systems have IPV6_V6ONLY"Stefan Metzmacher1-2/+2
This reverts commit 63fc3978089df403d7e63462593784ff3d05e6e7. We now don't support IPv6 when IPV6_V6ONLY isn't available, as we rely on the behavior. metze
2010-04-24lib/replace/wscript: make sure IPV6_V6ONLY is available for IPv6 supportStefan Metzmacher1-0/+8
We really on IPV6_V6ONLY being supported. metze
2010-04-24lib/replace: make sure IPV6_V6ONLY is available for IPv6 supportStefan Metzmacher1-0/+8
We really on IPV6_V6ONLY being supported. metze
2010-04-24lib/replace/wscript: add replacement for IPV6_V6ONLY on linux systems with ↵Stefan Metzmacher1-0/+19
broken headers This is needed on SLES8. metze
2010-04-24lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken ↵Stefan Metzmacher2-0/+51
headers This is needed on SLES8. metze
2010-04-24lib/zlib/wscript: fix system zlib detectionStefan Metzmacher1-0/+3
metze
2010-04-21build: make python development headers not mandatory in standalone libsAndrew Tridgell1-1/+1
This needed an update to the python tool in waf thanks to Kai for spotting this
2010-04-20util-runcmd: ignore spurious ECHILD errorsAndrew Tridgell1-0/+14
when we get ECHILD in samba_runcmd it is because the parent has set SIGCHLD to SIG_IGN. In that case the child status information is lost. We then have to fallback on the logging of child error messages for any useful information on what happened to the child. A longer term fix is to stop using SIG_IGN for SIGCHLD in the standard process model of s4.
2010-04-20talloc: there is no ambiguity when freeing a ptr with a null parentAndrew Tridgell5-2/+104
when a ptr has a single reference and a NULL parent, then talloc_free(ptr) is not ambiguous, as the caller could not have done a talloc_free(NULL) to free the memory Pair-Programmed-With: Rusty Russell <rusty@samba.org>
2010-04-20tdb: update tdb ABI to use hide_symbols=TrueAndrew Tridgell5-78/+67
We now use -fvisibilty=hidden to hide symbols from outside the tdb shared library. This also moved tdb_transaction_recover() into the tdb_private.h header, as it should never have been a public API. For that reason we are changing the version number. We're only doing a minor version increment as it is extremely unlikely that anyone was actually using tdb_transaction_recover() as its locking requirements were rather unusual. Pair-Programmed-With: Rusty Russell <rusty@samba.org>
2010-04-19runcmd: use tevent_re_initialise() to close socketsAndrew Tridgell1-0/+4
this ensures that all event fds are closed in the child
2010-04-18build: more adjustments for the ABI type name mapsAndrew Tridgell2-4/+4
- use 'va_list' instead of 'struct __va_list_tag *' Using the C name for va_list is preferable - add support for negative ABI name matches in abi_match=. That is used to exlude ldb_*module_ops from the ldb ABI - don't include the ldb module ops or backend ops in the ABI
2010-04-18s4-waf: rebuild signature files with the api type mapsAndrew Tridgell3-23/+23
This is not strictly necessary, as the old types would compare equal, but it is neater to use the generic type names
2010-04-18tevent-waf: enabled ABI checking in teventAndrew Tridgell2-0/+75
2010-04-18tevent: mark backend init fns as _PRIVATE_Andrew Tridgell3-3/+3
these are not supposed to be exposed in the library
2010-04-18tdb-waf: added ABI checking for tdbAndrew Tridgell2-0/+97
2010-04-18talloc: mark public functions as _PUBLIC_Andrew Tridgell1-62/+62
2010-04-18talloc-waf: added ABI checking for tallocAndrew Tridgell2-0/+65
2010-04-18replace-waf: hide symbols in libreplace if a builtin libraryAndrew Tridgell1-0/+1
2010-04-18libreplace: added _PUBLIC_ and _PRIVATE_ to replace.hAndrew Tridgell2-6/+18
these are needed for all libs that use ABI checking, so libreplace is the logical place for now
2010-04-18s4-waf: put the --xxx-wrapper options in 'developer options' groupAndrew Tridgell3-5/+8
2010-04-13s4-waf: don't try to use the system lib for the library buildAndrew Tridgell2-9/+11
when building library FOO, don't try to find the system library FOO Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13tevent-waf: added man page and pkgconfig fileAndrew Tridgell1-3/+11
this allows libtevent to build under rpmbuild Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13tdb-waf: added build of manpages and config options for RPM buildAndrew Tridgell1-3/+44
Building a RPM from the fedora spec file now works with minimal changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13talloc-waf: the talloc1-compat lib depends on tallocAndrew Tridgell1-2/+2
It is a library linked to another library, not a 2nd copy of talloc.c Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13talloc-waf: added the manpage generation and talloc1-compat generationAndrew Tridgell1-1/+34
this allows the RPM spec file to be used with only a tiny mod (using autogen-waf.sh instead of autogen.sh and using ln -sf for the library links instead of ln -s) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13s4-tevent: up tevent version numberAndrew Tridgell2-2/+2
tevent now has tevent_re_initialise() which is needed for the s4 build
2010-04-12lib/replace/wscript: avoid global deps for LIBREPLACE_HOSTCCStefan Metzmacher1-0/+1
metze
2010-04-12lib/replace/wscript: inline LIBREPLACE_EXT into 'replace' as the autoconf ↵Stefan Metzmacher1-9/+2
system does metze
2010-04-12lib/nss_wrapper/wscript_build: 'replace' already includes 'dl'Stefan Metzmacher1-1/+1
metze
2010-04-12lib/replace/wscript: add dependency to 'dl'Stefan Metzmacher1-1/+1
metze
2010-04-12lib/replace/wscript: rename LIBREPLACE_H => LIBREPLACE_HOSTCCStefan Metzmacher1-2/+2
metze
2010-04-12s4-waf: move the KRB5_DEPRECATED check into lib/replaceAndrew Tridgell1-0/+7
this needs to be with the krb5.h check for the source3 build
2010-04-12s4-waf: inline LIBREPLACE_NETWORK into 'replace'Stefan Metzmacher4-17/+9
metze
2010-04-12lib/replace/wscript: rename REPLACE_H_SOURCE => REPLACE_HOSTCC_SOURCEStefan Metzmacher1-5/+6
metze
2010-04-12lib/replace/wscript: implement the same getpass detection logic as the ↵Stefan Metzmacher1-2/+2
autoconf version metze
2010-04-12lib/replace/wscript: inline LIBREPLACE_GETPASS into 'replace'Stefan Metzmacher1-5/+3
metze
2010-04-12build: use a common autogen-waf.sh for all buildsAndrew Tridgell4-88/+4
the symlink will get updated with the right target when waf dist is used in each directory
2010-04-11subunit: Cope with lowercase test results in tap2subunit.Jelmer Vernooij2-5/+16
Also submitted upstream.
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij1-1/+1
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
2010-04-10torture: Simplify torture suite running, call restricted test suite runner.Jelmer Vernooij2-0/+12
2010-04-10lib/replace: create a LIBREPLACE_H subsystemStefan Metzmacher1-3/+12
metze