[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/unexmacosx.c
From: |
YAMAMOTO Mitsuharu |
Subject: |
[Emacs-diffs] Changes to emacs/src/unexmacosx.c |
Date: |
Mon, 01 May 2006 01:13:42 +0000 |
Index: emacs/src/unexmacosx.c
diff -u emacs/src/unexmacosx.c:1.18 emacs/src/unexmacosx.c:1.19
--- emacs/src/unexmacosx.c:1.18 Wed Apr 12 08:10:07 2006
+++ emacs/src/unexmacosx.c Mon May 1 01:13:42 2006
@@ -1021,6 +1021,9 @@
unexec (char *outfile, char *infile, void *start_data, void *start_bss,
void *entry_address)
{
+ if (in_dumped_exec)
+ unexec_error ("Unexec from a dumped executable is not supported.");
+
infd = open (infile, O_RDONLY, 0);
if (infd < 0)
{