1 /* Trivial unexec for Solaris. */
10 #include "character.h"
16 unexec (const char *new_name
, const char *old_name
)
19 Lisp_Object errstring
;
21 if (! dldump (0, new_name
, RTLD_MEMORY
))
24 data
= Fcons (build_string (new_name
), Qnil
);
25 synchronize_system_messages_locale ();
26 errstring
= code_convert_string_norecord (build_string (dlerror ()),
27 Vlocale_coding_system
, 0);
30 Fcons (build_string ("Cannot unexec"), Fcons (errstring
, data
)));