#
ea1a630a |
| 29-May-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Minor style knit.
|
#
4aa17924 |
| 26-May-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
printf(1): warn about incomplete uses n$
Reviewed by: jilles Obtained from: Illumos MFC after: 2 weeks
|
#
414fdaf0 |
| 21-May-2014 |
Alan Somers <asomers@FreeBSD.org> |
IFC @266473
|
#
4e4d9802 |
| 13-May-2014 |
Jilles Tjoelker <jilles@FreeBSD.org> |
printf: Fix missing arguments for %u/%o/%x/%X after r265592.
If a numeric argument is missing, zero should be assumed, for signed as well as unsigned conversions.
This fixes the 'zero' regression t
printf: Fix missing arguments for %u/%o/%x/%X after r265592.
If a numeric argument is missing, zero should be assumed, for signed as well as unsigned conversions.
This fixes the 'zero' regression tests.
r265592 erroneously reverted r244407.
show more ...
|
#
30238f49 |
| 11-May-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
printf: fix regression after illumos merges.
The "bltin/bltin.h" wrappers do not support exit() and attempting to call it will exit sh completely.
Note that errx() is acceptable but will always ret
printf: fix regression after illumos merges.
The "bltin/bltin.h" wrappers do not support exit() and attempting to call it will exit sh completely.
Note that errx() is acceptable but will always return with status 2.
Reported by: jilles (and the testing framework) Fix by: jilles Pointyhat: pfg
show more ...
|
#
76f66be6 |
| 11-May-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
prinf: replace use of alloca with variable length array.
Use of alloca(3) is discouraged in FreeBSD. Using a VLA is simple and should be more portable.
Requested by: jilles
|
#
cc3f4b99 |
| 09-May-2014 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge from head
|
#
437bce62 |
| 08-May-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Fix the incorrect handling of %b and \c in printf(1)
This is required for POSIX compliance.
Obtained from: Garrett D'Amore (Illumos) MFC after: 4 days
|
#
f8a6c905 |
| 07-May-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Add width and precision specifiers to printf(1) %n$.
This actually completes r264743 so that width and precision specifiers work properly with %n$. These keeps consistency with ksh93 and zsh.
Requ
Add width and precision specifiers to printf(1) %n$.
This actually completes r264743 so that width and precision specifiers work properly with %n$. These keeps consistency with ksh93 and zsh.
Requested by: jilles Obtained from: Garrett D'Amore (Illumos) MFC after: 4 days
show more ...
|
#
3b8f0845 |
| 28-Apr-2014 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge head
|
#
84e51a1b |
| 23-Apr-2014 |
Alan Somers <asomers@FreeBSD.org> |
IFC @264767
|
#
b0620803 |
| 22-Apr-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Add parameterized position handling to printf(1).
Add a new %n$ option to change the order of the parameters as done in the ksh93 builtin printf (among others).
For example: %printf '%2$1d %1$s\n'
Add parameterized position handling to printf(1).
Add a new %n$ option to change the order of the parameters as done in the ksh93 builtin printf (among others).
For example: %printf '%2$1d %1$s\n' one 2 three 4 2 one 4 three
The feature was written by Garret D'Amore under a BSD license for Nexenta/illumos.
Reference: http://garrett.damore.org/2010/10/new-implementation-of-printf.html
PR: bin/152934 Obtained from: Illumos MFC after: 2 weeks
show more ...
|
#
f77d6662 |
| 17-Apr-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Minor style(9) cleanups
#define should be followed by a tab.
MFC after: 3 days
|
Revision tags: release/10.0.0, release/9.2.0 |
|
#
cfe30d02 |
| 19-Jun-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge fresh head.
|
Revision tags: release/8.4.0 |
|
#
d241a0e6 |
| 26-Feb-2013 |
Xin LI <delphij@FreeBSD.org> |
IFC @247348.
|
#
d9a44755 |
| 08-Feb-2013 |
David E. O'Brien <obrien@FreeBSD.org> |
Sync with HEAD.
|
#
46b1c55d |
| 04-Jan-2013 |
Neel Natu <neel@FreeBSD.org> |
IFC @ r244983.
|
#
2f01c791 |
| 18-Dec-2012 |
Eitan Adler <eadler@FreeBSD.org> |
POSIX requires that non-existent or null arguments be treated as if a zero argument were supplied.
Add a regression test to catch this case as well.
PR: bin/174521 Submitted by: Daniel Shahaf <dan
POSIX requires that non-existent or null arguments be treated as if a zero argument were supplied.
Add a regression test to catch this case as well.
PR: bin/174521 Submitted by: Daniel Shahaf <danielsh@elego.de> (pr) Submitted by: Mark Johnston <markjdb@gmail.com> (initial patch) Reviewed by: jilles Approved by: cperciva (implicit) MFC after: 3 weeks
show more ...
|
Revision tags: release/9.1.0 |
|
#
e477abf7 |
| 27-Nov-2012 |
Alexander Motin <mav@FreeBSD.org> |
MFC @ r241285
|
#
a10c6f55 |
| 11-Nov-2012 |
Neel Natu <neel@FreeBSD.org> |
IFC @ r242684
|
#
23090366 |
| 04-Nov-2012 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Sync from head
|
#
7cbda738 |
| 15-Sep-2012 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Prefer internal nextopt() to libc getopt().
This reduces code duplication and code size.
/usr/bin/printf is not affected.
Side effect: different error messages when certain builtins are passed
sh: Prefer internal nextopt() to libc getopt().
This reduces code duplication and code size.
/usr/bin/printf is not affected.
Side effect: different error messages when certain builtins are passed invalid options.
show more ...
|
#
38f1b189 |
| 26-Apr-2012 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r234692
sys/amd64/include/cpufunc.h sys/amd64/include/fpu.h sys/amd64/amd64/fpu.c sys/amd64/vmm/vmm.c
- Add API to allow vmm FPU state init/save/restore.
FP stuff discussed with: kib
|
Revision tags: release/8.3.0_cvs, release/8.3.0 |
|
#
8fa0b743 |
| 23-Jan-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @230489 (pending review).
|
#
ab71f271 |
| 12-Jan-2012 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Style cleanups for printf.
PR: bin/152934 Approved by: jhb (mentor) Obtained from: Illumos MFC after: 2 weeks
|