Mercurial > emacs
view src/unexsol.c @ 47302:9f4e1e4aded6
(diff-buffer-with-file): Call diff synchronously, so we don't delete
the temporary file before diff has a chance to read it.
author | Colin Walters <walters@gnu.org> |
---|---|
date | Sat, 07 Sep 2002 21:30:37 +0000 |
parents | 85923ab92112 |
children | 16b9af83e7d3 |
line wrap: on
line source
/* Trivial unexec for Solaris. */ #include <config.h> #include <stdlib.h> #include <dlfcn.h> #include "lisp.h" int unexec (char *new_name, char *old_name, unsigned int data_start, unsigned int bss_start, unsigned int entry_address) { if (dldump (0, new_name, RTLD_MEMORY)) report_file_error ("Cannot unexec", Fcons (build_string (new_name), Qnil)); return 0; }