summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.cStefan Metzmacher1-0/+11
metze (This used to be commit 5648c8a0de7482a28a5b95410c083ac87577d482)
2007-12-21r25726: [libreplace] move and fix getaddrinfo configure checksStefan Metzmacher2-30/+33
- move getaddrinfo check into getaddrinfo.m4 - add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements metze (This used to be commit b594d9c9fa86249e3d3988702a2333460cd70436)
2007-12-21r25725: merge commit bc9008aa1dcb66890795f0ff2d3046da7df867d9 from v3-2-test:Stefan Metzmacher1-5/+0
Author: Jeremy Allison <jra@samba.org> AuthorDate: Wed Oct 24 14:40:24 2007 -0700 We do support name lookups for host and service in our replacement code - remove the restrictions from the original Postgres code. Jeremy. (This used to be commit 25a892f2ad1b281869779686ca23f2ed29b46a5c)
2007-12-21r25724: - include getaddrinfo.h after we have defined struct addrinfoStefan Metzmacher3-16/+24
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch] - define HAVE_<name> macros when we replace functions metze (This used to be commit 57d5cf4b5fe8885b1375059aa143c9c71d2503b4)
2007-12-21r25718: [libreplace] if we replace types define the HAVE_<type> macroStefan Metzmacher1-0/+3
this is needed as heimdal's roken.h also tries to replace the types metze (This used to be commit 8b92b811015d0855efe3cf4c58cd08e3654f8e88)
2007-12-21r25715: [libreplace] move definition of struct addrinfo so that it can use ↵Stefan Metzmacher1-15/+13
socklen_t metze (This used to be commit 12cec014c465a55974aedf44e0e782f5fb841088)
2007-12-21r25714: [libreplace] move define of a constant to near to the othersStefan Metzmacher1-4/+4
metze (This used to be commit 8bd2cf71bee1a08c3d420a330730434edbac5e28)
2007-12-21r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_tStefan Metzmacher1-7/+7
metze (This used to be commit a3657a4e7175e35707e7a00330f6924833774253)
2007-12-21r25695: [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 95462d614d68a93e85232e3a779f8bfa86fba4d1)
2007-12-21r25687: Move #defined for getaddrinfo into network.h (as otherStefan Metzmacher2-84/+91
defines). Allows RHEL4 compile to work. Jeremy. (cherry picked from commit 0ffdf4fdeea88c21880c8bf69d8db56fb49effa7) (This used to be commit facb811bb3c77a0b98089c283fe0707c5f486c88)
2007-12-21r25686: Added in missing def for AI_ADDRCONFIG.Stefan Metzmacher1-0/+4
Jeremy. (cherry picked from commit 3ef3c3afc3f56b0f4fdb384d55d2e712060fbedf) (This used to be commit 5d2995c413ff3da801c40fc6d631e2cd443695e3)
2007-12-21r25685: rename getsmbpass -> rep_getpass and provide the function prototypeStefan Metzmacher2-2/+3
metze (cherry picked from commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e) (This used to be commit cd5069a8ca17a3a14814c0fbf55f113690291165)
2007-12-21r25684: use "system/*.h" to get the system includesStefan Metzmacher1-15/+3
metze (cherry picked from commit d20c2fa274297e9577ed28b8ed04806a425bdc57) (This used to be commit ee8557783534ac5b075a8a4655a12b33b854c050)
2007-12-21r25683: fix the compilation of getpass.c and it's configure testStefan Metzmacher2-13/+2
metze (cherry picked from commit f4c0961a16a84dcdfe6e2faafb75c76983e6d466) (This used to be commit 5d747fcad0b0ac66584da500148e7647122e0544)
2007-12-21r25682: r16320: Ensure variable is not null before calling fclose. Klocwork ↵Stefan Metzmacher1-1/+1
#412. Jeremy. (cherry picked from commit 33ee0cfb190a883229d0824d7194898fd8966ceb) (This used to be commit 3910d069413834744b17175bb29775a69002712e)
2007-12-21r25681: r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.Stefan Metzmacher1-2/+4
(cherry picked from commit 46c12de07fe6f44bcf58ca9de276e7932384843d) (This used to be commit 7099dde3fd8962e752451ebe2d5d79de4d7caee9)
2007-12-21r25680: Volker's fix for bug #668. Change the \n after the password prompt ↵Stefan Metzmacher1-2/+3
to go to tty instead of stdout. (cherry picked from commit 0cd1ed0424ce87f60070d43caffda41be6706d59) (This used to be commit 249d69fd85b67657a4523ffc9244a8b4ab01270a)
2007-12-21r25679: reapply: Allow ^C to interrupt smbpasswd if using our getpass. from ↵Stefan Metzmacher1-4/+32
Jeremy metze (cherry picked from commit d4ae42b1b2982dd786d6da16d7fa964d25fd3356) (This used to be commit a11d21790fc2ee33998e042195ccbad73631bad8)
2007-12-21r25678: reformat getpass() replacement codeStefan Metzmacher1-62/+58
metze (cherry picked from commit 3e8f43e3cf97f10be4717978643ef3edca8650a5) (This used to be commit 78da4477a7ef920ff77b41abb841465511b8db31)
2007-12-21r25677: add missing stuff from samba3Stefan Metzmacher1-0/+30
metze (This used to be commit d286c0533dd2726ebc547dcaf99f45169d4a9d2f)
2007-12-21r25602: don't imply "system/network.h" within replace.h,Stefan Metzmacher2-4/+18
as this brings in the socket_wrapper.h in unexpected code and we endup with a missing 'swrap_close' while linking metze (This used to be commit 507d5ca7d994f0771dbb66e61d2d22e391508658)
2007-12-21r25601: replace.h should never imply any "system/*.h"Stefan Metzmacher2-7/+12
(here it's "system/time.h") metze (This used to be commit 00467c25930a527eb9831cfd893bd8e217ca4f74)
2007-10-10r25597: HPUX doesn't have INET_ADDRSTRLEN definedStefan Metzmacher1-0/+4
metze (This used to be commit f9696109cc8f4646599f73b78e1eacd94d1a6c2c)
2007-10-10r25586: Fix getaddrinfo detection - from Timur.Jeremy Allison1-1/+9
Jeremy. (This used to be commit 48819012f81167f07d2e909329432d2ef222b1bf)
2007-10-10r25558: Define HAVE_* for other gai functions to prevent problems with libroken.Jelmer Vernooij1-0/+2
(This used to be commit e09828a634bf10bda9c6f28b18106c2bcab84643)
2007-10-10r25556: Update README.Jelmer Vernooij1-0/+6
(This used to be commit 1a7dbfde5fcef19998b8af470c152a76386fb79f)
2007-10-10r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, ↵Jelmer Vernooij9-6/+1128
getnameinfo (and friends) from SAMBA_3_2, with some minor tweaks: - avoid including network headers in replace.h unless absolutely required - autoconf tests for getaddrinfo() in lib/replace The heimdal-specific code also no longer looks for these functions anymore. (This used to be commit b6d3fd84a5d7d814035e60d6fa22f19bed9f77da)
2007-10-10r25515: Revert r25448:Michael Adam1-2/+2
Immediate structures are *not* supportet by the native C compiler at least on Solaris, Tru64 and HP-UX. Michael (This used to be commit 6d07e29de2a7e535139622fa688b407da232c816)
2007-10-10r25448: Remove IMMEDIATE_STRUCTURES define, which was used for splint. Newer ↵Jelmer Vernooij1-2/+2
versions of splint support immediate structures just fine. (This used to be commit d54a47ecdc418ee07c9479f519bd1a207e6ba3eb)
2007-10-10r25251: 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 87559febdf887940ca85571d301269b734906401)
2007-10-10r25231: revert hunk that was commited together with the change to gplv3Stefan Metzmacher1-0/+2
was revision 23801 metze (This used to be commit 6ea0d61ab3bbf801709ca683ce84bfa71267f8f9)
2007-10-10r25219: remove unused check for precompiled headers.Jelmer Vernooij1-11/+0
(This used to be commit 17c92c091d9b9eb7f6a4cf1f263533f235d6717f)
2007-10-10r25210: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 489758afb22368399054d1306711e14cebce94e1)
2007-10-10r25098: Fix typoJelmer Vernooij1-1/+1
(This used to be commit 29415b661d103a80482b932172bf68cb9e394bc9)
2007-10-10r25017: Move MAXHOSTNAMELEN definition to replace.h as it is usually part ofJelmer Vernooij2-8/+8
sys/param.h. (This used to be commit 7016d500287ae587d044744f2a318c402148ebea)
2007-10-10r24868: Don't use callbacks for prompting when stdout is not a tty.Jelmer Vernooij1-0/+1
(This used to be commit 9b02a39c156862f9e9258dcdb9b8b86715022fc1)
2007-10-10r24674: Make sure results are always on a new line, fix typo in test name.Jelmer Vernooij1-1/+1
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)
2007-10-10r24350: Remove offsetof() replacement to see if there are actually anyJelmer Vernooij2-5/+0
hosts that don't have it. (This used to be commit b37d86242de1ee82b0cd760d965f8ad37a83cf09)
2007-10-10r24337: Make libreplace provide offsetof.Jelmer Vernooij2-0/+5
(This used to be commit 48d1aa4fcf6a323e3e6a14825f83cd20e3fc3a26)
2007-10-10r24054: Fix some warningsVolker Lendecke1-2/+2
(This used to be commit b3473db397476d05e7ffca50a5f7a9b65e0a5b4a)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2-4/+1
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
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 01e3fe7533b5670236c026ec3c6cc1e25655fbc3)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2-6/+2
(This used to be commit db92b76a0034899f5f0dc2d012ee7709ff9a6132)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell24-48/+24
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING fileAndrew Tridgell1-3/+2
(This used to be commit 9f77c40a8ee137339877bb622332a901fec46e6d)
2007-10-10r23796: main COPYING file for samba4, plus some formatting varientsAndrew Tridgell2-2/+2
(This used to be commit 76c6bfdeb51b5673bbabe0ca3d8bff3b74a327ee)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell26-26/+26
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.Michael Adam2-0/+18
This fixes the build on a SuSE 6.1. :-) I guess this had been merely forgotten. But beware: The implementations of rep_pread and rep_pwrite are not thread safe. Michael (This used to be commit e4955c729fdf0bd299df4dadc4b33e09fe4d336e)
2007-10-10r23306: pass down LDFLAGS to the link command in the libreplace standalone buildStefan Metzmacher2-2/+5
metze (This used to be commit 06caaf0d8d86bb05ceaac6624735283b585d995d)
2007-10-10r23303: so HP-UX 11.11 also likes the 11.00 workarround for brokenStefan Metzmacher1-7/+2
pread/pwrite when using large file support. metze (This used to be commit d890a2dabf309f15b0b0c87bb3888d0776bd094b)