summaryrefslogtreecommitdiff
path: root/source4/lib/replace/snprintf.c
AgeCommit message (Collapse)AuthorFilesLines
2008-09-16Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij1-1530/+0
2008-09-14Fix typo.Karolin Seeger1-1/+1
retieve -> retrieve Karolin (partialy cherry-picked from 37c64130701ab13b6f34998ac17fec2d128c2e08) metze (This used to be commit 4d92e6d582a5b2094b2aaa9008a54b37ccfcc2d7)
2008-03-18Allocate one 0-byte in asprintf replacement when len==0Volker Lendecke1-1/+1
Some S3 code depends on this. (cherry picked from commit dc3d5e16452bf30055638ba3cfe99097fb557156) (This used to be commit 842d144b4fb0981250157f72956e732709663107)
2007-10-10r21174: many thanks to Paul Wayper for pointing out that C99 requires aAndrew Tridgell1-2/+4
matching va_end() for each va_copy(). This doesn't matter for most architectures, but there could be some obscure ones where it does matter. some of this should be ported to Samba3 (This used to be commit 21eb316473486cb6b73bb3ff9c5f3a44ecd57e4a)
2007-10-10r18401: some of our code also relies on fprintf() handling C99Andrew Tridgell1-0/+21
semantics. Easiest to just replace it if it doesn't. (This used to be commit 5fc756a770b6f457bf103e2a8a240ca020fd1a02)
2007-10-10r18353: try to fix the assumption of NULL being handled in printf()Andrew Tridgell1-0/+21
permanently by replacing printf() on systems that don't have a C99 printf lib (This used to be commit eacb5357c347255817a0a47abe7dadfaf24301fa)
2007-10-10r18321: fixed some warnings on AIXAndrew Tridgell1-1/+1
(This used to be commit 449fab2c264aa50601f9a2d3310f1910ba97706b)
2007-10-10r18304: fixed misuse of size_t in dopr()Andrew Tridgell1-3/+3
(This used to be commit d082a3c5f5785e9d7775d94542ce9cc8ef098f63)
2007-10-10r18160: - pread and pwrite replacements need to be non-staticAndrew Tridgell1-16/+1
- 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-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-10r18046: Add 'z' specifier support and a configure test.Simo Sorce1-12/+43
Jeremy should I backport this to samba3 too? (This used to be commit dc689b5579987da8ee5397b9758a42b01e44fb73)
2007-10-10r18031: Merge my replace fixes:Jelmer Vernooij1-3/+3
* 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-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-10r17789: remove compiler warningsStefan Metzmacher1-3/+3
metze (This used to be commit dec228be4d4a68e2a6794ad4e7a9224e040fa7f2)
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-10r13592: Incredible how bugs like this can sweep in even after peer review ↵Simo Sorce1-19/+22
and testing ... (This used to be commit 8483f61a1df0c80f3385b1ab5a2628c2a97d41a2)
2007-10-10r13401: remove the rename of the snprintf functions that simo accidentiallyAndrew Tridgell1-4/+2
included in his last commit (This used to be commit 487b374b4359b2cb5f4e249e595c43bfa568a853)
2007-10-10r13374: new revision of the snprintf replace codeSimo Sorce1-226/+672
still missing a configure test to make us substitute our snprintf to system one when the system one does not have positional parameters support (This used to be commit 398f989d6580587eb1fa4fec0b1ed858b5cbe8e1)
2007-10-10r11797: Added OpenSSH fix for "%.*s" format crash. From Darren TuckerJeremy Allison1-1/+22
<dtucker@zip.com.au> Jeremy. (This used to be commit a2006c162833f8e0513c2f2744688960c04b7e67)
2007-10-10r7166: Move replacement stuff to seperate directoryJelmer Vernooij1-0/+981
(easier to add win32-specific bits later) Trim LIBBASIC a bit more (This used to be commit fc7f519e4ae2051e9515df5f549c8e1842b7e70b)