(png_load): Ignore png-supplied background color.
[bpt/emacs.git] / src / unexsol.c
index 41ad95e..9f919fa 100644 (file)
@@ -5,6 +5,9 @@
 #include <dlfcn.h>
 
 #include "lisp.h"
+#include "buffer.h"
+#include "charset.h"
+#include "coding.h"
 
 int
 unexec (char *new_name, char *old_name, unsigned int data_start,
@@ -21,11 +24,9 @@ unexec (char *new_name, char *old_name, unsigned int data_start,
   errstring = code_convert_string_norecord (build_string (dlerror ()),
                                            Vlocale_coding_system, 0);
 
-  /* System error messages are capitalized.  Downcase the initial
-     unless it is followed by a slash.  */
-  if (SREF (errstring, 1) != '/')
-    SSET (errstring, 0, DOWNCASE (SREF (errstring, 0)));
-
-  Fsignal (Qfile_error,
+  xsignal (Qfile_error,
           Fcons (build_string ("Cannot unexec"), Fcons (errstring, data)));
 }
+
+/* arch-tag: d8ff72b3-8198-4011-8ef5-011b12027f59
+   (do not change this comment) */