summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
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)
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)