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

314 Commits

Author SHA1 Message Date
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
Andrew Tridgell
c4e1d2c5ae r19403: try to fix the crashes in the buildfarm related to timegm 2007-10-10 14:21:26 -05:00
Jelmer Vernooij
b79303f251 r19395: Fix replacement function compilation. 2007-10-10 14:21:24 -05:00
Jelmer Vernooij
448a3ecc01 r19393: Add replacement function for socketpair() 2007-10-10 14:21:24 -05:00
Jelmer Vernooij
48d316e759 r19373: Merge changes from subunit branch: Convert libreplace testsuite to a
standalone program that speaks subunit.
2007-10-10 14:21:19 -05:00
Jelmer Vernooij
8a8e974d21 r19347: Add socketpair() 2007-10-10 14:21:14 -05:00
Stefan Metzmacher
dc65a66252 r19245: mrege from samba3:
add AC_REMOVE_INCLUDE(), AC_REMOVE_DEFINE() macros

metze
2007-10-10 14:20:57 -05:00
Stefan Metzmacher
909d736a4b r19242: merge from samba3:
handle NO_CONFIG_H in libreplace

metze
2007-10-10 14:20:56 -05:00
Stefan Metzmacher
cd03738e7c r19234: fix configure test for net/if.h for some platforms
AC_LANG_SOURCE() causes to have the content of confdefs.h
in front of the file that will be compiled

metze
2007-10-10 14:20:56 -05:00
Stefan Metzmacher
7e399e607c r19227: - add a AC_CACHE_CHECK() around the net/if.h test
to see (we now get some output that this test happens at all...).

- make use of AC_INCLUDES_DEFAULT

metze
2007-10-10 14:20:55 -05:00
Stefan Metzmacher
70bab6edfc r19198: fix typo...
metze
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
88adbd7443 r19195: this should fix should workaround the broken
HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8
in the build-farm.

metze
2007-10-10 14:20:51 -05:00
Stefan Metzmacher
59c6d51ab3 r19186: that doesn't help...
metze
2007-10-10 14:20:50 -05:00
Stefan Metzmacher
896326d508 r19173: see if HPUX 11.23 needs the same workaround as 11.11
metze
2007-10-10 14:20:49 -05:00
Stefan Metzmacher
5ccc020639 r19131: merge from samba3:
fix the logic for the AC_PROG_CC_C99 test

metze
2007-10-10 14:20:38 -05:00
Stefan Metzmacher
9c74964b61 r19122: merge from samba3:
sync system/iconv.h

metze
2007-10-10 14:20:37 -05:00
Andrew Tridgell
59915150f0 r19120: silence a warning about a test function 2007-10-10 14:20:37 -05:00
Andrew Tridgell
8228efdb93 r19117: I've changed the checker wrapper on snab to allow for a
.checker_innocent file, similar to our .valgrind_suppressions file.
2007-10-10 14:20:36 -05:00
Andrew Tridgell
48243721df r19116: fixed a checker warning 2007-10-10 14:20:36 -05:00
Stefan Metzmacher
71fc73e11c r19033: prepare to use the libreplace testsuite as LOCAL-REPLACE in smbtorture
metze
2007-10-10 14:20:30 -05:00
Stefan Metzmacher
4ed53dfafc r19032: let the getdents replacement fail and see what the build-farm says.
metze
2007-10-10 14:20:30 -05:00
Stefan Metzmacher
6b5f06b059 r19029: test if opendir() on a file sets errno = ENOTDIR
metze
2007-10-10 14:20:30 -05:00