Module Name:src
Committed By: christos
Date: Thu May 20 02:01:07 UTC 2021
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
fix typo
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/usr.bin/printf/printf.c
Please note that diffs are not public
Module Name:src
Committed By: christos
Date: Thu May 20 02:01:07 UTC 2021
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
fix typo
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/usr.bin/printf/printf.c
Please note that diffs are not public
Module Name:src
Committed By: kre
Date: Wed May 19 22:41:19 UTC 2021
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Changes for POSIX conformance.
1. exit(1) with an error message on stderr if an I/O error occurs.
1a. To work properly when built into /bin/sh
Module Name:src
Committed By: kre
Date: Wed May 19 22:41:19 UTC 2021
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Changes for POSIX conformance.
1. exit(1) with an error message on stderr if an I/O error occurs.
1a. To work properly when built into /bin/sh
Module Name:src
Committed By: kre
Date: Wed May 19 22:29:18 UTC 2021
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Don't describe "%%: in the format as a format conversion, it isn't,
it is an escaped literal '%' character. None of what applies to
format
Module Name:src
Committed By: kre
Date: Wed May 19 22:29:18 UTC 2021
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Don't describe "%%: in the format as a format conversion, it isn't,
it is an escaped literal '%' character. None of what applies to
format
Module Name:src
Committed By: christos
Date: Fri Apr 16 18:31:28 UTC 2021
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
make value an int to avoid all the casts and conversion warnings.
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52
Module Name:src
Committed By: christos
Date: Fri Apr 16 18:31:28 UTC 2021
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
make value an int to avoid all the casts and conversion warnings.
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52
Module Name:src
Committed By: christos
Date: Fri Apr 16 15:10:18 UTC 2021
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Change octal and hex parsing to not use strtoul so that they don't handle
'-'. From Martijn van Duren.
Also add a warning if the conversion
Module Name:src
Committed By: christos
Date: Fri Apr 16 15:10:18 UTC 2021
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Change octal and hex parsing to not use strtoul so that they don't handle
'-'. From Martijn van Duren.
Also add a warning if the conversion
Module Name:src
Committed By: uwe
Date: Mon Jun 29 22:50:11 UTC 2020
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Add quotes around command substitution in the example
so that it works regardless of IFS and buts.
Requested by kre@
To generate a diff of this
Module Name:src
Committed By: uwe
Date: Mon Jun 29 22:50:11 UTC 2020
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Add quotes around command substitution in the example
so that it works regardless of IFS and buts.
Requested by kre@
To generate a diff of this
Date:Sun, 28 Jun 2020 22:58:52 +0300
From:Valery Ushakov
Message-ID: <20200628195852.gc20...@pony.stderr.spb.ru>
| but I'd expect people that actually use IFS with octal digits
| or a backslash to also understand and know how to add necessary
| quoting in that
On Sun, Jun 28, 2020 at 21:52:23 +0700, Robert Elz wrote:
> Date:Fri, 26 Jun 2020 22:05:05 +
> From:"Valeriy E. Ushakov"
> Message-ID: <20200626220505.e9030f...@cvs.netbsd.org>
>
> | Modified Files:
> | src/usr.bin/printf: printf.1
> |
> | Log Message:
Date:Fri, 26 Jun 2020 22:05:05 +
From:"Valeriy E. Ushakov"
Message-ID: <20200626220505.e9030f...@cvs.netbsd.org>
| Modified Files:
| src/usr.bin/printf: printf.1
|
| Log Message:
| Drop redundant quoting in the nested printf example.
I don't think
Module Name:src
Committed By: uwe
Date: Fri Jun 26 22:05:05 UTC 2020
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Drop redundant quoting in the nested printf example.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/printf/printf.1
Module Name:src
Committed By: uwe
Date: Fri Jun 26 22:05:05 UTC 2020
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Drop redundant quoting in the nested printf example.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/printf/printf.1
Module Name:src
Committed By: uwe
Date: Fri Jun 26 21:03:56 UTC 2020
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Use ASCII single quote.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.bin/printf/printf.1
Please note that diffs are
Module Name:src
Committed By: uwe
Date: Fri Jun 26 21:03:56 UTC 2020
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Use ASCII single quote.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.bin/printf/printf.1
Please note that diffs are
Module Name:src
Committed By: uwe
Date: Fri Jun 26 20:16:56 UTC 2020
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Try to improve markup to get a nicer PostScript output.
While here edit slightly for consistency: get the octal character
ranges in order, use
Module Name:src
Committed By: uwe
Date: Fri Jun 26 20:16:56 UTC 2020
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Try to improve markup to get a nicer PostScript output.
While here edit slightly for consistency: get the octal character
ranges in order, use
On Tue, 23 Jul 2019 00:31:32 +0700
Robert Elz wrote:
> Date:Mon, 22 Jul 2019 12:23:35 +0200
> From:Tobias Nygren
> Message-ID: <20190722122335.55c0d421a18a082c8d67b...@netbsd.org>
>
> | Please exercise caution when changing established userland behaviour.
> |
Date:Mon, 22 Jul 2019 12:23:35 +0200
From:Tobias Nygren
Message-ID: <20190722122335.55c0d421a18a082c8d67b...@netbsd.org>
| Please exercise caution when changing established userland behaviour.
| This change broke the pkgsrc/lang/openjdk8(1) build.
I stand behind
Module Name:src
Committed By: kre
Date: Mon Jul 22 17:34:31 UTC 2019
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Amend the previous change: we can have (almost) the best of both
worlds, as when the first arg (which should be the format) contains
no %
Module Name:src
Committed By: kre
Date: Mon Jul 22 17:34:31 UTC 2019
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Amend the previous change: we can have (almost) the best of both
worlds, as when the first arg (which should be the format) contains
no %
Date:Mon, 22 Jul 2019 12:23:35 +0200
From:Tobias Nygren
Message-ID: <20190722122335.55c0d421a18a082c8d67b...@netbsd.org>
| This change broke the pkgsrc/lang/openjdk8(1) build.
That it is broken and ought to be patched upstream, it is quite
clear that printf is
On Sun, 21 Jul 2019 15:25:39 +
Robert Elz wrote:
> Module Name: src
> Committed By: kre
> Date: Sun Jul 21 15:25:39 UTC 2019
>
> Modified Files:
> src/usr.bin/printf: printf.c
>
> Log Message:
> Stop assuming that printf handles options in any way at all
> (it doesn't - that
Module Name:src
Committed By: kre
Date: Sun Jul 21 15:25:39 UTC 2019
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Stop assuming that printf handles options in any way at all
(it doesn't - that is, shouldn't) which includes processing -- as an
"end of
Module Name:src
Committed By: kre
Date: Sun Jul 21 15:25:39 UTC 2019
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Stop assuming that printf handles options in any way at all
(it doesn't - that is, shouldn't) which includes processing -- as an
"end of
Actually, I suspect now that what I remember reading was the rationale in the
page in XCU section 4 for the printf command.
kre
Date:Sun, 27 Jan 2019 18:42:22 +0300
From:Valery Ushakov
Message-ID: <20190127154222.gg18...@pony.stderr.spb.ru>
| This was changed in Issue 7. The link to the Austin group
| interpretations repository seems to be broken, though. Where can I
| find the text
On Sun, Jan 27, 2019 at 12:03:09 +, Robert Elz wrote:
> Modified Files:
> src/usr.bin/printf: printf.c
>
> Log Message:
> Revert previous, it was based upon a misreading of the POSIX
> spec. POSIX requires "as if by calling strtod()" which we
> did already ... by calling strtod().
Module Name:src
Committed By: kre
Date: Sun Jan 27 12:03:09 UTC 2019
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Revert previous, it was based upon a misreading of the POSIX
spec. POSIX requires "as if by calling strtod()" which we
did already ... by
Module Name:src
Committed By: kre
Date: Sun Jan 27 12:03:09 UTC 2019
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Revert previous, it was based upon a misreading of the POSIX
spec. POSIX requires "as if by calling strtod()" which we
did already ... by
Module Name:src
Committed By: kre
Date: Sat Jan 26 15:22:54 UTC 2019
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Always convert input numbers (from the command line) in the C
locale, not as set in the environment. Conforms with POSIX spec.
To generate a
Module Name:src
Committed By: kre
Date: Sat Jan 26 15:22:54 UTC 2019
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Always convert input numbers (from the command line) in the C
locale, not as set in the environment. Conforms with POSIX spec.
To generate a
Module Name:src
Committed By: kre
Date: Mon Sep 10 14:42:29 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
A truly ancient bug found by Edgar Fuss
When printf is running builtin in a sh, global vars aren't reset to
0 between invocations. This
Module Name:src
Committed By: kre
Date: Mon Sep 10 14:42:29 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
A truly ancient bug found by Edgar Fuss
When printf is running builtin in a sh, global vars aren't reset to
0 between invocations. This
Module Name:src
Committed By: kre
Date: Tue Sep 4 01:13:50 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Printf's that support \e for escape all seem to also support \E.
Except us. Now we do as well.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: kre
Date: Tue Sep 4 01:13:50 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Printf's that support \e for escape all seem to also support \E.
Except us. Now we do as well.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: kre
Date: Mon Sep 3 04:10:20 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Tighten syntax a little (no more %*4.*2d nonsense).
Include the format collected so far in "missing format char" err message.
Minor KNF and
Module Name:src
Committed By: kre
Date: Mon Sep 3 04:10:20 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Tighten syntax a little (no more %*4.*2d nonsense).
Include the format collected so far in "missing format char" err message.
Minor KNF and
Module Name:src
Committed By: kre
Date: Fri Aug 31 17:27:35 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1 printf.c
Log Message:
PR standards/53563
POSIX requires that signed numbers (strings preceded by '+' or '-')
be allowed as inputs to all of the integer
Module Name:src
Committed By: kre
Date: Fri Aug 31 17:27:35 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1 printf.c
Log Message:
PR standards/53563
POSIX requires that signed numbers (strings preceded by '+' or '-')
be allowed as inputs to all of the integer
Module Name:src
Committed By: kre
Date: Wed Jul 25 15:35:27 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
NFC: More KNF (remove () around returned constants).
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/printf/printf.c
Module Name:src
Committed By: kre
Date: Wed Jul 25 15:35:27 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
NFC: More KNF (remove () around returned constants).
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/printf/printf.c
Module Name:src
Committed By: kre
Date: Wed Jul 25 14:41:52 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
NFC: whitespace & KNF.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.bin/printf/printf.c
Please note that diffs are
Module Name:src
Committed By: kre
Date: Wed Jul 25 14:41:52 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
NFC: whitespace & KNF.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.bin/printf/printf.c
Please note that diffs are
Module Name:src
Committed By: kre
Date: Tue Jul 24 20:58:40 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Add the new formats to the list of format cracters (oops...)
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30
Module Name:src
Committed By: kre
Date: Tue Jul 24 20:58:40 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Add the new formats to the list of format cracters (oops...)
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30
Module Name:src
Committed By: kre
Date: Tue Jul 24 20:49:20 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1 printf.c
Log Message:
Add support for F a and A formats (which go with the eEfgG formats
already supported.)
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: kre
Date: Tue Jul 24 20:49:20 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1 printf.c
Log Message:
Add support for F a and A formats (which go with the eEfgG formats
already supported.)
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: kre
Date: Tue Jul 24 19:49:34 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Correct a typo (off by one (key)) ...
There is no 'w' format, but there is an 'e'
To generate a diff of this commit:
cvs rdiff -u -r1.27
Module Name:src
Committed By: kre
Date: Tue Jul 24 19:49:34 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Correct a typo (off by one (key)) ...
There is no 'w' format, but there is an 'e'
To generate a diff of this commit:
cvs rdiff -u -r1.27
Module Name:src
Committed By: kre
Date: Tue Jul 3 01:56:39 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Avoid printing error messages twice when an invalid
escape sequence (\ sequence) is present in an arg to a %b
conversion.
To generate a diff of
Module Name:src
Committed By: kre
Date: Tue Jul 3 01:56:39 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Avoid printing error messages twice when an invalid
escape sequence (\ sequence) is present in an arg to a %b
conversion.
To generate a diff of
Module Name:src
Committed By: kre
Date: Tue Jul 3 01:54:42 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
>From leot@ on tech-userlevel:
Avoid running off into oblivion when a format string,
or arg to a %b conversion ends in an unescaped backslash.
Module Name:src
Committed By: kre
Date: Tue Jul 3 01:54:42 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
>From leot@ on tech-userlevel:
Avoid running off into oblivion when a format string,
or arg to a %b conversion ends in an unescaped backslash.
Module Name:src
Committed By: wiz
Date: Mon Mar 12 09:29:43 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Remove Tn.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/printf/printf.1
Please note that diffs are not public
Module Name:src
Committed By: wiz
Date: Mon Mar 12 09:29:43 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Remove Tn.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/printf/printf.1
Please note that diffs are not public
Module Name:src
Committed By: dholland
Date: Mon Mar 12 00:42:06 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Explicitly mention use of -- for format strings beginning with -,
per PR 21970.
To generate a diff of this commit:
cvs rdiff -u -r1.25
Module Name:src
Committed By: dholland
Date: Mon Mar 12 00:42:06 UTC 2018
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Explicitly mention use of -- for format strings beginning with -,
per PR 21970.
To generate a diff of this commit:
cvs rdiff -u -r1.25
Module Name:src
Committed By: christos
Date: Tue Jul 16 17:48:22 UTC 2013
Modified Files:
src/usr.bin/printf: Makefile printf.c
Log Message:
WARNS=6
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/printf/Makefile
cvs rdiff -u -r1.35 -r1.36
Module Name:src
Committed By: christos
Date: Tue Jul 16 17:48:22 UTC 2013
Modified Files:
src/usr.bin/printf: Makefile printf.c
Log Message:
WARNS=6
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/printf/Makefile
cvs rdiff -u -r1.35 -r1.36
Module Name:src
Committed By: christos
Date: Tue Mar 15 23:11:49 UTC 2011
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
support grouping format.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.bin/printf/printf.c
Please note that diffs
Module Name:src
Committed By: christos
Date: Tue Mar 15 23:11:49 UTC 2011
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
support grouping format.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.bin/printf/printf.c
Please note that diffs
Module Name:src
Committed By: joerg
Date: Mon Apr 5 21:24:14 UTC 2010
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
\\*(Pm - \*(Pm
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/printf/printf.1
Please note that diffs are not
Module Name:src
Committed By: christos
Date: Tue Oct 13 19:28:31 UTC 2009
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
Avoid segv on printf '%*s' 666, from Maksymilian Arciemowicz
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34
68 matches
Mail list logo