summaryrefslogtreecommitdiff
path: root/source3/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2007-11-02Fix the snprintf checks, and fix a typo in pointer indirection.Jeremy Allison1-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)
2007-10-27Two patchesVolker Lendecke1-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)
2007-10-25Try and fix the Solaris build by adding a missing defineJeremy Allison1-0/+5
(from Jerry). Jeremy (This used to be commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6)
2007-10-25[libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.cmetze1-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)
2007-10-25[libreplace] move and fix getaddrinfo configure checksmetze2-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)
2007-10-25- include getaddrinfo.h after we have defined struct addrinfometze3-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)
2007-10-25[libreplace] if we replace types define the HAVE_<type> macrometze1-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)
2007-10-25[libreplace] move definition of struct addrinfo so that it can use socklen_tmetze1-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)
2007-10-25[libreplace] move define of a constant to near to the othersmetze1-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)
2007-10-25[libreplace] include socket_wrapper.h after we have typedef'ed socklen_tmetze1-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)
2007-10-24We do support name lookups for host and service in our replacementJeremy Allison1-5/+0
code - remove the restrictions from the original Postgres code. Jeremy. (This used to be commit bc9008aa1dcb66890795f0ff2d3046da7df867d9)
2007-10-18[libreplace] fix the standalone build of libreplaceStefan Metzmacher2-28/+34
all configure results which are used in replace.h or any system/*.h should be in the in the libreplace *.m4 files! metze (This used to be commit 1eefa0264bb1a304a30ec4c7c6e2392c627ee6a3)
2007-10-17delete empty file lib/replace/system/getaddrinfo.hStefan Metzmacher1-0/+0
metze (This used to be commit 354bdd38e8714b789daffc897cd843a8d401be45)
2007-10-16Move #defined for getaddrinfo into network.h (as otherJeremy Allison2-84/+91
defines). Allows RHEL4 compile to work. Jeremy. (This used to be commit 0ffdf4fdeea88c21880c8bf69d8db56fb49effa7)
2007-10-16Added in missing def for AI_ADDRCONFIG.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 3ef3c3afc3f56b0f4fdb384d55d2e712060fbedf)
2007-10-15rename getsmbpass -> rep_getpass and provide the function prototypeStefan Metzmacher2-2/+3
metze (This used to be commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e)
2007-10-15use "system/*.h" to get the system includesStefan Metzmacher1-15/+3
metze (This used to be commit d20c2fa274297e9577ed28b8ed04806a425bdc57)
2007-10-15fix the compilation of getpass.c and it's configure testStefan Metzmacher2-13/+2
metze (This used to be commit f4c0961a16a84dcdfe6e2faafb75c76983e6d466)
2007-10-15r16320: Ensure variable is not null before calling fclose. Klocwork #412. ↵Jeremy Allison1-1/+1
Jeremy. (This used to be commit 33ee0cfb190a883229d0824d7194898fd8966ceb)
2007-10-15r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.Jeremy Allison1-2/+4
(This used to be commit 46c12de07fe6f44bcf58ca9de276e7932384843d)
2007-10-15Volker's fix for bug #668. Change the \n after the password prompt to go to ↵jmcd1-2/+3
tty instead of stdout. (This used to be commit 0cd1ed0424ce87f60070d43caffda41be6706d59)
2007-10-15reapply: Allow ^C to interrupt smbpasswd if using our getpass. from JeremyStefan Metzmacher1-4/+32
metze (This used to be commit d4ae42b1b2982dd786d6da16d7fa964d25fd3356)
2007-10-15reformat getpass() replacement codeStefan Metzmacher1-62/+58
metze (This used to be commit 3e8f43e3cf97f10be4717978643ef3edca8650a5)
2007-10-15missing stuff from samba4's libreplaceStefan Metzmacher2-1/+4
metze (This used to be commit 0177158d85797e0d22c81d88175a77d4ad5ed711)
2007-10-15don't imply "system/network.h" within replace.h,metze2-4/+18
as this brings in the socket_wrapper.h in unexpected code and we endup with a missing 'swrap_close' while linking metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25602 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit ec8e3f7f92522c65ec472058321db8a7ac30ec4c)
2007-10-10Merge from metze of libreplace header changesJeremy Allison2-6/+12
(This used to be commit d39ce8e37ed81f4a34a148f975874989d8d187a1)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-0/+0
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25587: Fix getaddrinfo detection code. From Timur.Jeremy Allison1-1/+9
Jeremy. (This used to be commit 3824a10fbcc3e061d569b0f74501ce97ec0a4414)
2007-10-10r25560: Merge from Jelmer. "Define HAVE_* for other gai functions to prevent ↵Jeremy Allison1-0/+2
problems with libroken." Jeremy. (This used to be commit 3cd783e3a51c0f9e514f0702531b40bf9776e61a)
2007-10-10r25557: merge libreplace fixes from samba4Jelmer Vernooij4-6/+46
(This used to be commit 8c1669997c53f0f7bfb9a794083afd01b131f676)
2007-10-10r25507: Fix definition of struct sockaddr_storage ifJeremy Allison1-0/+5
struct sockaddr_in6 is defined. Jeremy. (This used to be commit 4cf17df5caeb2b0220f6a7dd82d5fed5aca56850)
2007-10-10r25505: Add a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfoJeremy Allison4-5/+671
under the 2 clause *BSD license for future use in IPv6 code. Original code was from PostgreSQL and I've maintained their license even though I've rewritten large parts of it (I probably should donate this back to them). Jeremy. (This used to be commit 760d993340a966269d71acfb7a6b5e4d3776ac5d)
2007-10-10r25495: Fixup definitions for missing sockaddr_storage.Jeremy Allison1-1/+2
Jeremy. (This used to be commit d980ee5040f2ab9e7408218d13962dd64e2b33b1)
2007-10-10r25487: Try fix the build - fix socklen_t and sa_family_t.Jeremy Allison1-0/+8
Jeremy. (This used to be commit 2cab82563409eca79ac5f518a3dcb8cdbdcded7e)
2007-10-10r25474: Try and fix the build on Mac OS X 10.4.9.Jeremy Allison1-0/+4
Shuffle sa_family_t around. Jeremy. (This used to be commit f1b8c5de0ae96e04e340029f5cd544de9ac57b32)
2007-10-10r25472: Fix the interfaces code to detect IPv6 interfaces, using theJeremy Allison2-6/+18
new standard getifaddrs() and freeifaddrs() interfaces. Currently we only return IPv4 af_families. Needs fixing for binds to IPv6 but this has to be careful work. Jeremy. (This used to be commit 327875182c9219aeba687e10aaea93546d9a70ea)
2007-10-10r25455: Ensure we have inet_ntop and inet_pton available in lib/replace.Jeremy Allison6-4/+426
Jeremy. (This used to be commit 1f719905440d4c87c526c56532f47d894cfec5f0)
2007-10-10r25252: move macro defines to the end of replace.hStefan Metzmacher1-32/+35
and move the include location sys/param.h before we redefine missing macros metze (This used to be commit 862046028c3c61adf6da2effac91abf3c763635d)
2007-10-10r25232: sync lib/replace with SAMBA_4_0Stefan Metzmacher7-24/+13
metze (This used to be commit 828d2ca0610ab5ee3b96d187b3432b9b4fea72f8)
2007-10-10r24354: Remove offsetof macroVolker Lendecke1-4/+0
Samba4 seems not to suffer from it (This used to be commit d93b5d50a00286586c931a5876f5933a520b6ce7)
2007-10-10r24341: Make libreplace provide offsetof.Jelmer Vernooij2-0/+5
(This used to be commit 4a5fa715a6af281282092644817599f79806981d)
2007-10-10r24054: Fix some warningsVolker Lendecke1-2/+2
(This used to be commit ed84540bb2825dfaca25649a1cfb9342b68c3068)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23800: LGPL is now called GNU Lesser General Public LicenseAndrew Tridgell2-4/+4
not GNU Library General Public License (This used to be commit 727a6cf2cba8da6b40610409b264e86e6908eb0c)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2-6/+2
(This used to be commit 43cd589773148fe3d243892768ce187604dd0c33)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell24-48/+24
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING fileAndrew Tridgell1-3/+2
(This used to be commit e87bb12093dc78eb539fac0a171379a8cb5cd416)
2007-10-10r23791: found some more v2->v3 conversionsAndrew Tridgell2-2/+2
(This used to be commit b6cbac3db3b478d5c7991cee78c6695fc8d22681)
2007-10-10r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell24-24/+24
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
2007-10-10r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2-2/+2
Jeremy. (This used to be commit c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f)