diff options
author | tijl <tijl@FreeBSD.org> | 2014-06-13 08:44:03 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-06-13 08:44:03 +0000 |
commit | 83266b644d6f03998e47b06e1d4c90ad4348b6b4 (patch) | |
tree | a87de98e5c2aa954e038147994342e762167a5bb /cddl/lib | |
parent | 523c8fffb3d427506590236dd26aea6d9b40939a (diff) | |
download | FreeBSD-src-83266b644d6f03998e47b06e1d4c90ad4348b6b4.zip FreeBSD-src-83266b644d6f03998e47b06e1d4c90ad4348b6b4.tar.gz |
- Make invalids variable local to do_conv such that it prints the number
of invalid characters of the current file instead of an accumulated
value.
- Make do_conv return an error when invalid characters have been found.
Return EXIT_FAILURE from main if any file contained invalid characters.
This matches the behaviour of GNU iconv.
- Mark usage with __dead2 attribute.
- Make the long_options array const.
Diffstat (limited to 'cddl/lib')
0 files changed, 0 insertions, 0 deletions