1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-19 12:23:49 +03:00
Commit Graph

376 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
fbe7d8cbc5 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
(This used to be commit 0e88e2e461)
2007-10-10 14:53:02 -05:00
Jelmer Vernooij
dc919c2534 r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.pl
(This used to be commit 222acbe33b)
2007-10-10 14:52:59 -05:00
Michael Adam
4fa973e4a4 r23123: Fix two utterly simply typos that broke the whole build farm...
Michael
(This used to be commit 54193c4638)
2007-10-10 14:52:51 -05:00
Michael Adam
ef5dc55983 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
(This used to be commit 9781b13fd3)
2007-10-10 14:52:51 -05:00
Michael Adam
a32b648ea1 r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.
Fixing build of ldb for instance on some systems without dlfcn.h.
(This used to be commit 943acd688d)
2007-10-10 14:52:49 -05:00
Andrew Tridgell
2ad24b9ba1 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
(This used to be commit ec6900171d)
2007-10-10 14:52:36 -05:00
Michael Adam
3e5335063a 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
(This used to be commit 7afa8d2a47)
2007-10-10 14:52:30 -05:00
Andrew Tridgell
bc02bba449 r22829: system/select.h needs to bring in epoll.h for epoll usage in
lib/events
(This used to be commit 2c9d0b57f9)
2007-10-10 14:52:21 -05:00
Jelmer Vernooij
c3b00b471a r22827: Change license to LGPL (discussed with tridge).
(This used to be commit 1193c75962)
2007-10-10 14:52:21 -05:00
Stefan Metzmacher
e4161f9dee r22658: - add AC_GNU_SOURCE macro for systems which don't have it
(sles8)
- fix compiler warning on some systems

metze
(This used to be commit 2097ac64fc)
2007-10-10 14:51:58 -05:00
Jelmer Vernooij
2ea1896591 r22598: Simplify includes for replace.
(This used to be commit e72cec408e)
2007-10-10 14:51:49 -05:00
James Peach
34952e81fa r22415: Remove test directory once we are finished. Merge -r 22393:22394
from SAMBA_3_0.
(This used to be commit a8fe3c34e2)
2007-10-10 14:51:17 -05:00
Stefan Metzmacher
4047b20c36 r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace
metze
(This used to be commit b69c950858)
2007-10-10 14:50:59 -05:00
Stefan Metzmacher
5b7afb8a9f r22279: add a lot more detailed strtoll() and strtoull() tests
metze
(This used to be commit 8b6d907604)
2007-10-10 14:50:55 -05:00
Stefan Metzmacher
7e13a1c96a r22273: - provide __LINESTR__ macro
- add __STRINGSTRING() macro to really create a string of __LINE__
- fix __location__ macro

metze
(This used to be commit 24324fbcff)
2007-10-10 14:50:55 -05:00
Stefan Metzmacher
3dd41c856e r22270: provide __location__ in replace.h
and see how the build-farm likes this simpler version

metze
(This used to be commit 2abc79680f)
2007-10-10 14:50:55 -05:00
Stefan Metzmacher
9a7d2f8e54 r22263: use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work.

metze
(This used to be commit 99125fe76a)
2007-10-10 14:50:54 -05:00
Stefan Metzmacher
43b16443de r22253: - make the strtoll tests more verbose
- add initial strtoull tests

metze
(This used to be commit 5d1e0f167a)
2007-10-10 14:50:46 -05:00
Stefan Metzmacher
f0c9bc037e r22250: try to fix the build on aix1 in the farm
metze
(This used to be commit 0a04ed570b)
2007-10-10 14:50:46 -05:00