view src/unexsol.c @ 47429:49c23a6bf79f

(x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 and we have non-toolkit scroll bars, return nil for scroll-bar-width.
author Richard M. Stallman <rms@gnu.org>
date Thu, 12 Sep 2002 03:26:23 +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;
}