summaryrefslogtreecommitdiffstats
path: root/source3/lib/replace
Commit message (Collapse)AuthorAgeFilesLines
...
* Try to fix the build on Tru64; avoid single quotes because they get expanded ↵Jelmer Vernooij2008-01-181-1/+1
| | | | | | | by perl in the build system. (cherry picked from commit bba8914af56cb161c275fbbdea2479d6f8bd703c) (This used to be commit a0e663ff2c6548e48c9710e3fb314f3bbabb59d0)
* r26550: libreplace: fallback to __ss_family of struct sockaddr_storageStefan Metzmacher2008-01-182-0/+29
| | | | | | metze (cherry picked from commit 11bdc9bed80b9842ac1ab8f22509a5d191cddc91) (This used to be commit c11122afda52ce787dd1d3357bd85b6ce36b8ca4)
* r26102: libreplace: remove system/printing.h as it only contains samba3 stuffStefan Metzmacher2008-01-182-51/+0
| | | | | | metze (cherry picked from commit 1ecb4ec01b0506c95a5f90a62040329e7a39ee93) (This used to be commit ff8a001f0d3f2655efafed41f2f0b14552a5c7e7)
* r25976: libreplace: not all platforms like _XOPEN_SOURCE=600Stefan Metzmacher2008-01-181-2/+5
| | | | | | | | | - Only use _XOPEN_SOURCE=600 on Tru64 - _OSF_SOURCE is also Tru64 specific metze (cherry picked from commit d19ab62081ce4ee4273ff752ad0443782a994826) (This used to be commit dbff70b2ebe7cc09f7fbe5a0319f978dfcfa1da9)
* r25974: libreplace: see what the build-farm says if we use _XOPEN_SOURCE=600Stefan Metzmacher2008-01-181-0/+1
| | | | | | | | On Tru64 this brings in socklen_t and some other socket stuff metze (cherry picked from commit d42f2e5759332f1f0c6c1269bd29ac62ddb11016) (This used to be commit af3772e22f5e6e0158783086e9791ffc95ee5368)
* r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINEStefan Metzmacher2008-01-182-15/+2
| | | | | | metze (cherry picked from commit 05b4619c5beff474488d1abe5e647acd94a3e20c) (This used to be commit 58932ca791024bd9a543ff5e21bc26970ceed477)
* r25970: libreplace: fix AC_N_DEFINE() so that some appears in config.hStefan Metzmacher2008-01-181-5/+12
| | | | | | metze (cherry picked from commit a07c983fde52607806745914bb41039afb5618cc) (This used to be commit 3db37038b3e5a59a9baa85f6bcd32ac6e5ec2da1)
* Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testJelmer Vernooij2008-01-051-0/+4
|\ | | | | | | (This used to be commit 5a30f6377d37d8a5cadce4fb9a2fc19b78fc1709)
| * Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storageVolker Lendecke2007-12-251-0/+4
| | | | | | | | (This used to be commit e33286f4a68352e55df081d06307f64f190773b3)
* | selftest: Use platform-specific equivalents of LD_LIBRARY_PATH for Samba4's ↵Jelmer Vernooij2008-01-051-13/+154
|/ | | | | | smbtorture. (This used to be commit 64ff1dad8664f14030c7d78c252d946216798a88)
* Fix bug #5121 (unix passwd sync not working on a streams basedJeremy Allison2007-12-172-0/+5
| | | | | | system). Jeremy. (This used to be commit 545cd2139cfc9484b733693814d4724d37125942)
* Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech ↵Jeremy Allison2007-12-112-0/+14
| | | | | | | | Republic <Jiri.Sasek@Sun.COM> - slightly modified - Jiri please check ! to allow Solaris to get passwords > 8 chars. Jeremy. (This used to be commit 657bf8c3479d6192f269e3daef1517e77a9fa9cb)
* Reformat configure checks for broken capabilities.h.Michael Adam2007-12-031-16/+24
| | | | | Michael (This used to be commit 834a16225a8fb905a8f870a17ba67670e622eccc)
* Move check for broken system capabilites.h headers to lib/replace.Michael Adam2007-12-031-0/+30
| | | | | Michael (This used to be commit 8ec10c4ab1aa890c9f03d34bd872c93ae5c4d84c)
* Add check for ppc statfs.h header to workaround for broken capabilities.h.Michael Adam2007-12-031-1/+3
| | | | | | | Taken from s3:lib/system.c Michael (This used to be commit 07e6cfdc626c2778292e5b0b338a35046c482cf9)
* Fix bug 5055Volker Lendecke2007-11-261-1/+1
| | | | (This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
* Add MAX_DNS_NAME_LENGTH, remove more pstrings.Jeremy Allison2007-11-151-0/+4
| | | | | Jeremy. (This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)
* Fix the build on RHEL5, when libcap-devel is installed.Michael Adam2007-11-161-0/+9
| | | | | | | | | | | | | The /usr/include/sys/capability.h defines _LINUX_TYPES_H which prevents /usr/include/linux/types.h from being parsed (when included afterwards). Thus certain types are undefined that are for instance needed in /usr/include/linux/dqblk_xfs.h. This breaks the build of lib/sysquotas_xfs.c. This commit adds a configure check and a workaround for this. Michael (This used to be commit 11bcdf780e164659b89a66e24edc27e89da7619a)
* Always define PATH_MAX. Makes code simpler (removesJeremy Allison2007-11-101-0/+4
| | | | | | a bunch of #defines). Remove pstring from msdfs.c. Jeremy. (This used to be commit e203ba22275320808bc11b17361ad1f2d5b0b897)
* libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in ↵metze2007-11-091-2/+2
| | | | | | | | | confdefs.h metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25870 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 95dfbd3a6c22ff6381c8b220b06ec3a5cf59c06b)
* libreplace: solaris has different prototypes for getpwent_r and getgrent_rmetze2007-11-091-0/+32
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25867 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 77900d2ba03455412ad645e757ba468ca90453fb)
* libreplace: check for nss passwd|group get*_r functionsmetze2007-11-091-0/+2
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25865 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 8e81dd7356eb8422284a93bfc9b55ed1523c8208)
* Try to fix building dso's on hpux with gccjelmer2007-11-091-1/+5
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25886 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 4642af8026f086488672a51a0ecce2603e65f4ce)
* Try to get some more flags right.jelmer2007-11-091-4/+4
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25880 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit ccb39b18448376b094680fa927c60159cc5ec566)
* Add libreplace macro for soname flags.jelmer2007-11-091-0/+41
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25877 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 81167d8f38e11423bcde5305f9e77ec268b0cf2e)
* Try to fix the build on some HPUX machines.jelmer2007-11-091-3/+1
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25875 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 8d1f54f45d9b8278e5e031d016b1e7b44d3b1a22)
* Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison2007-11-081-1/+1
| | | | | Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
* libreplace: we need to link to make sure the functions are availableStefan Metzmacher2007-11-081-1/+1
| | | | | metze (This used to be commit 130de20d646fe14f494b021a98d6855c7b5b2a1a)
* Fix bug where tdb lock call interrupted withJeremy Allison2007-11-062-0/+8
| | | | | | | | | an alarm sig would not terminate and could lead to runaway smbd processes. Thanks to Dave Daugherty @ Centrify for pointing this out to us. Jeremy. (This used to be commit ef8da1698371c95495add53df81a978df709c88d)
* libreplace: we should only have one location where we check for required ↵metze2007-11-061-4/+1
| | | | | | | | | functions metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25864 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 760f24f10cbea7ce22acd0772fb5b125f718d129)
* libreplace: we need include <unistd.h> before nss_wrapper.hmetze2007-11-061-0/+3
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25863 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 20ec1f472566bbc570fa138cce5dbd0407aef530)
* Fix export dynamic for HPUX.jelmer2007-11-061-4/+12
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25861 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 4d02b1344b76c6147944188161f73ad3917b8abc)
* Remove flag that causes problems on some hosts.jelmer2007-11-061-1/+1
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25860 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 57bea8cd02cb7964bbb64ba26b83c372f0e12b94)
* Wrap native HPUX functions in dl implementation.jelmer2007-11-061-0/+16
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25859 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 0ec16729299887b4a80a7e24fbd1750632276691)
* Check for HPUX dl functions.jelmer2007-11-061-0/+5
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25855 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 9f862e9faf0fa9cddfcc2f87d9f247082718b3e0)
* Move SHLIBEXT determination into a test as well.jelmer2007-11-061-0/+18
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25852 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 322cf8002bab1e449616d9fcea0bd4c9535cfe6a)
* Move system-specific ldflags checks to libreplace so they can be used by ldb.jelmer2007-11-061-0/+38
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25851 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 63b7690335360a073dc1ae111f740a7934f1a92f)
* Add macro for picflag.jelmer2007-11-061-0/+55
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25850 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 48c70f604071fcf7c0887fe0136bdc2dda4c8ff4)
* Add configure test for -Wl,--export-dynamic.jelmer2007-11-062-0/+11
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25846 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 4904af51cdccd4e52d2805bd62f39276447c4646)
* libreplace: include nss_wrapper.h if NSS_WRAPPER is definedmetze2007-11-061-0/+7
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25838 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 809fee4bef66eb8b8687f88257c0d6f77d3b4063)
* Fix the snprintf checks, and fix a typo in pointer indirection.Jeremy Allison2007-11-021-5/+5
| | | | | | | These fixes are needed for a working getaddrinfo etc. replacement. Fixes from Wayne Davison <wayned@samba.org> from rsync. Jeremy. (This used to be commit 494bf6293bedbda4b10aa2eae452377b8130cd01)
* Two patchesVolker Lendecke2007-10-271-0/+1
| | | | | | | | | | | | | | | | Hi! Can you check and push them? Thanks, Volker From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001 From: Volker Lendecke <vl@sernet.de> Date: Sat, 27 Oct 2007 14:20:09 +0200 Subject: [PATCH] Fix some warnings and errors (This used to be commit e17d3e10e860c96b6d5208e5fe51e43b8e58c174)
* Try and fix the Solaris build by adding a missing defineJeremy Allison2007-10-251-0/+5
| | | | | | (from Jerry). Jeremy (This used to be commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6)
* [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.cmetze2007-10-251-0/+11
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25728 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 11a977aa0757801fb0fa805b123e7bc75c8be447)
* [libreplace] move and fix getaddrinfo configure checksmetze2007-10-252-30/+33
| | | | | | | | | | - move getaddrinfo check into getaddrinfo.m4 - add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25726 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit de01c503f4d16b8c3c0ad75225cf0b1822fd8c7f)
* - include getaddrinfo.h after we have defined struct addrinfometze2007-10-253-16/+24
| | | | | | | | | | - use rep_ instead of pg_ as prefix in getaddrinfo.[ch] - define HAVE_<name> macros when we replace functions metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25724 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit e56977ea459b3615d33237d19ed8e7ad8b509853)
* [libreplace] if we replace types define the HAVE_<type> macrometze2007-10-251-0/+3
| | | | | | | | | this is needed as heimdal's roken.h also tries to replace the types metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25718 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit b81d8bc43cd7167a5cd4b18c26ba3eecf75043eb)
* [libreplace] move definition of struct addrinfo so that it can use socklen_tmetze2007-10-251-15/+13
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25715 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 45150075677451b48ce56ebdce96aca1ed13fa80)
* [libreplace] move define of a constant to near to the othersmetze2007-10-251-4/+4
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25714 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit fa120f7c50d0084e7d887811e5fa59ae3bcfe53e)
* [libreplace] include socket_wrapper.h after we have typedef'ed socklen_tmetze2007-10-251-7/+7
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25713 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit f1d434a132e424f2fdce59d51a7c398988c1474d)