(suppress_warning, continue_on_error): Make them global
authorhanda <handa>
Thu, 15 Jan 2009 01:46:30 +0000 (01:46 +0000)
committerhanda <handa>
Thu, 15 Jan 2009 01:46:30 +0000 (01:46 +0000)
commit26247c0f0895de4e8a13b1cb879999a8c2287671
treedb80b8d6779e5cded0065db1c3630607b727e1b7
parentf6ace4b7a2e681787ba99b544f974ec91cbc91a9
(suppress_warning, continue_on_error): Make them global
variables.
(check_invalid_bytes, check_unencoded_chars): Check
suppress_warning and continue_on_error.
(unknown_encoding): New function.
(FATAL_ERROR): Check suppress_warning.
(main): Use unknown_encoding.  Call check_invalid_bytes and
check_unencoded_chars unconditionally.
example/mconv.c