1 /* Trivial unexec for Solaris. */
15 unexec (const char *new_name
, const char *old_name
)
18 Lisp_Object errstring
;
20 if (! dldump (0, new_name
, RTLD_MEMORY
))
23 data
= list1 (build_string (new_name
));
24 synchronize_system_messages_locale ();
25 errstring
= code_convert_string_norecord (build_string (dlerror ()),
26 Vlocale_coding_system
, 0);
29 Fcons (build_string ("Cannot unexec"), Fcons (errstring
, data
)));