summaryrefslogtreecommitdiffstats
path: root/source4/lib/replace
Commit message (Collapse)AuthorAgeFilesLines
...
* r18450: - autogenerate the OBJ_FILES for LIBREPLACEStefan Metzmacher2007-10-105-56/+53
| | | | | | | | - remove samba specific stuff from libreplace - and include the readdir replacement stuff in the standalone builds metze (This used to be commit 3cac61152ef9a32313d7f7e5d38651f03a31f251)
* r18445: splitout the dlfcn related testsStefan Metzmacher2007-10-102-10/+20
| | | | | metze (This used to be commit 8662e1481504c50a45416ae09ec19b834164e77c)
* r18444: return the correct value on errorStefan Metzmacher2007-10-101-2/+3
| | | | | metze (This used to be commit d65e94fea910ff435b5cb6fe146f81b01df9abf6)
* r18443: add object files only when neededStefan Metzmacher2007-10-102-1/+4
| | | | | metze (This used to be commit 5fddb66def8dd29a9f8d13b4b679df26aca6cfab)
* r18442: run the os2_delete test in the testsuite tooStefan Metzmacher2007-10-104-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)
* r18432: ensure roken doesn't try to include both inttypes.h and stdint.h. TheAndrew Tridgell2007-10-101-0/+3
| | | | | two conflict on irix. (This used to be commit 4dd949c80d4400c3a80571cc28f599c37c1fcf7b)
* r18420: fix the build...Stefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit a7ce2c6c53f1bbb2320fd8afe44ec12e504d95c9)
* r18419: fix include paths of the configure testsStefan Metzmacher2007-10-104-9/+120
| | | | | metze (This used to be commit 8774eeb0dc8a72a9871d42bf1652ce4f7d4a29b7)
* r18418: Tru64 has a different prototype for seekdir() returning intStefan Metzmacher2007-10-101-0/+7
| | | | | | | when _OSF_SOURCE is defined metze (This used to be commit 5279656a15e42e6dd96ddfa181597c71fc993ff3)
* r18407: test for epoll.h and select.hAndrew Tridgell2007-10-101-1/+4
| | | | (This used to be commit 3ddb77c1e3dce5e05771b3fcaf86f8ae9ff21a52)
* r18401: some of our code also relies on fprintf() handling C99Andrew Tridgell2007-10-101-0/+21
| | | | | semantics. Easiest to just replace it if it doesn't. (This used to be commit 5fc756a770b6f457bf103e2a8a240ca020fd1a02)
* r18400: move MAP_FAILED define to lib/replace/system/shmem.hAndrew Tridgell2007-10-101-0/+4
| | | | (This used to be commit 025b142ff268498cfb36fc0e7e9e25a2c5963d38)
* r18388: remove _XOPEN_SOURCE it causes trouble on BSD and IRIXStefan Metzmacher2007-10-101-6/+0
| | | | | | | I need to find a way to define it only on Tru64 maybe. metze (This used to be commit aca8a3f8c0bb3cce0ef8c5fd945011581d19586d)
* r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64Stefan Metzmacher2007-10-102-1/+7
| | | | | | | to get MAP_FAILED metze (This used to be commit 0f48c8ad7c066ba33cb8d4491083e15b24c5046e)
* r18382: define _XOPEN_SOURCE to hopefully bring in MAP_FAILED inStefan Metzmacher2007-10-101-1/+6
| | | | | | | sys/mman.h on Tru64 metze (This used to be commit 8109eb9d28c9043c359d48319efe91aed2714431)
* r18381: make sure autoconf doesn't add '-O2' to CFLAGSStefan Metzmacher2007-10-101-2/+3
| | | | | metze (This used to be commit ec6365b5f18eea7035b6963c8005e75b9f4e3437)
* r18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -Andrew Tridgell2007-10-101-0/+6
| | | | | thanks to volker for the suggestion (This used to be commit 03ed41515b2228d130f669a2c0cf916a21182f30)
* r18359: better handling of child process killing in standard modeAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 3752cc2b5767950b26b57e79fa87a70f8d93173d)
* r18353: try to fix the assumption of NULL being handled in printf()Andrew Tridgell2007-10-101-0/+21
| | | | | | permanently by replacing printf() on systems that don't have a C99 printf lib (This used to be commit eacb5357c347255817a0a47abe7dadfaf24301fa)
* r18350: we have to check for lstat() to keep roken happen on hpuxAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit e251c211f7fa67e2e32d684f10a742b496913284)
* r18343: fixed setlinebuf() prototype, added test for it, and use it in twoAndrew Tridgell2007-10-103-4/+5
| | | | | places to avoid a #ifdef (This used to be commit 095b8057740a4bb207e24e4c63a2dcb53521a72f)
* r18340: some HPUX boxes don't have ptrdiff_tAndrew Tridgell2007-10-101-0/+1
| | | | (This used to be commit f3b24ea48a70268be5a3af601b5bb923d446c5d5)
* r18339: need these checks for roken.h on hpuxAndrew Tridgell2007-10-101-0/+11
| | | | (This used to be commit e98e0a28a0cb79e272c0caa0bcb3b5fb6bf3a17b)
* r18337: more -Ae tests in check_cc.m4Andrew Tridgell2007-10-101-0/+4
| | | | | honor the MMAP_BLACKLIST (This used to be commit c2f2dbb5d1c082ee1391908073336a9dfc10f712)
* r18336: autoconf tries to force on C89 mode on HP-UX, using the -AeAndrew Tridgell2007-10-101-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)
* r18335: more portable bool testsAndrew Tridgell2007-10-102-2/+22
| | | | (This used to be commit 45a3a6a566de020578c24feb5788367efd685f29)
* r18332: added back in our shared mmap test codeAndrew Tridgell2007-10-102-1/+77
| | | | (This used to be commit 6ff100b26698a50ba79b587a687cc0d440f73b55)
* r18321: fixed some warnings on AIXAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 449fab2c264aa50601f9a2d3310f1910ba97706b)
* r18304: fixed misuse of size_t in dopr()Andrew Tridgell2007-10-101-3/+3
| | | | (This used to be commit d082a3c5f5785e9d7775d94542ce9cc8ef098f63)
* r18292: import some autoconf 2.60 specific macros,Stefan Metzmacher2007-10-102-0/+199
| | | | | | | so that older autoconf versions still work metze (This used to be commit 43970e6d081e56837e38856a9d05c8b9c303955e)
* r18289: don't check for inline till we've worked out the main compiler flagsAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 46ab2b9971c100afa2ed2cb8da0390cfaa9b7032)
* r18288: autoconf already has a C99 test builtin!Andrew Tridgell2007-10-101-0/+1
| | | | | If this works well, we can remove our own test (This used to be commit b4b028e65e242b0fa1d74454bfa0b292917088eb)
* r18287: add support for the -qlanglvl=extc99 and -qlanglvl=stdc99 flags,Andrew Tridgell2007-10-101-0/+18
| | | | | needed on AIX 5.2 for C99 structures (This used to be commit 2dc9239a3621f48fbb410a60fee61d70f85ada91)
* r18284: enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definitionAndrew Tridgell2007-10-101-0/+6
| | | | | of sendfile() (This used to be commit 3e0f262b384b73183452aefabca93c01d53387a8)
* r18283: libreplace.m4 needs to be early in configure.ac in other packages tooAndrew Tridgell2007-10-102-2/+2
| | | | (This used to be commit 03f9c67c066d772d9a544f1183fbee609ab8137b)
* r18280: more portability tidyups, ensuring we use libreplace everywhereAndrew Tridgell2007-10-101-8/+12
| | | | (This used to be commit 4860d0256547b33709cdc109bdf7bb0310c2a5b6)
* r18278: move more header checks and _GNU_SOURCE into libreplaceAndrew Tridgell2007-10-102-1/+10
| | | | (This used to be commit 77c442cd469ba881215e025c87ce632c876eb617)
* r18221: moved more configure checks into lib/replace/Andrew Tridgell2007-10-101-0/+32
| | | | (This used to be commit d853dcfda771888f80a80e14ffabb1c0e58a340e)
* r18219: move some more portability checks out of samba4 and info lib/replaceAndrew Tridgell2007-10-101-0/+31
| | | | (This used to be commit 50318dc55ed5eb70adb02a5680498fad3c3e590d)
* r18216: a special override for the broken HP-UX C compiler. It does supportAndrew Tridgell2007-10-101-0/+10
| | | | | | C99 initialisers without any flags, but if you don't give it -AC99 then it dies when those initialisers are very complex (This used to be commit 46f72d7e3f285d08a043b4e8551f22c4dffe65e5)
* r18206: need rep_ macro for setlinebufAndrew Tridgell2007-10-101-0/+5
| | | | (This used to be commit 6a48f75eaef031538c3e5b98d8672919bba7c409)
* r18205: need rep_ macros for seteuid and setegidAndrew Tridgell2007-10-101-0/+10
| | | | (This used to be commit dd7af58b83815620114795aa49bc30b2440bd81b)
* r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCCStefan Metzmacher2007-10-101-0/+9
| | | | | | | | | | - also specify USE_HOSTCC = YES on binaries that use HOSTCC I also disable autodependecies as this change let make run forever, I hopefully fix that tomorrow metze (This used to be commit 159f74570233a8707dc1deb70fb1917a854213f8)
* r18160: - pread and pwrite replacements need to be non-staticAndrew Tridgell2007-10-107-60/+36
| | | | | | | | | | | | | | | | - replacing rename() is pointless - all platforms have it (and the #define of rename breaks some code) - use system/locale.h in snprintf.c - fix passwd.h for initgroups - stdlib is in replace.h, not needed elsewhere - fix the initgroups replacement - fix mapping of dl functions to rep_* (This used to be commit 57cd0ca176387d6a3acabf9fedeef4f2a3a3dad7)
* r18159: always recreate the the archive and use -s (which does the same as ↵Stefan Metzmacher2007-10-101-2/+1
| | | | | | | | | ranlib) and see how portable it is metze (This used to be commit 47b4509db909e0848842c1601f2058183d36bda7)
* r18156: fix platforms that need timegm replacementAndrew Tridgell2007-10-101-1/+2
| | | | (This used to be commit 859fefc3b9d4241c3db2b2642e3340dffd93f1dd)
* r18152: move our AC macros into lib/replace/libreplace_macros.m4Stefan Metzmacher2007-10-103-21/+182
| | | | | | | and include them from there metze (This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)
* r18151: remove testfileStefan Metzmacher2007-10-101-0/+1
| | | | | metze (This used to be commit 6ffebfb9b7b8175eb312df6b9bc9fbd0db61b2e1)
* r18147: add make realdistcleanStefan Metzmacher2007-10-101-4/+4
| | | | | metze (This used to be commit 20543e0306b129ee89c6ad21dd41205ac0263d7d)
* r18146: we need signal.h in some placesAndrew Tridgell2007-10-101-0/+2
| | | | (This used to be commit f226645d73c85011fea32a9b6e26eb41dd2c4336)