summaryrefslogtreecommitdiff
path: root/usr.bin/printf/printf.c
AgeCommit message (Expand)Author
2019-07-22Amend the previous change: we can have (almost) the best of bothkre
2019-07-21Stop assuming that printf handles options in any way at allkre
2019-01-27Revert previous, it was based upon a misreading of the POSIXkre
2019-01-26Always convert input numbers (from the command line) in the Ckre
2018-09-10A truly ancient bug found by Edgar Fusskre
2018-09-04Printf's that support \e for escape all seem to also support \E.kre
2018-09-03Tighten syntax a little (no more %*4.*2d nonsense).kre
2018-08-31PR standards/53563kre
2018-07-25NFC: More KNF (remove () around returned constants).kre
2018-07-25NFC: whitespace & KNF.kre
2018-07-24Add support for F a and A formats (which go with the eEfgG formatskre
2018-07-03Avoid printing error messages twice when an invalidkre
2018-07-03From leot@ on tech-userlevel:kre
2015-06-16fix some error handling.christos
2013-07-16WARNS=6christos
2011-03-15support grouping format.christos
2009-10-13Avoid segv on "printf '%*********s' 666", from Maksymilian Arciemowiczchristos
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2008-03-28detect more errors from printf/malloc.christos
2005-03-22Remember to consume input bytes when processing '\0nnn' for %b formatsdsl
2004-10-30- KNF, WARNS=3, pass lint.christos
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-06-25Revert previous. 'None' means that the "Utility Syntax Guidlines" apply.dsl
2003-06-25Remove getopt() loop, IEEE 1003.1 doesn't say that printf(1) should conformdsl
2003-02-24Fix the output of NUL bytes within %b formats.dsl
2002-11-24Fixes from David Laight:christos
2002-06-14Complete declaration of progprintf() to fix build problem in csh(1).tron
2002-06-14Remove #ifdef __STDC__. De-__P() and ANSIfy. Fix a prototype mismatchwiz
2001-05-05Change to use {u,}intmax_t internally (was: (unsigned) long).kleink
1998-12-19brace pollution, and char -> unsigned charchristos
1998-10-14include unistdwsanchez
1998-02-03add <unistd.h> to fix compiler warningperry
1997-10-19s/index/strchrlukem
1997-10-18"merge" lite-2. our printf is already kinda different...minor changes only.mrg
1997-07-04Fix compiler warnings.christos
1997-01-14lint and KNF changes. (mostly casting returns to void to quiet lint.)cgd
1997-01-09RCS ID policetls
1994-02-03Simplify conversion of "quoted" numeric arguments.jtc
1994-02-03Code to check if conversion (by strtol(), strtoul(), or strtod()) wasjtc
1994-02-03Add and use getulong() to handle %u, %o, %x & %X formatting directives.jtc
1993-12-31Handle format strings error correctly.jtc
1993-11-25Error in hextobin() macro messed up hex escape constants.jtc
1993-11-19Oops! get rid of the free(), mklong()'s buffer no longer malloc()'d.jtc
1993-11-19Return from main() if a \c escape is encountered in a %b string (was an exit()).jtc
1993-11-19Move all the code from do_printf() into do-while loop in main(). I needjtc
1993-11-19Merged in most of the changes from 4.4 necessary to make printf a shjtc
1993-11-05Changes required to make printf utility POSIX.2 compliant:jtc
1993-08-01Add RCS identifiers.mycroft
1993-04-19Cleanup for GCC 2.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd