Stefan Metzmacher
c01f61340b
r25714: [libreplace] move define of a constant to near to the others
...
metze
(This used to be commit 8bd2cf71be )
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
1cfd89c6aa
r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
...
metze
(This used to be commit a3657a4e71 )
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
1a766af41e
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
(This used to be commit 95462d614d )
2007-12-21 05:43:18 +01:00
Stefan Metzmacher
9f53479997
r25687: Move #defined for getaddrinfo into network.h (as other
...
defines). Allows RHEL4 compile to work.
Jeremy.
(cherry picked from commit 0ffdf4fdee )
(This used to be commit facb811bb3 )
2007-12-21 05:43:14 +01:00
Stefan Metzmacher
1b73fcadb2
r25686: Added in missing def for AI_ADDRCONFIG.
...
Jeremy.
(cherry picked from commit 3ef3c3afc3 )
(This used to be commit 5d2995c413 )
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
c68e3d8d65
r25685: rename getsmbpass -> rep_getpass and provide the function prototype
...
metze
(cherry picked from commit 96820f8d8f )
(This used to be commit cd5069a8ca )
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
de0343b77b
r25684: use "system/*.h" to get the system includes
...
metze
(cherry picked from commit d20c2fa274 )
(This used to be commit ee85577835 )
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
2367364094
r25683: fix the compilation of getpass.c and it's configure test
...
metze
(cherry picked from commit f4c0961a16 )
(This used to be commit 5d747fcad0 )
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
190039a378
r25682: r16320: Ensure variable is not null before calling fclose. Klocwork #412 . Jeremy.
...
(cherry picked from commit 33ee0cfb19 )
(This used to be commit 3910d06941 )
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
066f56bfef
r25681: r16245: Cope with string being zero len. Klocwork bug #410 . Jeremy.
...
(cherry picked from commit 46c12de07f )
(This used to be commit 7099dde3fd )
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
50a749404b
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 )
(This used to be commit 249d69fd85 )
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
2627603506
r25679: reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
...
metze
(cherry picked from commit d4ae42b1b2 )
(This used to be commit a11d21790f )
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
090015a6fb
r25678: reformat getpass() replacement code
...
metze
(cherry picked from commit 3e8f43e3cf )
(This used to be commit 78da4477a7 )
2007-12-21 05:43:10 +01:00
Stefan Metzmacher
ce7a3abcd8
r25677: add missing stuff from samba3
...
metze
(This used to be commit d286c0533d )
2007-12-21 05:43:09 +01:00
Stefan Metzmacher
a3e5710eda
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
(This used to be commit 507d5ca7d9 )
2007-12-21 05:42:47 +01:00
Stefan Metzmacher
6876d2613d
r25601: replace.h should never imply any "system/*.h"
...
(here it's "system/time.h")
metze
(This used to be commit 00467c2593 )
2007-12-21 05:42:46 +01:00
Stefan Metzmacher
39f5745c16
r25597: HPUX doesn't have INET_ADDRSTRLEN defined
...
metze
(This used to be commit f9696109cc )
2007-10-10 15:08:02 -05:00
Jeremy Allison
397a0aaa43
r25586: Fix getaddrinfo detection - from Timur.
...
Jeremy.
(This used to be commit 48819012f8 )
2007-10-10 15:08:00 -05:00
Jelmer Vernooij
775a3d034d
r25558: Define HAVE_* for other gai functions to prevent problems with libroken.
...
(This used to be commit e09828a634 )
2007-10-10 15:07:56 -05:00
Jelmer Vernooij
f3e212ff69
r25556: Update README.
...
(This used to be commit 1a7dbfde5f )
2007-10-10 15:07:56 -05:00
Jelmer Vernooij
e511090a43
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.
(This used to be commit b6d3fd84a5 )
2007-10-10 15:07:51 -05:00
Michael Adam
3b07f6aeb1
r25515: Revert r25448:
...
Immediate structures are *not* supportet by the native C compiler
at least on Solaris, Tru64 and HP-UX.
Michael
(This used to be commit 6d07e29de2 )
2007-10-10 15:07:46 -05:00
Jelmer Vernooij
a8f264eb2f
r25448: Remove IMMEDIATE_STRUCTURES define, which was used for splint. Newer versions of splint support immediate structures just fine.
...
(This used to be commit d54a47ecdc )
2007-10-10 15:07:35 -05:00
Stefan Metzmacher
d4f0d738f1
r25251: move macro defines to the end of replace.h
...
and move the include location sys/param.h
before we redefine missing macros
metze
(This used to be commit 87559febdf )
2007-10-10 15:06:59 -05:00
Stefan Metzmacher
90bd9f3770
r25231: revert hunk that was commited together with the change to gplv3
...
was revision 23801
metze
(This used to be commit 6ea0d61ab3 )
2007-10-10 15:06:58 -05:00
Jelmer Vernooij
d73955ca77
r25219: remove unused check for precompiled headers.
...
(This used to be commit 17c92c091d )
2007-10-10 15:06:57 -05:00
Stefan Metzmacher
d232d1851c
r25210: fix typo
...
metze
(This used to be commit 489758afb2 )
2007-10-10 15:06:54 -05:00
Jelmer Vernooij
669adc9f4a
r25098: Fix typo
...
(This used to be commit 29415b661d )
2007-10-10 15:06:36 -05:00
Jelmer Vernooij
d0f3d4a2f1
r25017: Move MAXHOSTNAMELEN definition to replace.h as it is usually part of
...
sys/param.h.
(This used to be commit 7016d50028 )
2007-10-10 15:05:37 -05:00
Jelmer Vernooij
6131ff85d5
r24868: Don't use callbacks for prompting when stdout is not a tty.
...
(This used to be commit 9b02a39c15 )
2007-10-10 15:03:23 -05:00
Jelmer Vernooij
f96b1778a4
r24674: Make sure results are always on a new line, fix typo in test name.
...
(This used to be commit 40c1635b39 )
2007-10-10 15:02:37 -05:00
Jelmer Vernooij
b159717785
r24350: Remove offsetof() replacement to see if there are actually any
...
hosts that don't have it.
(This used to be commit b37d86242d )
2007-10-10 15:01:42 -05:00
Jelmer Vernooij
bc13766a76
r24337: Make libreplace provide offsetof.
...
(This used to be commit 48d1aa4fcf )
2007-10-10 15:01:39 -05:00
Volker Lendecke
6dad5b6e06
r24054: Fix some warnings
...
(This used to be commit b3473db397 )
2007-10-10 15:01:20 -05:00
Andrew Tridgell
cd1217ff5f
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
...
(This used to be commit 5c9b19271e )
2007-10-10 14:59:18 -05:00
Andrew Tridgell
b8875bee5f
r23800: LGPL is now called GNU Lesser General Public License
...
not GNU Library General Public License
(This used to be commit 01e3fe7533 )
2007-10-10 14:59:17 -05:00
Andrew Tridgell
e1c15c74af
r23799: updated old Franklin Street FSF addresses to new URL
...
(This used to be commit db92b76a00 )
2007-10-10 14:59:16 -05:00
Andrew Tridgell
6c973f4e8c
r23798: updated old Temple Place FSF addresses to new URL
...
(This used to be commit 40c0919aaa )
2007-10-10 14:59:15 -05:00
Andrew Tridgell
54b6c7517e
r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file
...
(This used to be commit 9f77c40a8e )
2007-10-10 14:59:15 -05:00
Andrew Tridgell
4b71c210d5
r23796: main COPYING file for samba4, plus some formatting varients
...
(This used to be commit 76c6bfdeb5 )
2007-10-10 14:59:14 -05:00
Andrew Tridgell
b8d69a7ea2
r23795: more v2->v3 conversion
...
(This used to be commit 84b468b2f8 )
2007-10-10 14:59:14 -05:00
Michael Adam
14846bf4f6
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
(This used to be commit e4955c729f )
2007-10-10 14:53:12 -05:00
Stefan Metzmacher
e0f3a383b4
r23306: pass down LDFLAGS to the link command in the libreplace standalone build
...
metze
(This used to be commit 06caaf0d8d )
2007-10-10 14:53:10 -05:00
Stefan Metzmacher
d596200dde
r23303: so HP-UX 11.11 also likes the 11.00 workarround for broken
...
pread/pwrite when using large file support.
metze
(This used to be commit d890a2dabf )
2007-10-10 14:53:10 -05:00
Stefan Metzmacher
547f27daa2
r23296: HP-UX 11.11 also gets sizeof(uint64_t) == 4
...
so try the same fix as for 11.00
metze
(This used to be commit d89088128a )
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
d3807e3f5c
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
(This used to be commit bb2da636be )
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
f0daf9602d
r23266: HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need it
...
metze
(This used to be commit 6dff6c93fc )
2007-10-10 14:53:08 -05:00
Stefan Metzmacher
1e3a49478e
r23265: HP-UX 11.00 also needs this, try to see if 11.23 is also happy
...
with it...
metze
(This used to be commit 71eac88f7e )
2007-10-10 14:53:07 -05:00
Andrew Tridgell
9c6c4848c9
r23237: update lib/replace from ctdb
...
(This used to be commit 361c5995bc )
2007-10-10 14:53:05 -05:00
Stefan Metzmacher
867f7f4b74
r23208: on some HP-UX boxes dlfcn.h is available and use unsigned int flags
...
for dlopen but no library contains the function...
metze
(This used to be commit 0c7e3ed962 )
2007-10-10 14:53:03 -05:00