summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2008-02-29libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.Michael Adam1-0/+4
Michael (This used to be commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23)
2008-02-29libreplace: ifdef out ip6 code if unsupported.Michael Adam1-0/+2
Michael (This used to be commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30)
2008-02-29libreplace: fix rep_freeifaddrs to not segfault on NULL input.Michael Adam1-6/+7
Michael (This used to be commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5)
2008-02-29libreplace: fix silly crashbug in getifaddrs_test().Michael Adam1-1/+3
Michael (This used to be commit 523626908d25f974fd1ae6d7306b1d4bc8414162)
2008-02-29libreplace: add missing newline in output of getifaddrs test.Michael Adam1-1/+1
Michael (This used to be commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64)
2008-02-29libreplace: add missing semicolon to getifaddrs.Michael Adam1-1/+1
Michael (This used to be commit 29818a07de826fd687003ff25865d77939ecaa9a)
2008-02-29libreplace: try and fix rep_getifaddrs() for Tru64.Michael Adam1-21/+16
Don't fail when there is no address assigned to the interface. Put NULL into the ifaddrs structure instead. Michael (This used to be commit ee170c85e0e76411bd752de5fe51db6940dab929)
2008-02-28libreplace: use the new getifaddrs test also for autoconf.Michael Adam2-33/+16
Michael (This used to be commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da)
2008-02-28libreplace: add extended getifaddrs test that prints out the interfaces.Michael Adam3-7/+100
Michael (This used to be commit 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce)
2008-02-27libreplace: standalone build: use -I$srcdir instead of -I.Michael Adam1-1/+1
Michael (This used to be commit ff311e613226e660998824b887cb9595ffbe0275)
2008-02-27libreplace: fix standalone build - add necessary libs.Michael Adam2-1/+6
The libs needed for getifaddrs replacements have to be added to LIBS and used for the testsuite target. Michael (This used to be commit e7c1d6513b945b205abe84b18a251d06e737e659)
2008-02-27libreplace: fix standalone build on some systems.Michael Adam1-0/+2
getifaddr tests include system/network.h, which does not find getaddrinfo.h without "-I.". Michael (This used to be commit cd95c702ed90128f659e27709c61d4c6abc969ef)
2008-02-26libreplace: Add tests for connect and gethostbyname.Michael Adam5-0/+96
Provide dummy replacements when a function isnt found. The functions are also searched for in certain libraries, and variables SOCKET_LIBS and NSL_LIBS are set accordingly. One purpose of this is to fix the getifaddrs tests on systems where e.g. the socket calls require special libs for linking. Michael (This used to be commit 900d17acb95f1becfc46656a12c107336c027ef7)
2008-02-26Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.Michael Adam1-5/+5
Michael (This used to be commit 8a26a6e8f11aca5119b15e304213548ad608dc5b)
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)