summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2008-02-22libreplace: don't use socketwrapper for getifaddrs() implementations.Michael Adam1-0/+2
Michael (cherry picked from commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909) (This used to be commit a83db886e50b6ceeb71d93bf86fb5e0964b8d45f)
2008-02-22libreplace: Fix comment originating from old samba source.Michael Adam1-1/+1
Michael (This used to be commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
2008-02-22libreplace: fix creation of conftest files for getifaddrs tests.Michael Adam1-4/+11
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE. Michael (cherry picked from commit 26e6ebc7090b5742deb67805d85d809cafb4543d) (This used to be commit e00c6513e05afe91d4c419287283b34e931a161c)
2008-02-22Fix linked list of ifaddrs in implementations of rep_getifaddrs.Michael Adam1-3/+3
Produce proper list instead of one-node-loop. Michael (cherry picked from commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b) (This used to be commit 744d5ba7adab65a9774a18eb42b7090f49e423f2)
2008-02-22Add missing initalizations of lastif in rep_getifaddr implementations.Michael Adam1-3/+6
Michael (cherry picked from commit 65710e752f72070cb911867ff9f31f91904ca5c0) (This used to be commit 5bd613a2cda5d287706f2ce72f4ee08a7fa45b72)
2008-02-21libreplace: fix compile errors in getifaddrs.cMichael Adam1-6/+3
Michael (cherry picked from commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637) (This used to be commit 4da2d999a28c8fd3e93480194a153cf6a10de986)
2008-02-21Try and fix getifaddrs check on irix: dont't try to include config.hMichael Adam1-0/+3
The missing header file is judged "catastrophic" on irix. Michael (cherry picked from commit 5778c90819a5a5cee38be690f442c571f3a6a051) (This used to be commit 0d4522a06d4465f6eadbdf14381c9e08cf7e1dc9)
2008-02-20Support dlopen(NULL, ...) on HPUX.Jelmer Vernooij1-0/+2
(This used to be commit 53c70b5f77a3b9abaab783590e66278129173d5f)
2008-02-20libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.Michael Adam1-36/+36
Michael (This used to be commit 83387ecccfe95b80525bf53c5fc9e945ffee10ec)
2008-02-20libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.Michael Adam1-8/+8
Michael (This used to be commit 00c173bfba9c659750bf231fbd9278dd38aa8bfc)
2008-02-20libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.Michael Adam1-6/+6
Michael (This used to be commit d3b3d3ec9ff64108b4cd5b7c912ab4ea207256cb)
2008-02-20libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4Michael Adam1-15/+15
Michael (This used to be commit acab9def2a1e3460bef8baae6efc66d9dfad6eac)
2008-02-20NetBSD does not support AI_ADDRCONFIGVolker Lendecke1-0/+7
(cherry picked from commit fb3f7f4046fa195baf5116598772d9016238637f) (This used to be commit e8f3653414c12fb752c096d848dc962008d90439)
2008-02-20NetBSD needs LD_LIBRARY_PATHVolker Lendecke1-0/+3
(cherry picked from commit d64b19e77aa499c1ee1aaf788ddf3d6fd36253e4) (This used to be commit 4c77550d80b0cfc80bc2cac500fc27e0c43dad64)
2008-02-19Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.Michael Adam1-3/+0
Michael (This used to be commit d10cbb533c18a6d74160477d34a81bbd4cd6c7c8)
2008-01-22libreplace: getpwent_r/getgrent_r on IRIX are similar to solaris but use size_tStefan Metzmacher1-0/+25
metze (cherry picked from commit 2f460915111066d79f5dc9b4ae4d003918d06852) (This used to be commit d2ac8be28d3aff59eddbdc6189a255a34c10d502)
2008-01-15Fix bug #5121 (unix passwd sync not working on a streams basedJeremy Allison2-0/+5
system). Jeremy. (lib/replace part of 545cd2139cfc9484b733693814d4724d37125942 metze) (This used to be commit 9cff25cce1d39460dbcab006a309bb2984969eed)
2008-01-15Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech ↵Jeremy Allison2-0/+14
Republic <Jiri.Sasek@Sun.COM> - slightly modified - Jiri please check ! to allow Solaris to get passwords > 8 chars. Jeremy. (lib/replace part of 657bf8c3479d6192f269e3daef1517e77a9fa9cb metze) (This used to be commit 9f5c443972a09a70de7c8d6695b08c3730484c6c)
2008-01-15Fix bug 5055Volker Lendecke1-1/+1
(lib/replace part of 8bcd2df841bae63e7d58c35d4728b7d853471697 metze) (This used to be commit 8db9e196506f530c780d93e16da590566d16a407)
2008-01-15Add MAX_DNS_NAME_LENGTH, remove more pstrings.Jeremy Allison1-0/+4
Jeremy. (lib/replace part of a1725f4ff7ed375808c78ac661b539557748d0a5 metze) (This used to be commit db4eabf7cde1008a40a46e5c40a99e9a73cf3ff5)
2008-01-15Always define PATH_MAX. Makes code simpler (removesJeremy Allison1-0/+4
a bunch of #defines). Remove pstring from msdfs.c. Jeremy. (lib/replace part from e203ba22275320808bc11b17361ad1f2d5b0b897 metze) (This used to be commit ebc08d23f76ecffc90b1fe84c67fc7e6a4c4a6a3)
2008-01-14libreplace: Escape asterisk.Jelmer Vernooij1-1/+1
(This used to be commit df36c78549b40ee5e47d5cc79de2eb79f58c567a)
2008-01-13Try to fix the build on Tru64; avoid single quotes because they get expanded ↵Jelmer Vernooij1-1/+1
by perl in the build system. (This used to be commit bba8914af56cb161c275fbbdea2479d6f8bd703c)
2007-12-21r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.Jelmer Vernooij1-1/+1
(This used to be commit 37c7b65546190bdce40cb48435cc4fd51d89a124)
2007-12-21r26551: Make sure NULL is defined before using it to test for getifaddrs().James Peach1-0/+4
Patch from Timur I. Bakeyev <timur@com.bat.ru>. (This used to be commit 188156228b53c4bbc9c18c6ff1a0d3c6d0ba5fcb)
2007-12-21r26550: libreplace: fallback to __ss_family of struct sockaddr_storageStefan Metzmacher2-0/+29
metze (This used to be commit 11bdc9bed80b9842ac1ab8f22509a5d191cddc91)
2007-12-21r26540: Revert my previous commit after concerns raised by Andrew.Jelmer Vernooij3-4/+4
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
2007-12-21r26539: Remove unnecessary statics.Jelmer Vernooij3-4/+4
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
2007-12-21r26533: libreplace: hopefully fix the share library/module build on darwinStefan Metzmacher1-2/+2
metze (This used to be commit 3d64338f3cfeef2e9851ca8c932863af6f1f22c3)
2007-12-21r26512: Another attempt at fixing darwinJelmer Vernooij1-1/+1
(This used to be commit 4fa04924ab41bd6ad1a0c6d8d9b1987bf09d5270)
2007-12-21r26510: attempt to fix shld flags for darwin.Jelmer Vernooij1-1/+1
(This used to be commit 5dbe3aff3c34f64f35f1e13a11c60c5023348919)
2007-12-21r26507: Fix function signature for freeifaddrs.Jelmer Vernooij1-1/+1
(This used to be commit cc873bdd2e86e5b380c3056810ccc5ad98372f7c)
2007-12-21r26497: Fix return type for freeifaddrs().Jelmer Vernooij2-7/+7
(This used to be commit 8c65053f51330bb55a81572264eefbcc56029dc1)
2007-12-21r26495: Add defines for getifaddrs/freeifaddrs.Jelmer Vernooij1-0/+10
(This used to be commit c9e5a3078f7baa83743658d5648f0eefdeb05d2f)
2007-12-21r26492: Some hosts have a define called ifa_dstaddr.Jelmer Vernooij1-0/+1
(This used to be commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd)
2007-12-21r26491: Fix syntax.Jelmer Vernooij1-1/+1
(This used to be commit 2513230e286179747bb84e4e87121b80bea8f3f0)
2007-12-21r26487: Cope with systems that don't have struct sockaddr.sa_len.Jelmer Vernooij2-2/+15
(This used to be commit 56080469ab28ae5a2f456cced34814d9c33480c6)
2007-12-21r26470: Update README.Jelmer Vernooij1-0/+2
(This used to be commit 51a78cfc3e72d6b32ef6c7a6079165a36863b908)
2007-12-21r26469: Fix paths, only include IPv4 addresses for now.Jelmer Vernooij3-17/+19
(This used to be commit fa9e3b6fa871b7541878f836ea54e882e614a3cf)
2007-12-21r26468: Match getifaddrs more closely, add trivial test.Jelmer Vernooij2-22/+31
(This used to be commit 92898c043b5a2649a2e423d02bcdaea78ae55737)
2007-12-21r26467: Use getifaddrs() for interface enumeration and provide replacements ↵Jelmer Vernooij4-0/+511
for platforms that don't have it in lib/replace. (This used to be commit 9b4924fbd8619033c55b4c6e2589da247332e7db)
2007-12-21r26255: Work around another broken aspect of sys/capability.h on RHEL5.Michael Adam2-0/+25
This is synced from samba3 v3-2-test/11bcdf780e164659b89: 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 in Samba3. This commit adds a configure check and a workaround for this. Michael (This used to be commit df3e151992f0b942554034dd143ab8d7f0d7a75b)
2007-12-21r26254: Add check for PPC statfs.h to workaround for broken capability.h.Michael Adam1-1/+3
Synced from Samba3. Michael (This used to be commit dfdfac2b57ecbca8bddece846f5c2103a518e34d)
2007-12-21r26253: Add check for broken RedHat 7.2 system header files to lib/replace.Michael Adam1-0/+22
This is taken (with slight reformatting) from samba3:configure.in. It is already used in lib/replace/system/capablity.h. Michael (This used to be commit 4d1df9c0b4248717d6f235572f5f68e27934741e)
2007-12-21r26102: libreplace: remove system/printing.h as it only contains samba3 stuffStefan Metzmacher2-51/+0
metze (This used to be commit 1ecb4ec01b0506c95a5f90a62040329e7a39ee93)
2007-12-21r26027: libreplace: rename AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG into ↵Stefan Metzmacher1-7/+7
AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG metze (This used to be commit 8ec94633c4d46bb9ca03d59fed40e278d35ad580)
2007-12-21r26026: libreplace: split some linker macrosStefan Metzmacher1-21/+58
create: AC_LIBREPLACE_LD_SHLIB_LINKER AC_LIBREPLACE_LD_SHLIB_FLAGS AC_LIBREPLACE_LD_SHLIB_DISALLOW_UNDEF_FLAG and prerequire them for: AC_LIBREPLACE_SHLD AC_LIBREPLACE_SHLD_FLAGS AC_LIBREPLACE_MDLD AC_LIBREPLACE_MDLD_FLAGS metze (This used to be commit cc8692265d6e9161679a779480d6b22dee23f8bb)
2007-12-21r26025: libreplace: AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG should fill ↵Stefan Metzmacher1-6/+9
LD_ALLOW_SHLIB_UNDEF_FLAG metze (This used to be commit d2fb7d876bb1960c02fa7b9c0fb53315ae0cd99c)
2007-12-21r26002: Use osf rather than tru64 - pointed out by metze.Jelmer Vernooij1-1/+1
(This used to be commit df10de42958e65f46298c2fc879688985d1f7ef3)
2007-12-21r26001: Share some code between macros, add macro specifically for testing ↵Jelmer Vernooij1-36/+14
the ld flag that allows undefined symbols. (This used to be commit 6cd3a3a46a6a9b630502ebfff1a90e2d035d9e39)