summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r25912: Two patchesStefan Metzmacher1-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 merge from v3-2-test commit e17d3e10e860c96b6d5208e5fe51e43b8e58c174 (This used to be commit 4087731e1b4e97017c0f5659e6659e8181d8e038)
2007-12-21r25911: Remove more fstring/pstring bad useage. Go talloc !Stefan Metzmacher1-1/+1
Jeremy. merge from v3-2-test commit 2a0173743d2cf615d52278f3dd87cc804abe2d16 (This used to be commit cb0eca66dc5121fa73404a7c41aad6086a96e7ec)
2007-12-21r25910: Try and fix the Solaris build by adding a missing defineStefan Metzmacher1-0/+5
(from Jerry). Jeremy merge from v3-2-test commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6 (This used to be commit b833dce5e6d6475a04538d9754b9b0bfeb5915e4)
2007-12-21r25909: Fix the snprintf checks, and fix a typo in pointer indirection.Stefan Metzmacher1-5/+5
These fixes are needed for a working getaddrinfo etc. replacement. Fixes from Wayne Davison <wayned@samba.org> from rsync. Jeremy. from v3-2-test commit 494bf6293bedbda4b10aa2eae452377b8130cd01 (This used to be commit e562832ad19e8c3a0380759a22b0267e365ecc2e)
2007-12-21r25906: libreplace: we need to link to make sure the functions are availableStefan Metzmacher1-1/+1
metze (This used to be commit 895d2644fbd72b9770460d6628fa6b09963967e7)
2007-12-21r25892: Keep the tdb code in sync between 3.2.x and 4.0.Jeremy Allison2-0/+8
Add in the alarm fix to allow locks to exit on alarm signal. Sync up the changes in tools. Jeremy. (This used to be commit cb6c663fa8818f49cc36f196bb5f4dea47edd69e)
2007-12-21r25886: Try to fix building dso's on hpux with gccJelmer Vernooij1-1/+5
(This used to be commit 146c5226e61235a55155ef4493191a6c5eddea3f)
2007-12-21r25880: Try to get some more flags right.Jelmer Vernooij1-4/+4
(This used to be commit bbc36fd3f693480e3ea01c5c9e858008a4f3c229)
2007-12-21r25877: Add libreplace macro for soname flags.Jelmer Vernooij1-0/+41
(This used to be commit 25aa875119622679881cd0e1b3b9dff8d2cf03ee)
2007-12-21r25875: Try to fix the build on some HPUX machines.Jelmer Vernooij1-3/+1
(This used to be commit 773a7cf234e08e05bb89072c42353e44915f8146)
2007-12-21r25870: libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring ↵Stefan Metzmacher1-2/+2
in confdefs.h metze (This used to be commit c6b6466c33ffab2b59e1a275922b6f3a7f2af98c)
2007-12-21r25867: libreplace: solaris has different prototypes for getpwent_r and ↵Stefan Metzmacher1-0/+32
getgrent_r metze (This used to be commit 44250ac6f987ba98e1efe8cd81b4e7eaa8017ed0)
2007-12-21r25865: libreplace: check for nss passwd|group get*_r functionsStefan Metzmacher1-0/+2
metze (This used to be commit 98095b34257847b2fbb5efe343c3630a28170692)
2007-12-21r25864: libreplace: we should only have one location where we check for ↵Stefan Metzmacher1-4/+1
required functions metze (This used to be commit 8748516d1668c66663ded50ff28a8d32f1720175)
2007-12-21r25863: libreplace: we need include <unistd.h> before nss_wrapper.hStefan Metzmacher1-0/+3
metze (This used to be commit a16f0e3cdbb9fb1238e25af8bb911c27b839c89b)
2007-12-21r25861: Fix export dynamic for HPUX.Jelmer Vernooij1-4/+12
(This used to be commit 45ccf09bf96e915380b30150a701735318b67aa0)
2007-12-21r25860: Remove flag that causes problems on some hosts.Jelmer Vernooij1-1/+1
(This used to be commit 85b332650031b2969f79e6ca85e5d6d10983da91)
2007-12-21r25859: Wrap native HPUX functions in dl implementation.Jelmer Vernooij1-0/+16
(This used to be commit bf1685faa1c941d3ca56b29a1e15b8a134d02068)
2007-12-21r25855: Check for HPUX dl functions.Jelmer Vernooij1-0/+5
(This used to be commit 478b5ac8d92a23a32349bedfe7c6caf98b67fb39)
2007-12-21r25852: Move SHLIBEXT determination into a test as well.Jelmer Vernooij1-0/+18
(This used to be commit aaaed5edc06f3055794e55a8038dbbdac47ce5b6)
2007-12-21r25851: Move system-specific ldflags checks to libreplace so they can be ↵Jelmer Vernooij1-0/+38
used by ldb. (This used to be commit d28c8b822e7b571f24542409376bba8701eeef79)
2007-12-21r25850: Add macro for picflag.Jelmer Vernooij1-0/+55
(This used to be commit 9ebc6f2d17349b214618d65b29826867796c12ce)
2007-12-21r25846: Add configure test for -Wl,--export-dynamic.Jelmer Vernooij2-0/+11
(This used to be commit f67040d2a0cb8723f1bf0e9a9d90a821b38697b1)
2007-12-21r25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is definedStefan Metzmacher1-0/+7
metze (This used to be commit 17f9189fb4b34dbc08f6aded6b0c81ee8eb07a9f)
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)