comparison src/unexec.c @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents b39c14581166
children 4542b72c005e
comparison
equal deleted inserted replaced
770:336a418893b5 771:943eaba38521
1 /* Copyright (C) 1985, 1986, 1987, 1988, 1992, 1993, 1994 1 /* Copyright (C) 1985, 1986, 1987, 1988, 1992, 1993, 1994
2 /* Copyright (C) 2001 Ben Wing.
2 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
3 4
4 This file is part of XEmacs. 5 This file is part of XEmacs.
5 6
6 XEmacs is free software; you can redistribute it and/or modify it 7 XEmacs is free software; you can redistribute it and/or modify it
165 166
166 #ifndef emacs 167 #ifndef emacs
167 #define PERROR(arg) perror (arg); return -1 168 #define PERROR(arg) perror (arg); return -1
168 #else 169 #else
169 #define IN_UNEXEC 170 #define IN_UNEXEC
170 #define DONT_ENCAPSULATE /* we include lisp.h so we want to make sure we
171 don't get filename conversion. The caller
172 of unexec() is assumed to have done this
173 already (it's easier to do it this way than
174 to modify all the unexec modules to ensure
175 that all weirdo functions, such as
176 elf_write_modified_data(), have proper
177 filename conversion applied). */
178 #include <config.h> 171 #include <config.h>
179 #define PERROR(file) report_error (file, new) 172 #define PERROR(file) report_error (file, new)
180 #endif 173 #endif
181 174
182 #if __STDC__ || defined(STDC_HEADERS) 175 #if __STDC__ || defined(STDC_HEADERS)