* Makefile.am: Replace lib_LTLIBRARIES by noinst_LIBRARIES.
Replace librecode.la by libcode.a and librecode_la by librecode_a.
+2001-07-01 Bruno Haible <haible@clisp.cons.org>
+
+ * task.c (perform_pass_sequence): Call recode_if_nogo before
+ returning false. Otherwise task->error_at_step is not set, and
+ main() dumps core.
+ Reported by David Necas, Konstantin Osipov and Stephen Grecni.
+
2001-01-22 Bruno Haible <haible@clisp.cons.org>
* hash.c: Avoid use of undefined macros HAVE_DECL_MALLOC/FREE.
&& task->error_so_far < task->abort_level;
sequence_index++)
{
+ step = request->sequence_array + sequence_index;
+ subtask->step = step;
+
/* Select the input text for this step. */
if (sequence_index == 0)
subtask->input.file == NULL)
{
recode_perror (NULL, "fopen (%s)", subtask->input.name);
+ recode_if_nogo (RECODE_SYSTEM_ERROR, subtask);
return false;
}
}
subtask->input.file == NULL)
{
recode_perror (outer, "fopen (%s)", input.name);
+ recode_if_nogo (RECODE_SYSTEM_ERROR, subtask);
return false;
}
#endif
subtask->output.file == NULL)
{
recode_perror (outer, "fopen (%s)", subtask->output.name);
+ recode_if_nogo (RECODE_SYSTEM_ERROR, subtask);
return false;
}
#endif
if (subtask->output.file = tmpfile (), subtask->output.file == NULL)
{
recode_perror (NULL, "tmpfile ()");
+ recode_if_nogo (RECODE_SYSTEM_ERROR, subtask);
return false;
}
#endif
subtask->output.file == NULL)
{
recode_perror (NULL, "fopen (%s)", subtask->output.name);
+ recode_if_nogo (RECODE_SYSTEM_ERROR, subtask);
return false;
}
}
/* Execute one recoding step. */
- step = request->sequence_array + sequence_index;
- subtask->step = step;
(*step->transform_routine) (subtask);
/* Post-step clean up. */