summaryrefslogtreecommitdiffstats
path: root/source4/lib/replace
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* r18145: rename cc_feature.m4 into libreplace_macros.m4Stefan Metzmacher2007-10-102-1/+1
| | | | | metze (This used to be commit d0f40dd3e5ca8b46ee9b2c4332b393f519383aae)
* r18144: make the logic a bit more cut&paste friendlyStefan Metzmacher2007-10-101-10/+21
| | | | | metze (This used to be commit da9be10dc602d21871d970a10015e970650942fe)
* r18143: the 'showflags' convention from Samba is useful for the other packagesAndrew Tridgell2007-10-101-1/+6
| | | | (This used to be commit a4d1f1d2229e1a0b1523bf14fab59278207abbc0)
* r18141: an accidental nested C comment!Andrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 47c305c7dc5d2b2b61afe9f42f77ee3652c61a79)
* r18140: and this reduces warnings about toupper()Andrew Tridgell2007-10-101-0/+1
| | | | (This used to be commit 41419e54d5e79d08a71cd9c94585be3448b1e9fc)
* r18139: irix needs system/network.h hereAndrew Tridgell2007-10-101-0/+1
| | | | (This used to be commit f46ab799b41c0ec520739ec11979771316781ce4)
* r18138: LIBREPLACE provides stuff from -ldl so it should depend on itStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit b4e4c115ab23bcc3b116a3736ddf2e88bab6f4cf)
* r18132: getpass can't depend on fns in lib/util/Andrew Tridgell2007-10-101-2/+28
| | | | (This used to be commit b346ab2f0573177e0a4654fd7c77a071225fc785)
* r18129: moved the system includes into libreplace - this gives much moreAndrew Tridgell2007-10-1023-41/+1160
| | | | | | | isolation of our portability environment from the main code, and also simplifies the includes system (no separate #ifdef _SAMBA_BUILD for tdb. ldb etc now) (This used to be commit 77d1a468e06290aba789e2f3affc769fc5159a21)
* r18127: Add macro AC_CHECK_DECL() for systems that don't have it.Jelmer Vernooij2007-10-101-0/+13
| | | | (This used to be commit 589a1c250934a61db0f86c1e98962e195e681c79)
* r18125: Remove obsolete file.Jelmer Vernooij2007-10-101-58/+0
| | | | (This used to be commit 27aa34eb55afdbc27f36cebae074d6fef5fc822c)
* r18124: Keep right libs when looking for dl*() functionsJelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit 12ce4cef2fcdb4224fdf15c9ecf952ceb797f02c)
* r18122: Fix warnings related to errno declaration.Jelmer Vernooij2007-10-101-1/+3
| | | | (This used to be commit c30abc8e491d482c1771e7ac06cb511bae578467)
* r18121: Simplify m4 code, hopefully fix Samba4 build problems.Jelmer Vernooij2007-10-103-28/+6
| | | | (This used to be commit 1adf65b4d7c5d2d4f65d4b28575bdf2368a42139)
* r18111: base inclusion of replacement printf fns on function existance, notAndrew Tridgell2007-10-101-8/+13
| | | | | | declaration. Otherwise _GNU_SOURCE and _BSD_SOURCE stuffs things up (possibly fixable, but not now) (This used to be commit 68caf1bba73fe68f452c7db2ac3895a451645dec)
* r18094: try to fix the samba4 buildStefan Metzmacher2007-10-102-1/+28
| | | | | metze (This used to be commit 3c00983e2cda2ea55585c25926014e7374d613ce)
* r18093: check for the headers first and check all functionsStefan Metzmacher2007-10-101-2/+2
| | | | | metze (This used to be commit 5bb8a5ce32a3e85355d8554974d226708df41970)
* r18088: sometimes autoconf picks up some old stuff:Stefan Metzmacher2007-10-101-0/+3
| | | | | | | | - remove configure and config.h.in - cleanup after autoconf and autoheader are done metze (This used to be commit c4f91114a3cc741538b358e3e44dc8eb0d13188a)
* r18085: using m4_include() instead of sinclude() means we get an error if theAndrew Tridgell2007-10-102-5/+5
| | | | | include fails - thats better than the compile failing mysteriously (This used to be commit b4df3c73913557297e0eb1ea89cb42a8e7920de8)
* r18084: we don't need the double sinclude() any moreAndrew Tridgell2007-10-101-2/+0
| | | | (This used to be commit 2dab7886c1c0abfd95374c8a796f0fde029de8b6)
* r18081: libreplace now uses config.h againAndrew Tridgell2007-10-101-5/+0
| | | | (This used to be commit 037196538a9850be194c1577f59c0c6a03ea8b9a)
* r18079: fix for in-tree build with samba4 dir layoutAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 8eccdc1cd1fcf59a3bb9683f31a8613f748a1bfc)
* r18078: these tests came from tallocAndrew Tridgell2007-10-101-0/+3
| | | | (This used to be commit 1e5e311233c5253d107bf043dc78dfd21057bb35)
* r18075: with the new scheme, we now use config.h again (thanks jelmer!)Andrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit c45c48786180fc97e2bb53edbdd5ebddfe85e291)
* r18074: config.m4 is now libreplace.m4Andrew Tridgell2007-10-102-1/+1
| | | | (This used to be commit b2e680500e07742d82735bcc05ba2030a5deb603)
* r18073: next step in grab libreplace plan - see IRC logs for very detailedAndrew Tridgell2007-10-103-56/+20
| | | | | discussion wity metze and jelmer! (This used to be commit f18c913b6cf772c44dfaa8a3164cc78f6554e4a9)
* r18067: some tweaks for irix and hpuxAndrew Tridgell2007-10-103-6/+50
| | | | | | | | | this checks for -AC99 or -c99 to get C99 structure init to work. It's based on a similar macro metze did for Samba4. the double sinclude() is weird, but I can't see any other way to use a common config.m4 between libreplace and all the projects that use it (This used to be commit 8d80024976bc508d73b42b4cf12315fe8f7a6322)
* r18061: this should fix the libreplace build on us4 with gccAndrew Tridgell2007-10-102-0/+9
| | | | (This used to be commit 71c0a0731c52458105974e9ad727b7ba403fd992)
* r18060: use gmake for libreplace if availableAndrew Tridgell2007-10-101-0/+2
| | | | (This used to be commit 838de24dfeeb4f67d836681d8ca4b8f94b38d6e2)
* r18059: another cpp errorAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 64eff9d9d998ec2fd3d75393eb57028dfb942acf)
* r18058: we don't actually need __VA_ARGS__ yet (its another C99 feature whichAndrew Tridgell2007-10-101-4/+5
| | | | | I don't think we use anywhere) (This used to be commit bac8d5ce28e86b703a917902f44588746d7e8290)
* r18057: fixed an #ifdefAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit e4c3b9ea2fd47540f693ced2fa6b7aa55372315b)
* r18056: includes needed for O_CREATAndrew Tridgell2007-10-101-1/+3
| | | | (This used to be commit 0b80ee8b3b17d4914010c9a54d5c2dcb69738990)