diff -ur recode-3.6/src/argmatch.c recode-3.6.mod/src/argmatch.c
--- recode-3.6/src/argmatch.c 2000-08-03 06:51:15.000000000 +0530
+++ recode-3.6.mod/src/argmatch.c 2008-03-29 19:23:33.899914302 +0530
@@ -159,7 +159,7 @@
? _("invalid argument %s for `%s'")
: _("ambiguous argument %s for `%s'"));
- error (0, 0, format, quotearg_style (ARGMATCH_QUOTING_STYLE, value), context);
+ recode_error (0, 0, format, quotearg_style (ARGMATCH_QUOTING_STYLE, value), context);
}
/* List the valid arguments for argmatch.
diff -ur recode-3.6/src/xmalloc.c recode-3.6.mod/src/xmalloc.c
--- recode-3.6/src/xmalloc.c 2000-08-03 06:51:13.000000000 +0530
+++ recode-3.6.mod/src/xmalloc.c 2008-03-29 19:23:17.362048377 +0530
@@ -70,7 +70,7 @@
{
if (xalloc_fail_func)
(*xalloc_fail_func) ();
- error (xalloc_exit_failure, 0, "%s", _(xalloc_msg_memory_exhausted));
+ recode_error (xalloc_exit_failure, 0, "%s", _(xalloc_msg_memory_exhausted));
/* The `noreturn' cannot be given to error, since it may return if
its first argument is 0. To help compilers understand the
xalloc_die does terminate, call exit. */