summaryrefslogtreecommitdiff
path: root/source3/lib/snprintf.c
AgeCommit message (Collapse)AuthorFilesLines
2002-06-03Since includes.h isn't included here, VA_COPY has to be defined here. I don'tJim McDonough1-0/+8
see any include file that is guaranteed to be here, so I'm defining it locally. Fixes AIX and Solaris builds. (This used to be commit ca6bb47c22385a2c32be6ac3f8d9ffbfda45359b)
2002-06-03put the ifdef for HAVE_VA_COPY in one place rather than in lots ofAndrew Tridgell1-13/+5
functions (This used to be commit 1cf3228fdc20f0314d1f8e71ad710a5e548b3f72)
2002-05-17Fix usage of va_list passed as an arg. Use __va_copy before using itJim McDonough1-4/+21
when it exists. (This used to be commit 85ab07bdc1b2ce7b2c1b8197fad45124b1460dca)
2002-05-11move vsyslog() from snprintf.c to replace.cSimo Sorce1-14/+0
tx Elrond for prosecuting cleanness :) (This used to be commit 2f30c2edfd6373864f5bd0c4f8d70625495da7eb)
2002-04-16sync with 2.2Simo Sorce1-4/+9
(This used to be commit 18d5ffd835165d2570443c979d9157e2388b37d8)
2002-04-16Fix incorrect zpadlen handling in fmtfp.Simo Sorce1-14/+20
Thanks to Ollie Oldham <ollie.oldham@metro-optix.com> for spotting it. few mods to make it easier to compile the tests. addedd the "Ollie" test to the floating point ones. (This used to be commit 415f9d92bc0a37d38b81a653a4b4c5f0fefa2fe8)
2002-01-19fixes (asprintf) from 2.2Simo Sorce1-0/+1
(This used to be commit 6b123adda901ff05b0271eeda060297448f64eec)
2001-12-21fixed a typo in vsyslog()Andrew Tridgell1-1/+1
(This used to be commit da353bc539db6e2f8d834275abdd9b5fb47b9db8)
2001-12-19Added AC_CHECK_FUNCS(syslog vsyslog).Jeremy Allison1-0/+14
nsswitch code uses vsyslog without checking for it. Provide replacement for vsyslog in lib/snprintf if not found by configure. Jeremy. (This used to be commit ab2e55cdb376d6699c9a09fac243fba7d3840447)
2001-12-10Explain why snprintf has to be overridden in this way.Martin Pool1-1/+8
(This used to be commit a4cc69d9459879c3fa5e782efd643d4e8cd334ba)
2001-12-10Typo spotting.Tim Potter1-2/+2
(This used to be commit 62dfda654ba9a80aa4875ff73fd9170199c745ea)
2001-11-27allow printing of NULL pointers with internal snprintfAndrew Tridgell1-0/+1
(This used to be commit 91bc14f430f798c6be3cb21cb5199ec56308d4f2)
2001-11-27reverted incorrect patchAndrew Tridgell1-2/+4
(This used to be commit 96224fe2d40d0ce79d1215bb6f0d17291cace7b9)
2001-10-24Added || -> && fix from "Orwig, Paul" <PORWIG@PacificLife.com>.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 57b8e6d742addd9fa90da918ec4343d47562f0b7)
2001-05-06replace modf so we don't need the math libraryAndrew Tridgell1-4/+39
(This used to be commit 79c0d24a3092098d3d8e58ebe07cf61db7d898e5)
2001-04-28- added test for vasprintfAndrew Tridgell1-9/+17
- cleaned up GNUC printf attribute macros - added enum handling in mkproto - removed non-vararg code - made slprintf and vslprintf just macros for snprintf and vsnprintf - don't need slprintf code any more (This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
2001-04-28got asprintf defn rightAndrew Tridgell1-11/+12
(This used to be commit 531ab0917004cc1dbbdc4a2b6b8d41f354dd2da7)
2001-04-27added much better snprintf code, plus new function asprintfAndrew Tridgell1-734/+714
(This used to be commit 10327ad11f9a97bf536dc772c9577d8f6809c829)
2001-02-16Excise snprintf -> slprintf.Jeremy Allison1-1/+2
srv_samr.c: duplicate gid fix. srv_spoolss_nt.c: Merge of JF's work. uid.c: Fix for returning names when a PDC. Jeremy. (This used to be commit d938ad6963a2dd4eda930d508600ec1902dc2b16)
2000-07-06Bracked unbracketed macro arguments while looking for another bug.Tim Potter1-2/+2
(This used to be commit 873774e36dfc877727133a86fbc2c2ddc2d563cd)
2000-02-21Fix for crash bug from Paul Tyler <pct@ansto.gov.au>.Jeremy Allison1-10/+11
Jeremy. (This used to be commit 89aa4d8ca9cc9e8e6dd4566076c0cace8b82d838)
2000-01-12Fix problems with broken libc fvct returns.Jeremy Allison1-1/+8
Jeremy. (This used to be commit 6b61f2fe66a62082fdab998ec7bbb1184b9583d7)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-1/+61
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-03-25* client/client.c (dir_total): use SMB_BIG_UINTAlexandre Oliva1-2/+26
* client/clitar.c (ttarf): ditto * * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's patch <cloyce@headgear.org> (This used to be commit 29581f8486e221f41669c2ca268c282f36a496ce)
1998-11-21global change from samba.anu.edu.au to samba.orgAndrew Tridgell1-1/+1
(This used to be commit 42d2509c9fab5c774fd33b9d4b5bd1ee125479c3)
1998-10-31added copyright notice from Patrick PowellAndrew Tridgell1-8/+5
(This used to be commit d398ae487a3edbfefb980fe0abddca1e95f6f3d5)
1998-10-28Fixes to allow this to pass SGI compiler in -fullwarn mode (with oneJeremy Allison1-9/+9
annoying exception I'm still looking at :-). Jeremy. (This used to be commit 9cade656e2db743cb6ee67bbb8b0f50e8e4c39f9)
1998-10-28fixed problem with snprintf.c and mkprotoAndrew Tridgell1-4/+4
(This used to be commit 99430ce899c02b95ab3c577afff7f28c6d5c6c45)
1998-10-28fixed handling of %.0f in replacement snprintf.cAndrew Tridgell1-12/+28
(This used to be commit 177b7b6b190c78ab59e19187d3221d23bb280911)
1998-10-27add ifdef for "long double"Andrew Tridgell1-12/+18
(This used to be commit ae1888529b00f1a98d2b76fec7f19684efca90c7)
1998-10-26added a vsnprintf() implementation from cvslock. See the notes on theAndrew Tridgell1-0/+801
license at the top of lib/snprintf.c I've always been slightly uneasy about our half-baked vslprintf() implementation and the risks on platforms that don't have vsnprintf() so when I saw this code in another GPLd package I wanted it for Samba. (This used to be commit e2cb50af45be6683d02ab48a6648816ee3d52ab1)