summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCCStefan Metzmacher1-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)
2007-10-10r18160: - pread and pwrite replacements need to be non-staticAndrew Tridgell7-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)
2007-10-10r18159: always recreate the the archive and use -s (which does the same as ↵Stefan Metzmacher1-2/+1
ranlib) and see how portable it is metze (This used to be commit 47b4509db909e0848842c1601f2058183d36bda7)
2007-10-10r18156: fix platforms that need timegm replacementAndrew Tridgell1-1/+2
(This used to be commit 859fefc3b9d4241c3db2b2642e3340dffd93f1dd)
2007-10-10r18152: move our AC macros into lib/replace/libreplace_macros.m4Stefan Metzmacher3-21/+182
and include them from there metze (This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)
2007-10-10r18151: remove testfileStefan Metzmacher1-0/+1
metze (This used to be commit 6ffebfb9b7b8175eb312df6b9bc9fbd0db61b2e1)
2007-10-10r18147: add make realdistcleanStefan Metzmacher1-4/+4
metze (This used to be commit 20543e0306b129ee89c6ad21dd41205ac0263d7d)
2007-10-10r18146: we need signal.h in some placesAndrew Tridgell1-0/+2
(This used to be commit f226645d73c85011fea32a9b6e26eb41dd2c4336)
2007-10-10r18145: rename cc_feature.m4 into libreplace_macros.m4Stefan Metzmacher2-1/+1
metze (This used to be commit d0f40dd3e5ca8b46ee9b2c4332b393f519383aae)
2007-10-10r18144: make the logic a bit more cut&paste friendlyStefan Metzmacher1-10/+21
metze (This used to be commit da9be10dc602d21871d970a10015e970650942fe)
2007-10-10r18143: the 'showflags' convention from Samba is useful for the other packagesAndrew Tridgell1-1/+6
(This used to be commit a4d1f1d2229e1a0b1523bf14fab59278207abbc0)
2007-10-10r18141: an accidental nested C comment!Andrew Tridgell1-1/+1
(This used to be commit 47c305c7dc5d2b2b61afe9f42f77ee3652c61a79)
2007-10-10r18140: and this reduces warnings about toupper()Andrew Tridgell1-0/+1
(This used to be commit 41419e54d5e79d08a71cd9c94585be3448b1e9fc)
2007-10-10r18139: irix needs system/network.h hereAndrew Tridgell1-0/+1
(This used to be commit f46ab799b41c0ec520739ec11979771316781ce4)
2007-10-10r18138: LIBREPLACE provides stuff from -ldl so it should depend on itStefan Metzmacher1-1/+1
metze (This used to be commit b4e4c115ab23bcc3b116a3736ddf2e88bab6f4cf)
2007-10-10r18132: getpass can't depend on fns in lib/util/Andrew Tridgell1-2/+28
(This used to be commit b346ab2f0573177e0a4654fd7c77a071225fc785)
2007-10-10r18129: moved the system includes into libreplace - this gives much moreAndrew Tridgell23-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)
2007-10-10r18127: Add macro AC_CHECK_DECL() for systems that don't have it.Jelmer Vernooij1-0/+13
(This used to be commit 589a1c250934a61db0f86c1e98962e195e681c79)
2007-10-10r18125: Remove obsolete file.Jelmer Vernooij1-58/+0
(This used to be commit 27aa34eb55afdbc27f36cebae074d6fef5fc822c)
2007-10-10r18124: Keep right libs when looking for dl*() functionsJelmer Vernooij1-2/+2
(This used to be commit 12ce4cef2fcdb4224fdf15c9ecf952ceb797f02c)
2007-10-10r18122: Fix warnings related to errno declaration.Jelmer Vernooij1-1/+3
(This used to be commit c30abc8e491d482c1771e7ac06cb511bae578467)
2007-10-10r18121: Simplify m4 code, hopefully fix Samba4 build problems.Jelmer Vernooij3-28/+6
(This used to be commit 1adf65b4d7c5d2d4f65d4b28575bdf2368a42139)
2007-10-10r18111: base inclusion of replacement printf fns on function existance, notAndrew Tridgell1-8/+13
declaration. Otherwise _GNU_SOURCE and _BSD_SOURCE stuffs things up (possibly fixable, but not now) (This used to be commit 68caf1bba73fe68f452c7db2ac3895a451645dec)
2007-10-10r18094: try to fix the samba4 buildStefan Metzmacher2-1/+28
metze (This used to be commit 3c00983e2cda2ea55585c25926014e7374d613ce)
2007-10-10r18093: check for the headers first and check all functionsStefan Metzmacher1-2/+2
metze (This used to be commit 5bb8a5ce32a3e85355d8554974d226708df41970)
2007-10-10r18088: sometimes autoconf picks up some old stuff:Stefan Metzmacher1-0/+3
- remove configure and config.h.in - cleanup after autoconf and autoheader are done metze (This used to be commit c4f91114a3cc741538b358e3e44dc8eb0d13188a)
2007-10-10r18085: using m4_include() instead of sinclude() means we get an error if theAndrew Tridgell2-5/+5
include fails - thats better than the compile failing mysteriously (This used to be commit b4df3c73913557297e0eb1ea89cb42a8e7920de8)
2007-10-10r18084: we don't need the double sinclude() any moreAndrew Tridgell1-2/+0
(This used to be commit 2dab7886c1c0abfd95374c8a796f0fde029de8b6)
2007-10-10r18081: libreplace now uses config.h againAndrew Tridgell1-5/+0
(This used to be commit 037196538a9850be194c1577f59c0c6a03ea8b9a)
2007-10-10r18079: fix for in-tree build with samba4 dir layoutAndrew Tridgell1-1/+1
(This used to be commit 8eccdc1cd1fcf59a3bb9683f31a8613f748a1bfc)
2007-10-10r18078: these tests came from tallocAndrew Tridgell1-0/+3
(This used to be commit 1e5e311233c5253d107bf043dc78dfd21057bb35)
2007-10-10r18075: with the new scheme, we now use config.h again (thanks jelmer!)Andrew Tridgell1-1/+1
(This used to be commit c45c48786180fc97e2bb53edbdd5ebddfe85e291)
2007-10-10r18074: config.m4 is now libreplace.m4Andrew Tridgell2-1/+1
(This used to be commit b2e680500e07742d82735bcc05ba2030a5deb603)
2007-10-10r18073: next step in grab libreplace plan - see IRC logs for very detailedAndrew Tridgell3-56/+20
discussion wity metze and jelmer! (This used to be commit f18c913b6cf772c44dfaa8a3164cc78f6554e4a9)
2007-10-10r18067: some tweaks for irix and hpuxAndrew Tridgell3-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)
2007-10-10r18061: this should fix the libreplace build on us4 with gccAndrew Tridgell2-0/+9
(This used to be commit 71c0a0731c52458105974e9ad727b7ba403fd992)
2007-10-10r18060: use gmake for libreplace if availableAndrew Tridgell1-0/+2
(This used to be commit 838de24dfeeb4f67d836681d8ca4b8f94b38d6e2)
2007-10-10r18059: another cpp errorAndrew Tridgell1-1/+1
(This used to be commit 64eff9d9d998ec2fd3d75393eb57028dfb942acf)
2007-10-10r18058: we don't actually need __VA_ARGS__ yet (its another C99 feature whichAndrew Tridgell1-4/+5
I don't think we use anywhere) (This used to be commit bac8d5ce28e86b703a917902f44588746d7e8290)
2007-10-10r18057: fixed an #ifdefAndrew Tridgell1-1/+1
(This used to be commit e4c3b9ea2fd47540f693ced2fa6b7aa55372315b)
2007-10-10r18056: includes needed for O_CREATAndrew Tridgell1-1/+3
(This used to be commit 0b80ee8b3b17d4914010c9a54d5c2dcb69738990)
2007-10-10r18055: aix needs time.h for timegm.c to compileAndrew Tridgell2-0/+9
(This used to be commit 1c91de687f0078100aa9de9111416c9fced45990)
2007-10-10r18054: snprintf.c needs to use replace.h to get the rep_vasprintf and relatedAndrew Tridgell1-5/+1
macros (This used to be commit 3917436ff733f8ee1925e646eec2331190d79663)
2007-10-10r18053: the sig_atomic_t test needs to be in libreplace for getpass.c toAndrew Tridgell1-0/+13
compile on hpux (This used to be commit a0bd4f5c4a08f4815aa742cc2406ed8e46d7b8f5)
2007-10-10r18052: discard_const_p() isn't part of the libreplace API, so we can't use itAndrew Tridgell1-1/+1
inside libreplace. (This used to be commit 5745ecdd826c387137a742f32ee3c8f60191a6a7)
2007-10-10r18051: - add gcc warning flagsAndrew Tridgell2-46/+60
- fix piles of warnings and ftruncate bug in libreplace testsuite (This used to be commit f5fc88f0c4c752a2773d5280ed4d94818e2d4744)
2007-10-10r18046: Add 'z' specifier support and a configure test.Simo Sorce2-16/+51
Jeremy should I backport this to samba3 too? (This used to be commit dc689b5579987da8ee5397b9758a42b01e44fb73)
2007-10-10r18045: Update format, list "test" target as phony.Jelmer Vernooij2-1/+3
(This used to be commit 1f431dcd0a1f9a2cd5a0a3b73fbf8b05b8bc6793)
2007-10-10r18044: timegm.c needs to be in a separate fileAndrew Tridgell3-35/+4
(This used to be commit 3ec1db7bd12cdc233c37f261073a33fc48ecd7ce)
2007-10-10r18043: added strlcpy() testAndrew Tridgell1-2/+23
(This used to be commit a68b3395199d2d47af3b23959e6da7109a9c5193)