warning and a chance for recovery. This patch sets the handler to
copy the character, clear the error and proceed instead of bailing
out.
To replicate:
- unset LANG
- Create a file that has ~1000 lines. Put a single bad character
- '\344' in it, around 2/3rds of the file down. Save it.
- export LANG=en_US.UTF-8
- edit the file. Notice there is no error for input conversion,
since nvi reads the file opportunistically.
- :w Boom, the file is truncated.
Alternatively, you can put that character in the first line of the file,
and watch the fireworks. If you like to restore the previous behavior
compile with -DERROR_ON_CONVERT
XXX: Pullup to 6, 5 etc.
FSF, GPG, NIDS, NIPS, OOO, PHP,
RCS (now being doubled: one capitalized entry for the program name,
one non capitalized entry for the general term),
SEO,
SFTP (3 times, with 3 different meanings),
SIR (in the meaning of ``signal-to-interference ratio''),
SPDIF (variant on S/PDIF),
TUI, WOM.
- Removed:
Empty line between the RCS ID and first acronym (not present in
acronyms; may cause parsing issues in the future though, and
causes trouble when sorting the file, so, to keep things
consistent, remove it here instead of adding it in acronyms);
ADP (duplicate),
AWK (also in acronyms),
EOL (in the meaning of ``end of life''; also in acronyms),
FCFS (also in acronyms),
ICE (in the meaning of ``in-circuit emulator''; duplicate),
MP (in the meaning of ``multiprocessor''; combined with the equally
named entry for ``multiprocessing''),
PERL (not an official acronym),
PIN (also in acronyms).
- augment / correct entries (more consistent use of ``{}'' and
``[]'', capitalization, spelling, typos, fix incorrect acronym
translations, quoting, punctuation);
- sort entries, as well as the order within ``{}'' parts;
- remove explanations within ``()'' parts where those are unneccesary
(this is an acronym list, not a dictionary) and, in one case,
correct such explanation;
- white space fixes.
From Bug Hunting.
AM (in a meaning of ``ante meridiem''),
CEO, CUL, JFGI, JFYI, N/A, S/T.
- Removed:
SNR (also in acronyms.comp),
WYSIWYG (also in acronyms.comp).
- augment / correct entries (more consistent use of ``{}'' and
``[]'', capitalization, spelling, typos, fix incorrect acronym
translations, quoting, punctuation);
- sort entries, as well as the order within ``{}'' parts;
- remove explanations within ``()'' parts where those are unneccesary
(this is an acronym list, not a dictionary) and, in one case,
correct such explanation;
- white space fixes.
From Bug Hunting.