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

335 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
dd83a8dad8 r22152: merge from samba3:
remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.

should fix bug #4496

metze
2007-10-10 14:49:54 -05:00
James Peach
0db4256a47 r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case. 2007-10-10 14:49:42 -05:00
Stefan Metzmacher
9cdb9f1cee r21798: unsetenv() returns void on some platforms (BSD)
metze
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
8787525e51 r21797: remove the key directly from the environ array
inspired by:
http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/replace/unsetenv.c?rev=1.4&view=auto

metze
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
c6b4f2d151 r21796: check if unsetenv() works on an non-existing key
metze
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
2952c20b77 r21795: fix the prototype of unsetenv()...
metze
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
3df206ddfa r21794: add setenv()/unsetenv() testsuite
metze
2007-10-10 14:49:27 -05:00
Stefan Metzmacher
d6de7f2cda r21793: add replacement for unsetenv()
metze
2007-10-10 14:49:27 -05:00
Jelmer Vernooij
74c4783953 r21302: Provide simple redirecting headers for standard headers. 2007-10-10 14:48:06 -05:00
Andrew Tridgell
21eb316473 r21174: many thanks to Paul Wayper for pointing out that C99 requires a
matching va_end() for each va_copy(). This doesn't matter for most
architectures, but there could be some obscure ones where it does
matter.

some of this should be ported to Samba3
2007-10-10 14:44:42 -05:00
James Peach
20dcd6e241 r20981: Fix cut'n'paste error. 2007-10-10 14:44:17 -05:00
Andrew Tridgell
1bb10b6cf7 r20930: use sigaction() instead of signal()
add support for sa_flags argument to event_add_signal(). These are
passed to sigaction(). Special handling is provided for SA_RESETHAND
(which tells the event system to remove the handler after the signal)
and SA_SIGINFO which allows the siginfo structure to be received per
signal
2007-10-10 14:43:55 -05:00
Stefan Metzmacher
b3a3c44f42 r20819: - include system/aio.h
- use full prototype for main
- use ifdef instead if

metze
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
1b10cbb629 r20816: merge from samba3:
include setjmp.h via system/wait.h

metze
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
5b8387969d r20815: merge from samba3
metze
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
d3e10679af r20810: unlink the test file when the test is done
metze
2007-10-10 14:43:34 -05:00
Stefan Metzmacher
d46a5efb03 r20788: - remove epoll configure checks from libreplace
- fix epoll configure checks for the epoll and aio
  events backends
- we should only activate the epoll backend if sys/epoll.h
  and epoll_create() are found
- we should only activate the aio backend if sys/epoll.h, epoll_create(),
  libaio.h and io_getevents() are found

hopefully fix the build on 'bnhtest' in the build farm...

metze
2007-10-10 14:40:55 -05:00
Andrew Tridgell
a913732914 r20665: put in my version of aio.h
sorry about that ....
2007-10-10 14:37:28 -05:00
Stefan Metzmacher
ba492e2c3a r20659: add missing system/aio.h
tridge: please commit your version and merge it to both samba3 branches

metze
2007-10-10 14:37:27 -05:00
Stefan Metzmacher
4aa31c8862 r20383: only try to find dlfcn.h if the dlopen symbol was found,
it hopefully fixes systems where dlfcn.h but no library with dlopen

metze
2007-10-10 14:30:21 -05:00
Paul Green
d0a376732e r19952: Fix socketpair() test case to write to fd(1) and read from fd(0) because
when pipe files are substituting for unix domain sockets, pipes provide
only uni-directional i/o capabilities.
2007-10-10 14:28:39 -05:00
Stefan Metzmacher
2b021e2d8c r19609: fix uninitialized perl variabel, we need AC_SUBST() for all configure vars
we want to use in perl...

metze
2007-10-10 14:25:04 -05:00
Andrew Bartlett
2b569c42e0 r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
2007-10-10 14:25:00 -05:00
Stefan Metzmacher
fe733f6307 r19496: remove unused file
metze
2007-10-10 14:24:39 -05:00
Jelmer Vernooij
8913d60c72 r19495: Stop linking binaries twice (once before installation, once during build).
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.
2007-10-10 14:24:39 -05:00
Stefan Metzmacher
3df2cb1ea8 r19442: this real cause of the failures on *BSD came from the missing
ICONV dependency and not from a broken configure test
and incorrect ifdef's.

metze
2007-10-10 14:21:32 -05:00
Andrew Tridgell
c22fb04023 r19440: merged from samba3 2007-10-10 14:21:32 -05:00
Andrew Tridgell
e6baa13e1f r19438: try to fix up the build breakages on BSD systems due to incorrectly
detecting iconv.h
2007-10-10 14:21:31 -05:00
Andrew Tridgell
be43b8c569 r19411: sigh - we can't call close here as its mapped to swrap_close() in the
build farm
2007-10-10 14:21:28 -05:00
Andrew Tridgell
e679163ac2 r19410: - fixed checker error
- close the sockets after the socketpair test
2007-10-10 14:21:28 -05:00
Andrew Tridgell
d01bdf1f2d r19408: I think tm_mon is ending up as -1 on some platforms 2007-10-10 14:21:27 -05:00