summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r23296: HP-UX 11.11 also gets sizeof(uint64_t) == 4Stefan Metzmacher1-1/+2
so try the same fix as for 11.00 metze (This used to be commit d89088128af89122ef7e0be22697db8dda60ef58)
2007-10-10r23293: the fix for HP-UX 11.11 doesn't work on HP-UX 11.00Stefan Metzmacher1-1/+5
we end up with sozeof(uint64_t) == 4 :-( the _APP32_64BIT_OFF_T section in <sys/unistd.h> missed to redirect pread, pwrite to pread64, pwrite64 in HP-UX 11.00 so try it manually as a workarround metze (This used to be commit bb2da636be57e44d80b2bb52b3bba5c145f4bc68)
2007-10-10r23266: HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need itStefan Metzmacher1-2/+2
metze (This used to be commit 6dff6c93fc9073f29b0ae50e4b4abd695918a115)
2007-10-10r23265: HP-UX 11.00 also needs this, try to see if 11.23 is also happyStefan Metzmacher1-2/+2
with it... metze (This used to be commit 71eac88f7e666e6cd0dfe113d02861cdfecbee9b)
2007-10-10r23237: update lib/replace from ctdbAndrew Tridgell2-1/+5
(This used to be commit 361c5995bcf1dafb89f935ac4183dc295e1d524d)
2007-10-10r23208: on some HP-UX boxes dlfcn.h is available and use unsigned int flagsStefan Metzmacher3-6/+19
for dlopen but no library contains the function... metze (This used to be commit 0c7e3ed9625d512522a0cc7278e705fbbfc316f4)
2007-10-10r23188: revert 23123 and 23118.Stefan Metzmacher6-418/+0
as a long term solution this was the correct approach, but it's a bit more complex and we need to provide the whole socket api and libnsl.so checking in libreplace... as a short term solution to fix the build on host 'hape' we'll use the same trick as with inet_aton.c from heimdal's lib/roken/ metze (This used to be commit 0e88e2e46199d8ea64dd42c4c8b86d64ce5c2d04)
2007-10-10r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.plJelmer Vernooij1-0/+8
(This used to be commit 222acbe33b427a6ccae3b9e27b545f22e4564d5c)
2007-10-10r23123: Fix two utterly simply typos that broke the whole build farm...Michael Adam1-2/+2
Michael (This used to be commit 54193c4638a27983f18478a61beedde889ecc2e2)
2007-10-10r23118: Make inet_pton and inet_ntop available through lib/replace.Michael Adam6-0/+418
The code for inet_pton.c and inet_ntop.c is taken from the rsync code. I will put this into 3_0 and 3_0_26 too, but let's sort the readahead issue in lib/replace of 3_0 first... Michael (This used to be commit 9781b13fd3e0c2a0aa66412c571f562c9f17dcbe)
2007-10-10r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.Michael Adam1-0/+6
Fixing build of ldb for instance on some systems without dlfcn.h. (This used to be commit 943acd688d5aa0cd4adc6dc0fd7b92f1f294c219)
2007-10-10r22988: fixed 2 bugs in our unsetenv() replacement codeAndrew Tridgell1-11/+15
1) you must not free the memory, as it is possible the memory did not come from malloc (try it under valgrind to test) 2) the old code didn't cope with duplicate environment variables I hope this will fix some of the build farm errors on irix, and maybe solaris (This used to be commit ec6900171d066e927f004b621fb39cc7b8dcfd90)
2007-10-10r22931: Fix logic in detection of the need to replace dlopen and friends.Michael Adam1-6/+7
Originally, dlfcn.o was only added to LIBREPLACEOBJ if dlopen was found in libdl but header dlfcn.h was not appropriate. Michael (This used to be commit 7afa8d2a4707e999a380e747ccaae1de53a00251)
2007-10-10r22829: system/select.h needs to bring in epoll.h for epoll usage inAndrew Tridgell1-0/+4
lib/events (This used to be commit 2c9d0b57f9cef96ac0878a9761f3c15774fda336)
2007-10-10r22827: Change license to LGPL (discussed with tridge).Jelmer Vernooij18-201/+288
(This used to be commit 1193c759622edd9e6843d9b7f53d9532748ce8a0)
2007-10-10r22658: - add AC_GNU_SOURCE macro for systems which don't have itStefan Metzmacher2-1/+14
(sles8) - fix compiler warning on some systems metze (This used to be commit 2097ac64fc5b2b7e9a8221861a788c4a5f44948a)
2007-10-10r22598: Simplify includes for replace.Jelmer Vernooij2-2/+3
(This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7)
2007-10-10r22415: Remove test directory once we are finished. Merge -r 22393:22394James Peach1-0/+2
from SAMBA_3_0. (This used to be commit a8fe3c34e2964c7080ec3702b53ec141d58b7e5f)
2007-10-10r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplaceStefan Metzmacher2-0/+35
metze (This used to be commit b69c950858d837d7bd734d418129ade69106a00d)
2007-10-10r22279: add a lot more detailed strtoll() and strtoull() testsStefan Metzmacher1-56/+254
metze (This used to be commit 8b6d9076040b27fb13b99209116973f5abcec667)