diff options
author | Johan van Selst <johans@FreeBSD.org> | 2010-06-27 14:52:20 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2010-06-27 14:52:20 +0000 |
commit | 224eb510f9a7984f269b98c4d274fbc38433166f (patch) | |
tree | b8bb9e019e50e802f6db82b20a344b6e729303fa /mail | |
parent | Update to the 20100626 snapshot of GCC 4.6.0. (diff) |
Apply two bug fixes from John Hein:
1) fix 'indent -npro -nip' when compiled with BERKELEY_DEFAULTS
symptom:
command line: unknown option "nhnl"
Note that the "nhnl" above is just luck due to layout by the compiler.
It could be random garbage.
explanation: PRO_SETTINGS lists need to be terminated with two nulls.
2) fix error message for args prefixed with '--',
like 'indent -npro --no-such-arg'
symptom:
command line: unknown option "-no-such-arg"
explanation: the error message uses 'option - 1' instead of
'option - option_length' and -- options have option_length == 2.
Note that the update looks more complicated than just this patch,
because the original port patches were re-aligned as well. John has
submitted his patches upstream as well.
Submitted by: John Hein <jhein@symmetricom.com>
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=257068
Diffstat (limited to 'mail')
0 files changed, 0 insertions, 0 deletions