Lines 31-37
Link Here
|
31 |
#include <unistr.h> |
31 |
#include <unistr.h> |
32 |
|
32 |
|
33 |
/* Gnulib headers. */ |
33 |
/* Gnulib headers. */ |
34 |
#include "error.h" |
|
|
35 |
#include "gettext.h" |
34 |
#include "gettext.h" |
36 |
#define _(String) dgettext (PACKAGE, String) |
35 |
#define _(String) dgettext (PACKAGE, String) |
37 |
#include "progname.h" |
36 |
#include "progname.h" |
Lines 161-169
Link Here
|
161 |
free (output); |
160 |
free (output); |
162 |
} |
161 |
} |
163 |
else |
162 |
else |
164 |
error (EXIT_FAILURE, 0, "%s: %s", |
163 |
perror (idn2_strerror (rc)); |
165 |
args_info.register_given ? "register" : "lookup", |
|
|
166 |
idn2_strerror (rc)); |
167 |
} |
164 |
} |
168 |
|
165 |
|
169 |
int |
166 |
int |
Lines 222-228
Link Here
|
222 |
} |
219 |
} |
223 |
|
220 |
|
224 |
if (ferror (stdin)) |
221 |
if (ferror (stdin)) |
225 |
error (EXIT_FAILURE, errno, "%s", _("input error")); |
222 |
perror (_("input error")); |
226 |
|
223 |
|
227 |
cmdline_parser_free (&args_info); |
224 |
cmdline_parser_free (&args_info); |
228 |
|
225 |
|