summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18455: check if getdents() and getdirentries() are available.Stefan Metzmacher1-0/+2
(only for the nicer configure output) metze (This used to be commit d53eb6bd10903d696c5ed9aad3bca3ddf35b2b51)
2007-10-10r18454: this was just for debugging...Stefan Metzmacher1-1/+0
metze (This used to be commit f9f14a94297d72af13b043db99fa892e5e3dcb46)
2007-10-10r18452: add configure test for a getdirentries() based replacement for ↵Stefan Metzmacher2-0/+26
broken readdir() Tru64 need this, linux also has getdirentries() but the native readdir() works but it means we can write the code on linux and when it works it may work on Tru64 too. tridge: can you try to implement this? metze (This used to be commit dd791d255ca61159b38a59b89f954a61fc5e9cf6)
2007-10-10r18451: move repdir/ into the top dirStefan Metzmacher3-3/+3
metze (This used to be commit a564194817d9b78e353abb6bf0548b2dd9eb130b)
2007-10-10r18450: - autogenerate the OBJ_FILES for LIBREPLACEStefan Metzmacher6-57/+53
- remove samba specific stuff from libreplace - and include the readdir replacement stuff in the standalone builds metze (This used to be commit 3cac61152ef9a32313d7f7e5d38651f03a31f251)
2007-10-10r18445: splitout the dlfcn related testsStefan Metzmacher2-10/+20
metze (This used to be commit 8662e1481504c50a45416ae09ec19b834164e77c)
2007-10-10r18444: return the correct value on errorStefan Metzmacher1-2/+3
metze (This used to be commit d65e94fea910ff435b5cb6fe146f81b01df9abf6)
2007-10-10r18443: add object files only when neededStefan Metzmacher2-1/+4
metze (This used to be commit 5fddb66def8dd29a9f8d13b4b679df26aca6cfab)
2007-10-10r18442: run the os2_delete test in the testsuite tooStefan Metzmacher4-12/+25
that shows that Tru64 is broken... It doesn't have getdirent() and the the replacement code doesn't work there. tridge: do you have any idea how to fix this? metze (This used to be commit a5ebfd0ab71f4f4288697f6fd3183a440ce7506b)
2007-10-10r18439: 2nd try at a talloc_move() api. This type with the ** ptr interfaceAndrew Tridgell14-32/+34
exposed. Unfortunately this generates a large number of type punning warnings. We'll have to find some magic to hide those. (This used to be commit 254cbf09dee5a1e20c47e47a298f1a8d172b41b9)
2007-10-10r18438: I should have examined these uses of talloc_move() moreAndrew Tridgell3-10/+5
carefully. Most of them are OK, but a couple were not. (This used to be commit b0de2838829d9750817c31f28c11c6b2be6e7b64)
2007-10-10r18437: added a 'make valgrindtest' target for ldbAndrew Tridgell1-0/+3
(This used to be commit 4c33c6bb97f3b25b611c476be4c914031e55e4dc)
2007-10-10r18436: converted ldb to use talloc_move() instead of talloc_steal() whenAndrew Tridgell11-76/+31
appropriate. Note that I also removed the error checks that were being done on the result of talloc_steal(). They are pointless as talloc_steal() doesn't have any failure modes that wouldn't cause a segv anyway, and they tend to clutter the code (This used to be commit c0d9e7d473b8e3eb2524a9fc29cf88680f994b36)
2007-10-10r18435: added a function talloc_move() which is like talloc_steal(), but isAndrew Tridgell4-3/+61
meant for moving pointers between structures. The difference is that talloc_move() will zero the source pointer, thus ensuring you don't reference the pointer in the old context. talloc_move() is appropriate in some, but not all cases where we use talloc_steal() now. The interface came out of a discussion with Jeremy. (This used to be commit 200756017e1867faa207703eddc00a75ae4527df)
2007-10-10r18432: ensure roken doesn't try to include both inttypes.h and stdint.h. TheAndrew Tridgell1-0/+3
two conflict on irix. (This used to be commit 4dd949c80d4400c3a80571cc28f599c37c1fcf7b)
2007-10-10r18428: add my copyrightStefan Metzmacher1-1/+2
metze (This used to be commit d222fab2b5fcd44ad7825e605a9febbe9d211e7a)
2007-10-10r18427: set sin_port correctly on autobound socketStefan Metzmacher1-2/+4
metze (This used to be commit d373890fb26f3a593bacdb374f10d4279822b97d)
2007-10-10r18426: use 'family' consistantly instead of mixing 'domain' and 'family'Stefan Metzmacher2-17/+14
metze (This used to be commit 224f26602ac78dbdabd4602bce42e31141102f6c)
2007-10-10r18424: there's no need to allocate a wrapped socket for unix sockets,Stefan Metzmacher1-21/+16
also this makes sure the socket file isn't unlinked if using socket wrapper. metze (This used to be commit 7670e9ae6e8e64ddb3c7d99b3d44048519629225)
2007-10-10r18423: record accept, connect and close events in socket wrapperStefan Metzmacher1-1/+30
metze (This used to be commit 7f29471f0b6b9158da52522984a6ab3f8ace4f42)
2007-10-10r18420: fix the build...Stefan Metzmacher1-1/+1
metze (This used to be commit a7ce2c6c53f1bbb2320fd8afe44ec12e504d95c9)
2007-10-10r18419: fix include paths of the configure testsStefan Metzmacher4-9/+120
metze (This used to be commit 8774eeb0dc8a72a9871d42bf1652ce4f7d4a29b7)
2007-10-10r18418: Tru64 has a different prototype for seekdir() returning intStefan Metzmacher1-0/+7
when _OSF_SOURCE is defined metze (This used to be commit 5279656a15e42e6dd96ddfa181597c71fc993ff3)
2007-10-10r18417: overload send() and recv() by socket wrapperStefan Metzmacher2-3/+75
and add a dummy swrap_dump_packet() function which can later dump the packet content, so that a script can then generate a capture file for wireshark metze (This used to be commit d05cab5c626b5960448f206e8c17b89edbf78733)
2007-10-10r18410: Reduce noise in the ldb_ildap backend. We regularly search for thingsAndrew Bartlett1-3/+1
that don't exist, and this is not a cause for panic. Andrew Bartlett (This used to be commit c89e416d288d16de43ae93102ecfec588900e6c0)
2007-10-10r18407: test for epoll.h and select.hAndrew Tridgell1-1/+4
(This used to be commit 3ddb77c1e3dce5e05771b3fcaf86f8ae9ff21a52)
2007-10-10r18401: some of our code also relies on fprintf() handling C99Andrew Tridgell1-0/+21
semantics. Easiest to just replace it if it doesn't. (This used to be commit 5fc756a770b6f457bf103e2a8a240ca020fd1a02)
2007-10-10r18400: move MAP_FAILED define to lib/replace/system/shmem.hAndrew Tridgell2-4/+4
(This used to be commit 025b142ff268498cfb36fc0e7e9e25a2c5963d38)
2007-10-10r18388: remove _XOPEN_SOURCE it causes trouble on BSD and IRIXStefan Metzmacher1-6/+0
I need to find a way to define it only on Tru64 maybe. metze (This used to be commit aca8a3f8c0bb3cce0ef8c5fd945011581d19586d)
2007-10-10r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64Stefan Metzmacher2-1/+7
to get MAP_FAILED metze (This used to be commit 0f48c8ad7c066ba33cb8d4491083e15b24c5046e)
2007-10-10r18382: define _XOPEN_SOURCE to hopefully bring in MAP_FAILED inStefan Metzmacher1-1/+6
sys/mman.h on Tru64 metze (This used to be commit 8109eb9d28c9043c359d48319efe91aed2714431)
2007-10-10r18381: make sure autoconf doesn't add '-O2' to CFLAGSStefan Metzmacher1-2/+3
metze (This used to be commit ec6365b5f18eea7035b6963c8005e75b9f4e3437)
2007-10-10r18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -Andrew Tridgell1-0/+6
thanks to volker for the suggestion (This used to be commit 03ed41515b2228d130f669a2c0cf916a21182f30)
2007-10-10r18376: added iconv:native=false option to turn off native iconv. Needed underAndrew Tridgell1-0/+3
valgrind as native iconv is so full of overflows (This used to be commit d1de0202efc6e6ca4bbc1997f3e493da18cd35f4)
2007-10-10r18374: don't go past the end of this arrayAndrew Tridgell1-2/+0
should fix the intermittend failure of the HMACSHA1 test (This used to be commit 09014e1102ca5ada1e6f0f82506dc3cf81fc037d)
2007-10-10r18359: better handling of child process killing in standard modeAndrew Tridgell1-1/+1
(This used to be commit 3752cc2b5767950b26b57e79fa87a70f8d93173d)
2007-10-10r18357: Convert more crypto tests from using function results as initialisers.Andrew Bartlett4-89/+97
(Fails on older Unix C compilers) Andrew Bartlett (This used to be commit a4cc13a93fc2f18bfb266603617e14d1cc7ceecf)
2007-10-10r18353: try to fix the assumption of NULL being handled in printf()Andrew Tridgell1-0/+21
permanently by replacing printf() on systems that don't have a C99 printf lib (This used to be commit eacb5357c347255817a0a47abe7dadfaf24301fa)
2007-10-10r18351: functions as initialisers in structures doesn't work on some compilersAndrew Tridgell1-26/+25
(This used to be commit db694a7c82e4b5071aa7f609de6ecde90a8d42dd)
2007-10-10r18350: we have to check for lstat() to keep roken happen on hpuxAndrew Tridgell1-1/+1
(This used to be commit e251c211f7fa67e2e32d684f10a742b496913284)
2007-10-10r18347: run slapd in the foreground so timelimit can kill itAndrew Tridgell1-2/+3
(This used to be commit 8cc456e6dcb348375dbded0de1a0c07ea6bf8ff9)
2007-10-10r18346: make sure we kill off the slapd processAndrew Tridgell2-4/+26
(This used to be commit 0e1d4be23ab807b17959e09dffbaf9c8c8dd048e)
2007-10-10r18343: fixed setlinebuf() prototype, added test for it, and use it in twoAndrew Tridgell3-4/+5
places to avoid a #ifdef (This used to be commit 095b8057740a4bb207e24e4c63a2dcb53521a72f)
2007-10-10r18340: some HPUX boxes don't have ptrdiff_tAndrew Tridgell1-0/+1
(This used to be commit f3b24ea48a70268be5a3af601b5bb923d446c5d5)
2007-10-10r18339: need these checks for roken.h on hpuxAndrew Tridgell1-0/+11
(This used to be commit e98e0a28a0cb79e272c0caa0bcb3b5fb6bf3a17b)
2007-10-10r18337: more -Ae tests in check_cc.m4Andrew Tridgell1-0/+4
honor the MMAP_BLACKLIST (This used to be commit c2f2dbb5d1c082ee1391908073336a9dfc10f712)
2007-10-10r18336: autoconf tries to force on C89 mode on HP-UX, using the -AeAndrew Tridgell1-0/+4
flag. Unfortunately that flag conflicts with the -AC99 flag, and we get lots of breakage. This is a trick to force off the -Ae option (This used to be commit eb93fb8e54c46df35904e03870063c4532599442)
2007-10-10r18335: more portable bool testsAndrew Tridgell2-2/+22
(This used to be commit 45a3a6a566de020578c24feb5788367efd685f29)
2007-10-10r18332: added back in our shared mmap test codeAndrew Tridgell2-1/+77
(This used to be commit 6ff100b26698a50ba79b587a687cc0d440f73b55)
2007-10-10r18328: when we bail out early, set *offset to 0Andrew Tridgell1-0/+2
(This used to be commit 81230464600bd3a2bb283303b2b9c71f6409675b)