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
Jelmer Vernooij
b6d3fd84a5
r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, 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.
2007-10-10 15:07:51 -05:00
Michael Adam
6d07e29de2
r25515: Revert r25448:
...
Immediate structures are *not* supportet by the native C compiler
at least on Solaris, Tru64 and HP-UX.
Michael
2007-10-10 15:07:46 -05:00
Jelmer Vernooij
d54a47ecdc
r25448: Remove IMMEDIATE_STRUCTURES define, which was used for splint. Newer versions of splint support immediate structures just fine.
2007-10-10 15:07:35 -05:00
Stefan Metzmacher
87559febdf
r25251: move macro defines to the end of replace.h
...
and move the include location sys/param.h
before we redefine missing macros
metze
2007-10-10 15:06:59 -05:00
Stefan Metzmacher
6ea0d61ab3
r25231: revert hunk that was commited together with the change to gplv3
...
was revision 23801
metze
2007-10-10 15:06:58 -05:00
Jelmer Vernooij
17c92c091d
r25219: remove unused check for precompiled headers.
2007-10-10 15:06:57 -05:00
Stefan Metzmacher
489758afb2
r25210: fix typo
...
metze
2007-10-10 15:06:54 -05:00
Jelmer Vernooij
29415b661d
r25098: Fix typo
2007-10-10 15:06:36 -05:00
Jelmer Vernooij
7016d50028
r25017: Move MAXHOSTNAMELEN definition to replace.h as it is usually part of
...
sys/param.h.
2007-10-10 15:05:37 -05:00
Jelmer Vernooij
9b02a39c15
r24868: Don't use callbacks for prompting when stdout is not a tty.
2007-10-10 15:03:23 -05:00
Jelmer Vernooij
40c1635b39
r24674: Make sure results are always on a new line, fix typo in test name.
2007-10-10 15:02:37 -05:00
Jelmer Vernooij
b37d86242d
r24350: Remove offsetof() replacement to see if there are actually any
...
hosts that don't have it.
2007-10-10 15:01:42 -05:00
Jelmer Vernooij
48d1aa4fcf
r24337: Make libreplace provide offsetof.
2007-10-10 15:01:39 -05:00
Volker Lendecke
b3473db397
r24054: Fix some warnings
2007-10-10 15:01:20 -05:00
Andrew Tridgell
5c9b19271e
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
2007-10-10 14:59:18 -05:00
Andrew Tridgell
01e3fe7533
r23800: LGPL is now called GNU Lesser General Public License
...
not GNU Library General Public License
2007-10-10 14:59:17 -05:00
Andrew Tridgell
db92b76a00
r23799: updated old Franklin Street FSF addresses to new URL
2007-10-10 14:59:16 -05:00
Andrew Tridgell
40c0919aaa
r23798: updated old Temple Place FSF addresses to new URL
2007-10-10 14:59:15 -05:00
Andrew Tridgell
9f77c40a8e
r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file
2007-10-10 14:59:15 -05:00
Andrew Tridgell
76c6bfdeb5
r23796: main COPYING file for samba4, plus some formatting varients
2007-10-10 14:59:14 -05:00
Andrew Tridgell
84b468b2f8
r23795: more v2->v3 conversion
2007-10-10 14:59:14 -05:00
Michael Adam
e4955c729f
r23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.
...
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
2007-10-10 14:53:12 -05:00
Stefan Metzmacher
06caaf0d8d
r23306: pass down LDFLAGS to the link command in the libreplace standalone build
...
metze
2007-10-10 14:53:10 -05:00
Stefan Metzmacher
d890a2dabf
r23303: so HP-UX 11.11 also likes the 11.00 workarround for broken
...
pread/pwrite when using large file support.
metze
2007-10-10 14:53:10 -05:00
Stefan Metzmacher
d89088128a
r23296: HP-UX 11.11 also gets sizeof(uint64_t) == 4
...
so try the same fix as for 11.00
metze
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
bb2da636be
r23293: the fix for HP-UX 11.11 doesn't work on HP-UX 11.00
...
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
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
6dff6c93fc
r23266: HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need it
...
metze
2007-10-10 14:53:08 -05:00
Stefan Metzmacher
71eac88f7e
r23265: HP-UX 11.00 also needs this, try to see if 11.23 is also happy
...
with it...
metze
2007-10-10 14:53:07 -05:00
Andrew Tridgell
361c5995bc
r23237: update lib/replace from ctdb
2007-10-10 14:53:05 -05:00
Stefan Metzmacher
0c7e3ed962
r23208: on some HP-UX boxes dlfcn.h is available and use unsigned int flags
...
for dlopen but no library contains the function...
metze
2007-10-10 14:53:03 -05:00
Stefan Metzmacher
0e88e2e461
r23188: revert 23123 and 23118.
...
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
2007-10-10 14:53:02 -05:00
Jelmer Vernooij
222acbe33b
r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.pl
2007-10-10 14:52:59 -05:00
Michael Adam
54193c4638
r23123: Fix two utterly simply typos that broke the whole build farm...
...
Michael
2007-10-10 14:52:51 -05:00
Michael Adam
9781b13fd3
r23118: Make inet_pton and inet_ntop available through lib/replace.
...
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
2007-10-10 14:52:51 -05:00
Michael Adam
943acd688d
r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.
...
Fixing build of ldb for instance on some systems without dlfcn.h.
2007-10-10 14:52:49 -05:00
Andrew Tridgell
ec6900171d
r22988: fixed 2 bugs in our unsetenv() replacement code
...
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
2007-10-10 14:52:36 -05:00
Michael Adam
7afa8d2a47
r22931: Fix logic in detection of the need to replace dlopen and friends.
...
Originally, dlfcn.o was only added to LIBREPLACEOBJ if dlopen
was found in libdl but header dlfcn.h was not appropriate.
Michael
2007-10-10 14:52:30 -05:00
Andrew Tridgell
2c9d0b57f9
r22829: system/select.h needs to bring in epoll.h for epoll usage in
...
lib/events
2007-10-10 14:52:21 -05:00
Jelmer Vernooij
1193c75962
r22827: Change license to LGPL (discussed with tridge).
2007-10-10 14:52:21 -05:00
Stefan Metzmacher
2097ac64fc
r22658: - add AC_GNU_SOURCE macro for systems which don't have it
...
(sles8)
- fix compiler warning on some systems
metze
2007-10-10 14:51:58 -05:00
Jelmer Vernooij
e72cec408e
r22598: Simplify includes for replace.
2007-10-10 14:51:49 -05:00