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
Stefan Metzmacher
4b2b3bb706
r22246: only test strtoll once
...
metze
(This used to be commit 236def3494 )
2007-10-10 14:50:45 -05:00
Stefan Metzmacher
abe4d9a93f
r22243: remove useless printf's
...
metze
(This used to be commit 8267e2964e )
2007-10-10 14:50:45 -05:00
Stefan Metzmacher
69370d05c9
r22239: use strlcpy instead of strcpy to make the IBM checker happy
...
metze
(This used to be commit d51af1b3ac )
2007-10-10 14:50:45 -05:00
Stefan Metzmacher
bb36705c8d
r22226: move discard_const macros to librelace
...
metze
(This used to be commit c2cfee6d25 )
2007-10-10 14:50:40 -05:00
Stefan Metzmacher
7b2b43920b
r22223: make comparing of struct tm more verbose and more portable
...
metze
(This used to be commit 2552a3300b )
2007-10-10 14:50:40 -05:00
Stefan Metzmacher
e369a15fa4
r22218: fix libreplace standalone build
...
metze
(This used to be commit 398e008ea7 )
2007-10-10 14:50:39 -05:00
Stefan Metzmacher
6262602b4f
r22217: merge from samba3 21944:
...
move acl header checks to the correct place only
metze
(This used to be commit be84eb68e1 )
2007-10-10 14:50:39 -05:00
Stefan Metzmacher
aea41afb52
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
(This used to be commit 08a5e97606 )
2007-10-10 14:50:38 -05:00
Stefan Metzmacher
eb49760603
r22215: add strptime replacement to libreplace based on the patch
...
from jojowil@hvcc.edu to bug 4063
also add a testsuite for strptime()
metze
(This used to be commit aba6452170 )
2007-10-10 14:50:38 -05:00
Jelmer Vernooij
f2e611f355
r22203: Improve the replace testsuite a bit.
...
(This used to be commit 7003a6fa1a )
2007-10-10 14:50:38 -05:00
Stefan Metzmacher
4cc500433d
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
(This used to be commit dd83a8dad8 )
2007-10-10 14:49:54 -05:00
James Peach
2882b2ba63
r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.
...
(This used to be commit 0db4256a47 )
2007-10-10 14:49:42 -05:00
Stefan Metzmacher
8988113a42
r21798: unsetenv() returns void on some platforms (BSD)
...
metze
(This used to be commit 9cdb9f1cee )
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
d464f0e78b
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
(This used to be commit 8787525e51 )
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
de75e93817
r21796: check if unsetenv() works on an non-existing key
...
metze
(This used to be commit c6b4f2d151 )
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
14233bb76f
r21795: fix the prototype of unsetenv()...
...
metze
(This used to be commit 2952c20b77 )
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
d358087227
r21794: add setenv()/unsetenv() testsuite
...
metze
(This used to be commit 3df206ddfa )
2007-10-10 14:49:27 -05:00
Stefan Metzmacher
544a2d30e0
r21793: add replacement for unsetenv()
...
metze
(This used to be commit d6de7f2cda )
2007-10-10 14:49:27 -05:00
Jelmer Vernooij
4126b34e1f
r21302: Provide simple redirecting headers for standard headers.
...
(This used to be commit 74c4783953 )
2007-10-10 14:48:06 -05:00
Andrew Tridgell
8538af1107
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
(This used to be commit 21eb316473 )
2007-10-10 14:44:42 -05:00
James Peach
0602d4d7f2
r20981: Fix cut'n'paste error.
...
(This used to be commit 20dcd6e241 )
2007-10-10 14:44:17 -05:00
Andrew Tridgell
cf8eef4ad8
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
(This used to be commit 1bb10b6cf7 )
2007-10-10 14:43:55 -05:00
Stefan Metzmacher
0ce02a2c0e
r20819: - include system/aio.h
...
- use full prototype for main
- use ifdef instead if
metze
(This used to be commit b3a3c44f42 )
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
71f6a4d05b
r20816: merge from samba3:
...
include setjmp.h via system/wait.h
metze
(This used to be commit 1b10cbb629 )
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
28438101bd
r20815: merge from samba3
...
metze
(This used to be commit 5b8387969d )
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
8c75df8b2c
r20810: unlink the test file when the test is done
...
metze
(This used to be commit d3e10679af )
2007-10-10 14:43:34 -05:00
Stefan Metzmacher
274df78541
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
(This used to be commit d46a5efb03 )
2007-10-10 14:40:55 -05:00
Andrew Tridgell
4056528f72
r20665: put in my version of aio.h
...
sorry about that ....
(This used to be commit a913732914 )
2007-10-10 14:37:28 -05:00
Stefan Metzmacher
4a1ac217f4
r20659: add missing system/aio.h
...
tridge: please commit your version and merge it to both samba3 branches
metze
(This used to be commit ba492e2c3a )
2007-10-10 14:37:27 -05:00
Stefan Metzmacher
022658ae50
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
(This used to be commit 4aa31c8862 )
2007-10-10 14:30:21 -05:00
Paul Green
0c1218cbac
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.
(This used to be commit d0a376732e )
2007-10-10 14:28:39 -05:00
Stefan Metzmacher
22a155af05
r19609: fix uninitialized perl variabel, we need AC_SUBST() for all configure vars
...
we want to use in perl...
metze
(This used to be commit 2b021e2d8c )
2007-10-10 14:25:04 -05:00
Andrew Bartlett
13dbee3ffe
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
(This used to be commit 2b569c42e0 )
2007-10-10 14:25:00 -05:00
Stefan Metzmacher
a74de9886c
r19496: remove unused file
...
metze
(This used to be commit fe733f6307 )
2007-10-10 14:24:39 -05:00
Jelmer Vernooij
bc596cf917
r19495: Stop linking binaries twice (once before installation, once during build).
...
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.
(This used to be commit 8913d60c72 )
2007-10-10 14:24:39 -05:00
Stefan Metzmacher
2e468ee5df
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
(This used to be commit 3df2cb1ea8 )
2007-10-10 14:21:32 -05:00
Andrew Tridgell
9044f4aa90
r19440: merged from samba3
...
(This used to be commit c22fb04023 )
2007-10-10 14:21:32 -05:00
Andrew Tridgell
5a4b133d1c
r19438: try to fix up the build breakages on BSD systems due to incorrectly
...
detecting iconv.h
(This used to be commit e6baa13e1f )
2007-10-10 14:21:31 -05:00
Andrew Tridgell
c3e4b2d278
r19411: sigh - we can't call close here as its mapped to swrap_close() in the
...
build farm
(This used to be commit be43b8c569 )
2007-10-10 14:21:28 -05:00