summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r18042: testsuite needs to link to libreplace.a :-)Andrew Tridgell1-1/+1
(This used to be commit d359dea98eceadb4881578f70d8f4453ec0a2b88)
2007-10-10r18041: started on the bodies of the testsuite functions for libreplaceAndrew Tridgell2-2/+44
(This used to be commit a2a6782ec721312e329cd16b609fb3eff8ad284d)
2007-10-10r18040: Use only one strnlen implementationJelmer Vernooij1-14/+1
(This used to be commit 9a421425d242f6e0385414121c114c7c62ea1aaa)
2007-10-10r18039: Include header with time_t if needed.Jelmer Vernooij1-5/+10
(This used to be commit b0cfdd24be88ba3963eb43cdbcb6317e65aed57b)
2007-10-10r18038: make test fns staticAndrew Tridgell1-43/+43
(This used to be commit 2dda101a5fcc40702df9fa2f932d6fe97ae64163)
2007-10-10r18037: added 'make installcheck' targetAndrew Tridgell1-0/+2
(This used to be commit 34f173d8cb23a3e12e94744b696343757b837066)
2007-10-10r18035: - fixed 'make clean' to remove test objectsAndrew Tridgell1-1/+2
- fixed 'make install' to create target dir should be ready to go into the build farm as a standalone build now? (This used to be commit 5feaeaf1dc6434874c8f4c0e913a7e6c70b87309)
2007-10-10r18034: fixed build of libreplace outside of source directoryAndrew Tridgell1-1/+3
(This used to be commit 8c07569227c6f2b0c9abdfe535733f3d5cb40fe5)
2007-10-10r18033: added install-sh, needed for standalone libreplace buildAndrew Tridgell1-0/+238
(This used to be commit 652c11e4b8d5188690bbe512b205ab5ac783aee8)
2007-10-10r18032: added a 'make distclean'Andrew Tridgell1-1/+9
(This used to be commit e83ea30b72c92ecf242274d090b00009bddd8be6)
2007-10-10r18031: Merge my replace fixes:Jelmer Vernooij15-112/+916
* libreplace can now build stand-alone * add stub testsuite for libreplace * make talloc/tdb/ldb use libreplace (This used to be commit fe7ca4b1454e01a33ed0d53791ebffdd349298b4)
2007-10-10r18018: Fix the build on OpenBSD. No license problem this time, I've written ↵Volker Lendecke1-1/+17
strnlen from scratch. Volker (This used to be commit 2a7cdf52e4113db30a7a8b180c68cec736f6c186)
2007-10-10r17992: reverted r17842Andrew Tridgell2-47/+1
This needs more consideration, as the patch removed the copyright notice and license from the timegm.c code. Volker, when you get a minute can you let me know what problem this patch fixed so I can find a different approach? (This used to be commit 5b9b9dd5303300778bb9e6d0479ab03fdd70c67d)
2007-10-10r17884: Shape up the snprintf fix after Metzes commentsVolker Lendecke1-2/+2
(This used to be commit 66b6456eee579623b64c649356ab0175c46f5789)
2007-10-10r17849: Next round for RPC-SAMBA3-SHARESECVolker Lendecke1-2/+2
(This used to be commit e17371b7f970fe4cc91f8034c18292cc3c22f161)
2007-10-10r17842: After talking to Simo, apply the next attempt to resolve the strnlenVolker Lendecke2-1/+47
problem. Timegm is the same. Simo says this is just a workaround, but it helps for now. Feel free to revert. Volker (This used to be commit fd166ca0c079d83081bc1d631fe40b965c7873d4)
2007-10-10r17841: Revert 17840, libldb.a defines strnlen. Sorry for the noiseVolker Lendecke2-15/+1
(This used to be commit 1de34590821b0c076bf8d48cbdae97f33275647e)
2007-10-10r17840: A step towards building on Solaris which appears not to have strnlen.Volker Lendecke2-1/+15
Volker (This used to be commit ebf75c6196afdd4bfa4f11bb1d45d385ab0babed)
2007-10-10r17790: replace uses -ldl and should directly depend on itStefan Metzmacher1-1/+1
metze (This used to be commit 560a3058e53479133015d1b0a7cd149393c45438)
2007-10-10r17789: remove compiler warningsStefan Metzmacher1-3/+3
metze (This used to be commit dec228be4d4a68e2a6794ad4e7a9224e040fa7f2)
2007-10-10r17763: moved setenv to ldb/replace/Andrew Tridgell2-20/+1
(This used to be commit ed2dbc4dfe4556831c809dab24e3833cd2018138)
2007-10-10r17750: these have moved to ldb/replace/ nowAndrew Tridgell4-126/+2
(This used to be commit ac178b52935d7629f8583092e833b74093ca70e1)
2007-10-10r17658: several replacement snprintf() fixes.Andrew Tridgell1-15/+40
1) when running the testsuite, actually test against the system sprintf(), not against ourselves (doh!) 2) fix the buffer termination to terminate buf2 as well 3) fix handling of %llu, and add a simple test This fixes a bug with password expiry on solaris (This used to be commit ad539ec11401732d1da0abd8eef1fe849a216c21)
2007-10-10r16556: Add mkdtemp to libreplace. This is apparantly available on LinuxJames Peach4-2/+22
and BSD systems, but it's not everywhere. (This used to be commit b3d2512ed4fc8c378607bcc2dc241a1f77ab7197)
2007-10-10r16012: do the type checks before anythingelseStefan Metzmacher1-11/+12
metze (This used to be commit 092e52c51884706317564a5a5397f137689d78cb)
2007-10-10r16003: Tru64 doesn't have strtoll/strtoull but the size of 'long' is equal toStefan Metzmacher1-0/+4
the size of 'long long' so we can use strtol/strtoul Patch from Bjoern Jacke, thanks! (I only added the SIZEOF_LONG == SIZEOF_LONG_LONG) metze (This used to be commit 2bda7b63be1257210601dac3e2b1070f48d765b4)
2007-10-10r16001: we don't use u_intX_t any moreStefan Metzmacher2-7/+2
metze (This used to be commit e0e4f86b30185e01975eff91c2ce7ab7ca5353c1)
2007-10-10r15986: Declare struct tmJelmer Vernooij1-0/+1
(This used to be commit 139d9369dc1b7daaf980a0c95b0921388ec39913)
2007-10-10r15953: our timegm() replacement still doesn't work, so grab the one fromAndrew Tridgell4-13/+77
Heimdal which does work. This should fix most of the rest of the failures on solaris (This used to be commit acfaa98b5ea686feb81350baf09b3f4480f96edc)
2007-10-10r15896: we're getting a lot of crashes on the build farm due to peopleAndrew Tridgell1-0/+1
assuming that printf("%s", NULL) is OK. The problem is that it is ok with recent versions of glibc, so the bug isn't noticed by most developers. This configure change ensures that we replace snprintf() if it doesn't handle NULL strings. Then we just need to make sure we use d_printf() instead of printf() in torture tests to display possibly NULL strings. (This used to be commit dcce824080f3437c835b32381b73380fab720554)
2007-10-10r15882: I forgot to add in this prototype for strtok_r()Andrew Tridgell1-0/+4
(This used to be commit 971cead2ad66fca55a32639090d97b8186c1dae7)