summaryrefslogtreecommitdiffstats
path: root/source4/lib/replace
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* r18055: aix needs time.h for timegm.c to compileAndrew Tridgell2007-10-102-0/+9
| | | | (This used to be commit 1c91de687f0078100aa9de9111416c9fced45990)
* r18054: snprintf.c needs to use replace.h to get the rep_vasprintf and relatedAndrew Tridgell2007-10-101-5/+1
| | | | | macros (This used to be commit 3917436ff733f8ee1925e646eec2331190d79663)
* r18053: the sig_atomic_t test needs to be in libreplace for getpass.c toAndrew Tridgell2007-10-101-0/+13
| | | | | compile on hpux (This used to be commit a0bd4f5c4a08f4815aa742cc2406ed8e46d7b8f5)
* r18052: discard_const_p() isn't part of the libreplace API, so we can't use itAndrew Tridgell2007-10-101-1/+1
| | | | | inside libreplace. (This used to be commit 5745ecdd826c387137a742f32ee3c8f60191a6a7)
* r18051: - add gcc warning flagsAndrew Tridgell2007-10-102-46/+60
| | | | | - fix piles of warnings and ftruncate bug in libreplace testsuite (This used to be commit f5fc88f0c4c752a2773d5280ed4d94818e2d4744)
* r18046: Add 'z' specifier support and a configure test.Simo Sorce2007-10-102-16/+51
| | | | | Jeremy should I backport this to samba3 too? (This used to be commit dc689b5579987da8ee5397b9758a42b01e44fb73)
* r18045: Update format, list "test" target as phony.Jelmer Vernooij2007-10-102-1/+3
| | | | (This used to be commit 1f431dcd0a1f9a2cd5a0a3b73fbf8b05b8bc6793)
* r18044: timegm.c needs to be in a separate fileAndrew Tridgell2007-10-103-35/+4
| | | | (This used to be commit 3ec1db7bd12cdc233c37f261073a33fc48ecd7ce)
* r18043: added strlcpy() testAndrew Tridgell2007-10-101-2/+23
| | | | (This used to be commit a68b3395199d2d47af3b23959e6da7109a9c5193)