summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* talloc: Documentation fix for tallocHolger Hans Peter Freyther2010-05-012-2/+2
|
* lib/tsocket: add tsocket_address_is_unix() functionStefan Metzmacher2010-04-272-0/+29
| | | | metze
* lib/tsocket: add tsocket_address_is_inet() functionStefan Metzmacher2010-04-272-0/+54
| | | | metze
* Revert "tsocket: not all systems have IPV6_V6ONLY"Stefan Metzmacher2010-04-241-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
* lib/replace/wscript: make sure IPV6_V6ONLY is available for IPv6 supportStefan Metzmacher2010-04-241-0/+8
| | | | | | We really on IPV6_V6ONLY being supported. metze
* lib/replace: make sure IPV6_V6ONLY is available for IPv6 supportStefan Metzmacher2010-04-241-0/+8
| | | | | | We really on IPV6_V6ONLY being supported. metze
* lib/replace/wscript: add replacement for IPV6_V6ONLY on linux systems with ↵Stefan Metzmacher2010-04-241-0/+19
| | | | | | | | broken headers This is needed on SLES8. metze
* lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken ↵Stefan Metzmacher2010-04-242-0/+51
| | | | | | | | headers This is needed on SLES8. metze
* lib/zlib/wscript: fix system zlib detectionStefan Metzmacher2010-04-241-0/+3
| | | | metze
* build: make python development headers not mandatory in standalone libsAndrew Tridgell2010-04-211-1/+1
| | | | | | This needed an update to the python tool in waf thanks to Kai for spotting this
* util-runcmd: ignore spurious ECHILD errorsAndrew Tridgell2010-04-201-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.
* talloc: there is no ambiguity when freeing a ptr with a null parentAndrew Tridgell2010-04-205-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>
* tdb: update tdb ABI to use hide_symbols=TrueAndrew Tridgell2010-04-205-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>
* runcmd: use tevent_re_initialise() to close socketsAndrew Tridgell2010-04-191-0/+4
| | | | this ensures that all event fds are closed in the child
* build: more adjustments for the ABI type name mapsAndrew Tridgell2010-04-182-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
* s4-waf: rebuild signature files with the api type mapsAndrew Tridgell2010-04-183-23/+23
| | | | | This is not strictly necessary, as the old types would compare equal, but it is neater to use the generic type names
* tevent-waf: enabled ABI checking in teventAndrew Tridgell2010-04-182-0/+75
|
* tevent: mark backend init fns as _PRIVATE_Andrew Tridgell2010-04-183-3/+3
| | | | these are not supposed to be exposed in the library
* tdb-waf: added ABI checking for tdbAndrew Tridgell2010-04-182-0/+97
|
* talloc: mark public functions as _PUBLIC_Andrew Tridgell2010-04-181-62/+62
|
* talloc-waf: added ABI checking for tallocAndrew Tridgell2010-04-182-0/+65
|
* replace-waf: hide symbols in libreplace if a builtin libraryAndrew Tridgell2010-04-181-0/+1
|
* libreplace: added _PUBLIC_ and _PRIVATE_ to replace.hAndrew Tridgell2010-04-182-6/+18
| | | | | these are needed for all libs that use ABI checking, so libreplace is the logical place for now
* s4-waf: put the --xxx-wrapper options in 'developer options' groupAndrew Tridgell2010-04-183-5/+8
|
* s4-waf: don't try to use the system lib for the library buildAndrew Tridgell2010-04-132-9/+11
| | | | | | when building library FOO, don't try to find the system library FOO Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tevent-waf: added man page and pkgconfig fileAndrew Tridgell2010-04-131-3/+11
| | | | | | this allows libtevent to build under rpmbuild Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tdb-waf: added build of manpages and config options for RPM buildAndrew Tridgell2010-04-131-3/+44
| | | | | | Building a RPM from the fedora spec file now works with minimal changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* talloc-waf: the talloc1-compat lib depends on tallocAndrew Tridgell2010-04-131-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>
* talloc-waf: added the manpage generation and talloc1-compat generationAndrew Tridgell2010-04-131-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>
* s4-tevent: up tevent version numberAndrew Tridgell2010-04-132-2/+2
| | | | tevent now has tevent_re_initialise() which is needed for the s4 build
* lib/replace/wscript: avoid global deps for LIBREPLACE_HOSTCCStefan Metzmacher2010-04-121-0/+1
| | | | metze
* lib/replace/wscript: inline LIBREPLACE_EXT into 'replace' as the autoconf ↵Stefan Metzmacher2010-04-121-9/+2
| | | | | | system does metze
* lib/nss_wrapper/wscript_build: 'replace' already includes 'dl'Stefan Metzmacher2010-04-121-1/+1
| | | | metze
* lib/replace/wscript: add dependency to 'dl'Stefan Metzmacher2010-04-121-1/+1
| | | | metze
* lib/replace/wscript: rename LIBREPLACE_H => LIBREPLACE_HOSTCCStefan Metzmacher2010-04-121-2/+2
| | | | metze
* s4-waf: move the KRB5_DEPRECATED check into lib/replaceAndrew Tridgell2010-04-121-0/+7
| | | | this needs to be with the krb5.h check for the source3 build
* s4-waf: inline LIBREPLACE_NETWORK into 'replace'Stefan Metzmacher2010-04-124-17/+9
| | | | metze
* lib/replace/wscript: rename REPLACE_H_SOURCE => REPLACE_HOSTCC_SOURCEStefan Metzmacher2010-04-121-5/+6
| | | | metze
* lib/replace/wscript: implement the same getpass detection logic as the ↵Stefan Metzmacher2010-04-121-2/+2
| | | | | | autoconf version metze
* lib/replace/wscript: inline LIBREPLACE_GETPASS into 'replace'Stefan Metzmacher2010-04-121-5/+3
| | | | metze
* build: use a common autogen-waf.sh for all buildsAndrew Tridgell2010-04-124-88/+4
| | | | | the symlink will get updated with the right target when waf dist is used in each directory
* subunit: Cope with lowercase test results in tap2subunit.Jelmer Vernooij2010-04-112-5/+16
| | | | Also submitted upstream.
* subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij2010-04-111-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.
* torture: Simplify torture suite running, call restricted test suite runner.Jelmer Vernooij2010-04-102-0/+12
|
* lib/replace: create a LIBREPLACE_H subsystemStefan Metzmacher2010-04-101-3/+12
| | | | metze
* lib/torture: also print intergers as HEX values in the torture_assert macrosStefan Metzmacher2010-04-091-6/+8
| | | | metze
* torture: add torture_assert_goto() convenience macroKamen Mazdrashki2010-04-091-0/+7
|
* tsocket_bsd: Always use a real length for the sa_socklen, and keep it aroundAndrew Bartlett2010-04-081-68/+16
| | | | | | | | The previous code assumed the OS would happily accept sizeof(struct sockaddr_storage). It seems some versions of Solaris do not like this. Andrew Bartlett
* Revert "socket-wrapper: not all systems have FIONREAD defined"Stefan Metzmacher2010-04-081-2/+0
| | | | | | | | | | | | | | | | | | | This reverts commit 710aa773d54509de34404f9992c5058ddfa45f3b. We rely on FIONREAD in a lot of other parts in the code, so there's no need to have an ifdef for it in the socket_wrapper code. On tru64 FIONREAD is defined in <sys/ioctl.h> and we include <sys/ioctl.h> via "system/network.h". Tridge: maybe a HAVE_SYS_IOCTL_H was missing at the time you tried it on tru64? If we find a platform that doesn't support it, we need to bail out at configure time or provide a replacement in libreplace. metze
* build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy2010-04-083-6/+4
| | | | | | Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>