Stefan Metzmacher
4087731e1b
r25912: Two patches
...
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 e17d3e10e8
2007-12-21 05:44:51 +01:00
Stefan Metzmacher
cb0eca66dc
r25911: Remove more fstring/pstring bad useage. Go talloc !
...
Jeremy.
merge from v3-2-test commit 2a0173743d
2007-12-21 05:44:51 +01:00
Stefan Metzmacher
b833dce5e6
r25910: Try and fix the Solaris build by adding a missing define
...
(from Jerry).
Jeremy
merge from v3-2-test commit a68bbea0d4
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
e562832ad1
r25909: Fix the snprintf checks, and fix a typo in pointer indirection.
...
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 494bf6293b
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
895d2644fb
r25906: libreplace: we need to link to make sure the functions are available
...
metze
2007-12-21 05:44:48 +01:00
Jeremy Allison
cb6c663fa8
r25892: Keep the tdb code in sync between 3.2.x and 4.0.
...
Add in the alarm fix to allow locks to exit on
alarm signal.
Sync up the changes in tools.
Jeremy.
2007-12-21 05:44:42 +01:00
Jelmer Vernooij
146c5226e6
r25886: Try to fix building dso's on hpux with gcc
2007-12-21 05:44:40 +01:00
Jelmer Vernooij
bbc36fd3f6
r25880: Try to get some more flags right.
2007-12-21 05:44:37 +01:00
Jelmer Vernooij
25aa875119
r25877: Add libreplace macro for soname flags.
2007-12-21 05:44:36 +01:00
Jelmer Vernooij
773a7cf234
r25875: Try to fix the build on some HPUX machines.
2007-12-21 05:44:35 +01:00
Stefan Metzmacher
c6b6466c33
r25870: libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
...
metze
2007-12-21 05:44:34 +01:00
Stefan Metzmacher
44250ac6f9
r25867: libreplace: solaris has different prototypes for getpwent_r and getgrent_r
...
metze
2007-12-21 05:44:33 +01:00
Stefan Metzmacher
98095b3425
r25865: libreplace: check for nss passwd|group get*_r functions
...
metze
2007-12-21 05:44:32 +01:00
Stefan Metzmacher
8748516d16
r25864: libreplace: we should only have one location where we check for required functions
...
metze
2007-12-21 05:44:32 +01:00
Stefan Metzmacher
a16f0e3cdb
r25863: libreplace: we need include <unistd.h> before nss_wrapper.h
...
metze
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
45ccf09bf9
r25861: Fix export dynamic for HPUX.
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
85b3326500
r25860: Remove flag that causes problems on some hosts.
2007-12-21 05:44:30 +01:00
Jelmer Vernooij
bf1685faa1
r25859: Wrap native HPUX functions in dl implementation.
2007-12-21 05:44:30 +01:00
Jelmer Vernooij
478b5ac8d9
r25855: Check for HPUX dl functions.
2007-12-21 05:44:29 +01:00
Jelmer Vernooij
aaaed5edc0
r25852: Move SHLIBEXT determination into a test as well.
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
d28c8b822e
r25851: Move system-specific ldflags checks to libreplace so they can be used by ldb.
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
9ebc6f2d17
r25850: Add macro for picflag.
2007-12-21 05:44:26 +01:00
Jelmer Vernooij
f67040d2a0
r25846: Add configure test for -Wl,--export-dynamic.
2007-12-21 05:44:24 +01:00
Stefan Metzmacher
17f9189fb4
r25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
...
metze
2007-12-21 05:44:19 +01:00
Stefan Metzmacher
5648c8a0de
r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
...
metze
2007-12-21 05:43:31 +01:00
Stefan Metzmacher
b594d9c9fa
r25726: [libreplace] move and fix getaddrinfo configure checks
...
- move getaddrinfo check into getaddrinfo.m4
- add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements
metze
2007-12-21 05:43:30 +01:00
Stefan Metzmacher
25a892f2ad
r25725: merge commit bc9008aa1d from v3-2-test:
...
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.
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
57d5cf4b5f
r25724: - include getaddrinfo.h after we have defined struct addrinfo
...
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch]
- define HAVE_<name> macros when we replace functions
metze
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
8b92b81101
r25718: [libreplace] if we replace types define the HAVE_<type> macro
...
this is needed as heimdal's roken.h also tries to replace the types
metze
2007-12-21 05:43:26 +01:00
Stefan Metzmacher
12cec014c4
r25715: [libreplace] move definition of struct addrinfo so that it can use socklen_t
...
metze
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
8bd2cf71be
r25714: [libreplace] move define of a constant to near to the others
...
metze
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
a3657a4e71
r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
...
metze
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
95462d614d
r25695: [libreplace] fix the standalone build of libreplace
...
all configure results which are used in replace.h
or any system/*.h should be in the in the libreplace
*.m4 files!
metze
2007-12-21 05:43:18 +01:00
Stefan Metzmacher
facb811bb3
r25687: Move #defined for getaddrinfo into network.h (as other
...
defines). Allows RHEL4 compile to work.
Jeremy.
(cherry picked from commit 0ffdf4fdee )
2007-12-21 05:43:14 +01:00
Stefan Metzmacher
5d2995c413
r25686: Added in missing def for AI_ADDRCONFIG.
...
Jeremy.
(cherry picked from commit 3ef3c3afc3 )
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
cd5069a8ca
r25685: rename getsmbpass -> rep_getpass and provide the function prototype
...
metze
(cherry picked from commit 96820f8d8f )
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
ee85577835
r25684: use "system/*.h" to get the system includes
...
metze
(cherry picked from commit d20c2fa274 )
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
5d747fcad0
r25683: fix the compilation of getpass.c and it's configure test
...
metze
(cherry picked from commit f4c0961a16 )
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
3910d06941
r25682: r16320: Ensure variable is not null before calling fclose. Klocwork #412 . Jeremy.
...
(cherry picked from commit 33ee0cfb19 )
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
7099dde3fd
r25681: r16245: Cope with string being zero len. Klocwork bug #410 . Jeremy.
...
(cherry picked from commit 46c12de07f )
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
249d69fd85
r25680: Volker's fix for bug #668 . Change the \n after the password prompt to go to tty instead of stdout.
...
(cherry picked from commit 0cd1ed0424 )
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
a11d21790f
r25679: reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
...
metze
(cherry picked from commit d4ae42b1b2 )
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
78da4477a7
r25678: reformat getpass() replacement code
...
metze
(cherry picked from commit 3e8f43e3cf )
2007-12-21 05:43:10 +01:00
Stefan Metzmacher
d286c0533d
r25677: add missing stuff from samba3
...
metze
2007-12-21 05:43:09 +01:00
Stefan Metzmacher
507d5ca7d9
r25602: don't imply "system/network.h" within replace.h,
...
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking
metze
2007-12-21 05:42:47 +01:00
Stefan Metzmacher
00467c2593
r25601: replace.h should never imply any "system/*.h"
...
(here it's "system/time.h")
metze
2007-12-21 05:42:46 +01:00
Stefan Metzmacher
f9696109cc
r25597: HPUX doesn't have INET_ADDRSTRLEN defined
...
metze
2007-10-10 15:08:02 -05:00
Jeremy Allison
48819012f8
r25586: Fix getaddrinfo detection - from Timur.
...
Jeremy.
2007-10-10 15:08:00 -05:00
Jelmer Vernooij
e09828a634
r25558: Define HAVE_* for other gai functions to prevent problems with libroken.
2007-10-10 15:07:56 -05:00
Jelmer Vernooij
1a7dbfde5f
r25556: Update README.
2007-10-10 15:07:56 -05:00