summaryrefslogtreecommitdiffstats
path: root/source/lib/snprintf.c
Commit message (Collapse)AuthorAgeFilesLines
* r18644: bring in libreplace in lib/replaceStefan Metzmacher2007-10-101-1507/+0
| | | | metze
* r18049: Backport SAMBA_4_0 snprintf changesSimo Sorce2007-10-101-12/+43
|
* r18029: More C++ stuffVolker Lendecke2007-10-101-1/+1
|
* r17906: Port the snprintf bugfix from 4. I wonder why we never hit this....Volker Lendecke2007-10-101-2/+2
|
* r17667: Merge snprintf fixes from tridge (Samba4).Jeremy Allison2007-10-101-16/+41
| | | | | | | | | | | | | | | | | Jeremy. ---------- several replacement snprintf() fixes. 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 ----------
* r13591: I really have no idea how this code ever worked. And I haveGerald Carter2007-10-101-19/+22
| | | | | | | | no idea why no one (including myself) caught this with a compiler warning....Make sure new_chunk() actually returns a pointer to the allocated memory. SAMBA_3_0 now works again on Solaris.
* r13374: new revision of the snprintf replace codeSimo Sorce2007-10-101-176/+580
| | | | | | still missing a configure test to make us substitute our snprintf to system one when the system one does not have positional parameters support
* r11799: Added OpenSSH fix for "%.*s" format crash. From Darren TuckerJeremy Allison2007-10-101-1/+22
| | | | | <dtucker@zip.com.au> Jeremy.
* r1656: Patch from James Peach:Vance Lankhaar2007-10-101-0/+2
| | | | | | | | | | | > This patch is (probably) needed for all systems that don't have a > C99/UNIX98 compliant vsnprintf by default. The builtin sm_*printf > were no being called, causing things like talloc_init to fail, with > predictable results. The should fix 6 (solaris/hpux/irix) builds on the build farm. Vance
* r1111: Rename vsnprintf to smb_vsnprintf so we don't get duplicate symbol errorsJelmer Vernooij2007-10-101-1/+1
| | | | when linking against an app that does have vsnprintf() (bug #478)
* Some spelling mistakes in aclocal.m4 and the va_copy fixups in configure.inRichard Sharpe2003-10-241-0/+4
| | | | and lib/snprintf. Check for va_copy first, and then look for __va_copy.
* Ensure a prototype is generated for smb_snprintf()Tim Potter2003-07-231-1/+1
| | | | Final bit for bug 187.
* A fix for bug 174. I'm pushing this to the tree to test it on one ofTim Potter2003-07-231-4/+2
| | | | the build farm machines that I don't have direct access to (hpntc9I).
* *****LDAP schema changes*****Gerald Carter2003-05-141-9/+9
| | | | | | | | | | | | New objectclass named sambaSamAccount which uses attribute prefaced with the phrase 'samba' to prevent future name clashes. Change in functionality of the 'ldap filter' parameter. This always defaults to "(uid=%u)" now and is and'd with the approriate objectclass depending on whether you are using ldapsam_compat or ldapsam conversion script for migrating from sambaAccount to sambaSamAccount will come next.
* Move some #ifdefs and function prototypes around to avoid a compilerTim Potter2003-05-141-13/+14
| | | | warning when we have a working version of snprintf()
* And finally IDMAP in 3_0Simo Sorce2003-05-121-2/+8
| | | | | | | | | | | | | | | | | | | | We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo.
* Fixed typo introduced in reverted patch from version 1.12.4.5Tim Potter2003-05-051-1/+1
|
* Merge from HEAD 1.36.Martin Pool2003-04-141-12/+46
|
* merge from 2.2Herb Lewis2002-12-191-0/+2
| | | | actually print args for %g and %e
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-32/+46
|
* fixes (asprintf) from 2.2Simo Sorce2002-01-191-0/+1
|
* fixed a typo in vsyslog()Andrew Tridgell2001-12-211-1/+1
|
* Added AC_CHECK_FUNCS(syslog vsyslog).Jeremy Allison2001-12-191-0/+14
| | | | | | nsswitch code uses vsyslog without checking for it. Provide replacement for vsyslog in lib/snprintf if not found by configure. Jeremy.
* Explain why snprintf has to be overridden in this way.Martin Pool2001-12-101-1/+8
|
* Typo spotting.Tim Potter2001-12-101-2/+2
|
* allow printing of NULL pointers with internal snprintfAndrew Tridgell2001-11-271-0/+1
|
* reverted incorrect patchAndrew Tridgell2001-11-271-2/+4
|
* Added || -> && fix from "Orwig, Paul" <PORWIG@PacificLife.com>.Jeremy Allison2001-10-241-2/+2
| | | | Jeremy.
* replace modf so we don't need the math libraryAndrew Tridgell2001-05-061-4/+39
|
* - added test for vasprintfAndrew Tridgell2001-04-281-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
* got asprintf defn rightAndrew Tridgell2001-04-281-11/+12
|
* added much better snprintf code, plus new function asprintfAndrew Tridgell2001-04-271-734/+714
|
* Excise snprintf -> slprintf.Jeremy Allison2001-02-161-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.
* Bracked unbracketed macro arguments while looking for another bug.Tim Potter2000-07-061-2/+2
|
* Fix for crash bug from Paul Tyler <pct@ansto.gov.au>.Jeremy Allison2000-02-211-10/+11
| | | | Jeremy.
* Fix problems with broken libc fvct returns.Jeremy Allison2000-01-121-1/+8
| | | | Jeremy.
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-1/+61
|
* * client/client.c (dir_total): use SMB_BIG_UINTAlexandre Oliva1999-03-251-2/+26
| | | | | | * client/clitar.c (ttarf): ditto * * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's patch <cloyce@headgear.org>
* global change from samba.anu.edu.au to samba.orgAndrew Tridgell1998-11-211-1/+1
|
* added copyright notice from Patrick PowellAndrew Tridgell1998-10-311-8/+5
|
* Fixes to allow this to pass SGI compiler in -fullwarn mode (with oneJeremy Allison1998-10-281-9/+9
| | | | | annoying exception I'm still looking at :-). Jeremy.
* fixed problem with snprintf.c and mkprotoAndrew Tridgell1998-10-281-4/+4
|
* fixed handling of %.0f in replacement snprintf.cAndrew Tridgell1998-10-281-12/+28
|
* add ifdef for "long double"Andrew Tridgell1998-10-271-12/+18
|
* added a vsnprintf() implementation from cvslock. See the notes on theAndrew Tridgell1998-10-261-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.