summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.Michael Adam1-0/+6
Fixing build of ldb for instance on some systems without dlfcn.h. (This used to be commit 943acd688d5aa0cd4adc6dc0fd7b92f1f294c219)
2007-10-10r22988: fixed 2 bugs in our unsetenv() replacement codeAndrew Tridgell1-11/+15
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 ec6900171d066e927f004b621fb39cc7b8dcfd90)
2007-10-10r22931: Fix logic in detection of the need to replace dlopen and friends.Michael Adam1-6/+7
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 7afa8d2a4707e999a380e747ccaae1de53a00251)
2007-10-10r22829: system/select.h needs to bring in epoll.h for epoll usage inAndrew Tridgell1-0/+4
lib/events (This used to be commit 2c9d0b57f9cef96ac0878a9761f3c15774fda336)
2007-10-10r22827: Change license to LGPL (discussed with tridge).Jelmer Vernooij18-201/+288
(This used to be commit 1193c759622edd9e6843d9b7f53d9532748ce8a0)
2007-10-10r22658: - add AC_GNU_SOURCE macro for systems which don't have itStefan Metzmacher2-1/+14
(sles8) - fix compiler warning on some systems metze (This used to be commit 2097ac64fc5b2b7e9a8221861a788c4a5f44948a)
2007-10-10r22598: Simplify includes for replace.Jelmer Vernooij2-2/+3
(This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7)
2007-10-10r22415: Remove test directory once we are finished. Merge -r 22393:22394James Peach1-0/+2
from SAMBA_3_0. (This used to be commit a8fe3c34e2964c7080ec3702b53ec141d58b7e5f)
2007-10-10r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplaceStefan Metzmacher2-0/+35
metze (This used to be commit b69c950858d837d7bd734d418129ade69106a00d)
2007-10-10r22279: add a lot more detailed strtoll() and strtoull() testsStefan Metzmacher1-56/+254
metze (This used to be commit 8b6d9076040b27fb13b99209116973f5abcec667)
2007-10-10r22273: - provide __LINESTR__ macroStefan Metzmacher2-1/+11
- add __STRINGSTRING() macro to really create a string of __LINE__ - fix __location__ macro metze (This used to be commit 24324fbcff1a896c55e789063f9916dbd092956d)
2007-10-10r22270: provide __location__ in replace.hStefan Metzmacher2-0/+7
and see how the build-farm likes this simpler version metze (This used to be commit 2abc79680f8342c9a7a6c1f3746489dd598b7bf8)
2007-10-10r22263: use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0Stefan Metzmacher2-2/+2
and #ifndef doesn't work. metze (This used to be commit 99125fe76a115b237e18c6a8b73e4adffc5ffb8d)
2007-10-10r22253: - make the strtoll tests more verboseStefan Metzmacher1-7/+56
- add initial strtoull tests metze (This used to be commit 5d1e0f167add3c75955a27aa1ff3b16523ccf5c2)
2007-10-10r22250: try to fix the build on aix1 in the farmStefan Metzmacher2-1/+7
metze (This used to be commit 0a04ed570b125be1716628136f87f0244ad12f72)
2007-10-10r22246: only test strtoll onceStefan Metzmacher1-1/+0
metze (This used to be commit 236def3494f20c59ad44464a5359f3387acbb708)
2007-10-10r22243: remove useless printf'sStefan Metzmacher1-2/+0
metze (This used to be commit 8267e2964eddf0afc13edec8e91f9e7ca1d72644)
2007-10-10r22239: use strlcpy instead of strcpy to make the IBM checker happyStefan Metzmacher1-2/+2
metze (This used to be commit d51af1b3ac8c332481f978b909ee461941f8a50d)
2007-10-10r22226: move discard_const macros to librelaceStefan Metzmacher2-1/+24
metze (This used to be commit c2cfee6d25718fac35bd4ed982c7424f1c3ed0b7)
2007-10-10r22223: make comparing of struct tm more verbose and more portableStefan Metzmacher1-5/+25
metze (This used to be commit 2552a3300ba94b48e447e82f6b1d2ffa76d5c660)
2007-10-10r22218: fix libreplace standalone buildStefan Metzmacher1-1/+1
metze (This used to be commit 398e008ea78777164dcf4eef059626d574c35f47)
2007-10-10r22217: merge from samba3 21944:Stefan Metzmacher2-1/+6
move acl header checks to the correct place only metze (This used to be commit be84eb68e1f0d3826b9f819fa44d8b399e38cbcd)
2007-10-10r22216: move strptime testsuite into it's own fileStefan Metzmacher3-116/+158
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 08a5e9760643b9fbf00fdcf7163de7cf50e841e6)
2007-10-10r22215: add strptime replacement to libreplace based on the patchStefan Metzmacher6-0/+1130
from jojowil@hvcc.edu to bug 4063 also add a testsuite for strptime() metze (This used to be commit aba64521707143e6505b3322c390882a918a148a)
2007-10-10r22203: Improve the replace testsuite a bit.Jelmer Vernooij1-11/+151
(This used to be commit 7003a6fa1ae1d163160ad509a7811f836be3aa6f)
2007-10-10r22152: merge from samba3:Stefan Metzmacher4-39/+2
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 dd83a8dad8ad89a1485598fa6e11c9128d04e6d7)
2007-10-10r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.James Peach1-0/+8
(This used to be commit 0db4256a472975c5097135fa87315038a1350a72)
2007-10-10r21798: unsetenv() returns void on some platforms (BSD)Stefan Metzmacher1-9/+1
metze (This used to be commit 9cdb9f1cee9af47e42e11357397b828b86632805)
2007-10-10r21797: remove the key directly from the environ arrayStefan Metzmacher1-25/+17
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 8787525e518805f8445a376dc4964921598cb2e0)
2007-10-10r21796: check if unsetenv() works on an non-existing keyStefan Metzmacher1-0/+2
metze (This used to be commit c6b4f2d1518c989cacdc8869df89f02dc54857d7)
2007-10-10r21795: fix the prototype of unsetenv()...Stefan Metzmacher1-1/+1
metze (This used to be commit 2952c20b779fc6c797e2ab33ba3bda19cbb7a00d)
2007-10-10r21794: add setenv()/unsetenv() testsuiteStefan Metzmacher1-1/+61
metze (This used to be commit 3df206ddfadea5bf39a22e8c4c262764c79d302c)
2007-10-10r21793: add replacement for unsetenv()Stefan Metzmacher4-1/+42
metze (This used to be commit d6de7f2cda70cfd55f0f7fbb9f3b93a5a58c6f51)
2007-10-10r21302: Provide simple redirecting headers for standard headers.Jelmer Vernooij3-1/+17
(This used to be commit 74c47839536c9ccfa1240289d20df65d9d13839d)
2007-10-10r21174: many thanks to Paul Wayper for pointing out that C99 requires aAndrew Tridgell1-2/+4
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 21eb316473486cb6b73bb3ff9c5f3a44ecd57e4a)
2007-10-10r20981: Fix cut'n'paste error.James Peach1-1/+1
(This used to be commit 20dcd6e2416d656e97b8cc060809673a97d5cde6)
2007-10-10r20930: use sigaction() instead of signal()Andrew Tridgell1-0/+4
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 1bb10b6cf7d717ad21834e73a4ca4b22b5fb6f0a)
2007-10-10r20819: - include system/aio.hStefan Metzmacher2-2/+3
- use full prototype for main - use ifdef instead if metze (This used to be commit b3a3c44f42455d6f84ab2f1f282fb177f8b6013c)
2007-10-10r20816: merge from samba3:Stefan Metzmacher2-0/+5
include setjmp.h via system/wait.h metze (This used to be commit 1b10cbb62950693760d4af6ab8691a4ba70908c9)
2007-10-10r20815: merge from samba3Stefan Metzmacher1-1/+1
metze (This used to be commit 5b8387969dcc1575a71eaf2daa8f42b94c87bbd0)
2007-10-10r20810: unlink the test file when the test is doneStefan Metzmacher1-0/+1
metze (This used to be commit d3e10679afe436b994813e60b117bc42e6c2ed8f)
2007-10-10r20788: - remove epoll configure checks from libreplaceStefan Metzmacher2-12/+0
- 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 d46a5efb03ea1df50567cad00e1589870cdb31fe)
2007-10-10r20665: put in my version of aio.hAndrew Tridgell1-4/+4
sorry about that .... (This used to be commit a91373291422e2f50b91fd7c2317dce5d2a4ab63)
2007-10-10r20659: add missing system/aio.hStefan Metzmacher1-0/+29
tridge: please commit your version and merge it to both samba3 branches metze (This used to be commit ba492e2c3a64dfc5d4743ba568c63cb9a59e2849)
2007-10-10r20383: only try to find dlfcn.h if the dlopen symbol was found,Stefan Metzmacher1-5/+7
it hopefully fixes systems where dlfcn.h but no library with dlopen metze (This used to be commit 4aa31c8862020fa2615ec3cf0b65b1bb7ed10dd4)
2007-10-10r19952: Fix socketpair() test case to write to fd(1) and read from fd(0) becausePaul Green1-2/+2
when pipe files are substituting for unix domain sockets, pipes provide only uni-directional i/o capabilities. (This used to be commit d0a376732ed7b4f807b99a1c46c54ad1f07c85cf)
2007-10-10r19609: fix uninitialized perl variabel, we need AC_SUBST() for all ↵Stefan Metzmacher1-17/+21
configure vars we want to use in perl... metze (This used to be commit 2b021e2d8cff1a097068810d379fc0dca6869654)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett1-1/+0
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 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r19496: remove unused fileStefan Metzmacher1-6/+0
metze (This used to be commit fe733f6307bb5801d523a968aeb5395f463ce6d6)
2007-10-10r19495: Stop linking binaries twice (once before installation, once during ↵Jelmer Vernooij1-2/+9
build). Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than separate binaries. (This used to be commit 8913d60c72a67b041b08d569c9bd048953106c85)