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

366 Commits

Author SHA1 Message Date
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
James Peach
a8fe3c34e2 r22415: Remove test directory once we are finished. Merge -r 22393:22394
from SAMBA_3_0.
2007-10-10 14:51:17 -05:00
Stefan Metzmacher
b69c950858 r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace
metze
2007-10-10 14:50:59 -05:00
Stefan Metzmacher
8b6d907604 r22279: add a lot more detailed strtoll() and strtoull() tests
metze
2007-10-10 14:50:55 -05:00
Stefan Metzmacher
24324fbcff r22273: - provide __LINESTR__ macro
- add __STRINGSTRING() macro to really create a string of __LINE__
- fix __location__ macro

metze
2007-10-10 14:50:55 -05:00
Stefan Metzmacher
2abc79680f r22270: provide __location__ in replace.h
and see how the build-farm likes this simpler version

metze
2007-10-10 14:50:55 -05:00
Stefan Metzmacher
99125fe76a r22263: use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work.

metze
2007-10-10 14:50:54 -05:00
Stefan Metzmacher
5d1e0f167a r22253: - make the strtoll tests more verbose
- add initial strtoull tests

metze
2007-10-10 14:50:46 -05:00
Stefan Metzmacher
0a04ed570b r22250: try to fix the build on aix1 in the farm
metze
2007-10-10 14:50:46 -05:00
Stefan Metzmacher
236def3494 r22246: only test strtoll once
metze
2007-10-10 14:50:45 -05:00
Stefan Metzmacher
8267e2964e r22243: remove useless printf's
metze
2007-10-10 14:50:45 -05:00
Stefan Metzmacher
d51af1b3ac r22239: use strlcpy instead of strcpy to make the IBM checker happy
metze
2007-10-10 14:50:45 -05:00
Stefan Metzmacher
c2cfee6d25 r22226: move discard_const macros to librelace
metze
2007-10-10 14:50:40 -05:00
Stefan Metzmacher
2552a3300b r22223: make comparing of struct tm more verbose and more portable
metze
2007-10-10 14:50:40 -05:00
Stefan Metzmacher
398e008ea7 r22218: fix libreplace standalone build
metze
2007-10-10 14:50:39 -05:00
Stefan Metzmacher
be84eb68e1 r22217: merge from samba3 21944:
move acl header checks to the correct place only

metze
2007-10-10 14:50:39 -05:00
Stefan Metzmacher
08a5e97606 r22216: move strptime testsuite into it's own file
so we can include it for the configure test

as it seems that strptime() is really broken on some hosts
in the build farm, re should use the replacement code
when we detect this in the configure test

metze
2007-10-10 14:50:38 -05:00
Stefan Metzmacher
aba6452170 r22215: add strptime replacement to libreplace based on the patch
from jojowil@hvcc.edu to bug 4063

also add a testsuite for strptime()

metze
2007-10-10 14:50:38 -05:00
Jelmer Vernooij
7003a6fa1a r22203: Improve the replace testsuite a bit. 2007-10-10 14:50:38 -05:00