Mercurial > emacs
view src/unexfx2800.c @ 24877:f0aa6266cd12
(Finsert_file_contents): In the case of REPALCE, call
del_range_byte instead off del_range_1, set `inserted' to the
number of characters actually inserted.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 22 Jun 1999 23:25:16 +0000 |
parents | 79ea818b6aed |
children |
line wrap: on
line source
/* Unexec for the Alliant FX/2800. */ #include <stdio.h> unexec (new_name, a_name, data_start, bss_start, entry_address) char *new_name, *a_name; unsigned data_start, bss_start, entry_address; { int stat; stat = elf_write_modified_data (a_name, new_name); if (stat < 0) perror ("emacs: elf_write_modified_data"); else if (stat > 0) fprintf (stderr, "Unspecified error from elf_write_modified_data.\n"); }